diff options
author | Tom <tomut@yahoo.com> | 2020-06-04 09:10:16 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-04 18:15:23 +0200 |
commit | 0bc92c259dc9cb4d69d5c2ec84924343dc324016 (patch) | |
tree | 47972cf4e93ca768c10a4227b2dc35a3ff1bee7f /Kernel/Interrupts/InterruptManagement.cpp | |
parent | 93b9832faced7dc816ca1a9f3552488fc35037d1 (diff) | |
download | serenity-0bc92c259dc9cb4d69d5c2ec84924343dc324016.zip |
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.
Diffstat (limited to 'Kernel/Interrupts/InterruptManagement.cpp')
-rw-r--r-- | Kernel/Interrupts/InterruptManagement.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Kernel/Interrupts/InterruptManagement.cpp b/Kernel/Interrupts/InterruptManagement.cpp index ac39cc576e..db24edf8bd 100644 --- a/Kernel/Interrupts/InterruptManagement.cpp +++ b/Kernel/Interrupts/InterruptManagement.cpp @@ -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(); |