Re: [PATCH 2/6 gnumach] separate lapic_enable from lapic_setup

2024-02-05 Thread Samuel Thibault
Hello, Damien Zammit, le lun. 05 févr. 2024 11:33:44 +, a ecrit: > @@ -312,12 +313,10 @@ start_other_cpus(void) > memcpy((void*)phystokv(AP_BOOT_ADDR), (void*) &apboot, > (uint32_t)&apbootend - (uint32_t)&apboot); > > -#ifndef APIC > - lapic_enable(); /* Enable lapic o

[PATCH 2/6 gnumach] separate lapic_enable from lapic_setup

2024-02-05 Thread Damien Zammit
This allows us to init the lapic without necessarily turning on the IOAPIC interrupts. --- i386/i386/apic.c | 15 +-- i386/i386/apic.h | 2 ++ i386/i386/mp_desc.c | 6 +++--- i386/i386at/ioapic.c | 1 + 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/i386/i3