mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +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
Notes:
sideshowbarker
2024-07-19 05:50:00 +09:00
Author: https://github.com/tomuta
Commit: 0bc92c259d
Pull-request: https://github.com/SerenityOS/serenity/pull/2475
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/bugaevc
9 changed files with 463 additions and 108 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue