mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 15:08:21 +00:00
interrupt: move initial interrupt_set(true) from apic.c to idt.c
This commit is contained in:
@@ -226,8 +226,6 @@ void arch_apic_initap() {
|
||||
if (current->acpiid == _cpu()->acpiid || current->acpiid == 0xff)
|
||||
writelapic(APIC_LVT_LINT0 + 0x10 * current->lint, (nmiisr->id & 0xff) | LVT_DELIVERY_NMI | (current->flags << 12));
|
||||
}
|
||||
|
||||
interrupt_set(true);
|
||||
}
|
||||
|
||||
void arch_apic_eoi() {
|
||||
|
||||
Reference in New Issue
Block a user