summaryrefslogtreecommitdiff
path: root/Kernel/Interrupts/InterruptManagement.cpp
diff options
context:
space:
mode:
authorTom <tomut@yahoo.com>2020-06-04 09:10:16 -0600
committerAndreas Kling <kling@serenityos.org>2020-06-04 18:15:23 +0200
commit0bc92c259dc9cb4d69d5c2ec84924343dc324016 (patch)
tree47972cf4e93ca768c10a4227b2dc35a3ff1bee7f /Kernel/Interrupts/InterruptManagement.cpp
parent93b9832faced7dc816ca1a9f3552488fc35037d1 (diff)
downloadserenity-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.cpp3
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();