Enable local APIC interrupts
This commit is contained in:
parent
2bba0dfca4
commit
400a7b22db
@ -57,5 +57,8 @@ struct apic
|
||||
PT_WRITABLE | PT_WRITE_THROUGH | PT_DISABLE_CACHE | PT_NO_EXECUTE);
|
||||
klog.writefln("LAPIC ID: 0x%08x", apic_registers.lapic_id.value);
|
||||
klog.writefln("LAPIC version: 0x%08x", apic_registers.lapic_version.value);
|
||||
/* Enable local APIC to receive interrupts and set spurious interrupt
|
||||
* vector to 0xFF. */
|
||||
apic_registers.spurious_interrupt_vector.value = 0x1FFu;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user