mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:37:46 +00:00
Kernel: Set up and calibrate APIC timer, and enable timer on all CPUs
This enables the APIC timer on all CPUs, which means Scheduler::timer_tick is now called on all CPUs independently. We still don't do anything on the APs as it instantly crashes due to a number of other problems.
This commit is contained in:
parent
9d347352a1
commit
fe615e601a
14 changed files with 478 additions and 70 deletions
|
@ -65,6 +65,8 @@ protected:
|
|||
void change_interrupt_number(u8 number);
|
||||
GenericInterruptHandler(u8 interrupt_number, bool disable_remap = false);
|
||||
|
||||
void disable_remap() { m_disable_remap = true; }
|
||||
|
||||
private:
|
||||
size_t m_invoking_count { 0 };
|
||||
u8 m_interrupt_number { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue