apic: fix ipl

This commit is contained in:
Matheus
2023-05-04 18:57:26 -03:00
parent 92c39645e5
commit bdeed524d1
+1 -1
View File
@@ -190,7 +190,7 @@ void arch_apic_initap() {
writelapic(APIC_LVT_LINT0 + 0x10 * current->lint, (nmiisr->id & 0xff) | LVT_DELIVERY_NMI | (current->flags << 12)); 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); interrupt_set(true);
} }