summaryrefslogtreecommitdiff
path: root/Kernel/Interrupts/IOAPIC.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/IOAPIC.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/IOAPIC.cpp')
-rw-r--r--Kernel/Interrupts/IOAPIC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Interrupts/IOAPIC.cpp b/Kernel/Interrupts/IOAPIC.cpp
index e2b9641ccd..c2a5a5c86a 100644
--- a/Kernel/Interrupts/IOAPIC.cpp
+++ b/Kernel/Interrupts/IOAPIC.cpp
@@ -297,7 +297,7 @@ void IOAPIC::eoi(const GenericInterruptHandler& handler) const
ASSERT(!is_hard_disabled());
ASSERT(handler.interrupt_number() >= gsi_base() && handler.interrupt_number() < interrupt_vectors_count());
ASSERT(handler.type() != HandlerType::SpuriousInterruptHandler);
- APIC::eoi();
+ APIC::the().eoi();
}
u16 IOAPIC::get_isr() const