mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:47:34 +00:00
Kernel: Detect APs and boot them into protected mode
This isn't fully working, the APs pretend like they're fully initialized and are just halted permanently for now.
This commit is contained in:
parent
93b9832fac
commit
0bc92c259d
9 changed files with 463 additions and 108 deletions
|
@ -188,8 +188,7 @@ void InterruptManagement::switch_to_ioapic_mode()
|
|||
dbg() << "Interrupts: Detected " << irq_controller->model();
|
||||
}
|
||||
}
|
||||
APIC::init();
|
||||
APIC::enable_bsp();
|
||||
APIC::the().init_bsp();
|
||||
|
||||
if (auto mp_parser = MultiProcessorParser::autodetect()) {
|
||||
m_pci_interrupt_overrides = mp_parser->get_pci_interrupt_redirections();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue