mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
apic: fix ipl
This commit is contained in:
@@ -190,7 +190,7 @@ void arch_apic_initap() {
|
||||
writelapic(APIC_LVT_LINT0 + 0x10 * current->lint, (nmiisr->id & 0xff) | LVT_DELIVERY_NMI | (current->flags << 12));
|
||||
}
|
||||
|
||||
_cpu()->ipl = IPL_BASE;
|
||||
_cpu()->ipl = IPL_NORMAL;
|
||||
interrupt_set(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user