diff options
author | Tom <tomut@yahoo.com> | 2020-10-25 09:13:47 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-10-25 21:18:35 +0100 |
commit | fe615e601a95033c160b464728d8a0c195739f72 (patch) | |
tree | d9a60984028a82984ba7cb372ee2d76638826e75 /Kernel/Time/RTC.h | |
parent | 9d347352a1a6c47867bc8340a13d69c8272952d9 (diff) | |
download | serenity-fe615e601a95033c160b464728d8a0c195739f72.zip |
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.
Diffstat (limited to 'Kernel/Time/RTC.h')
-rw-r--r-- | Kernel/Time/RTC.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Time/RTC.h b/Kernel/Time/RTC.h index 0e211eeb2f..e2427dff01 100644 --- a/Kernel/Time/RTC.h +++ b/Kernel/Time/RTC.h @@ -31,7 +31,7 @@ #include <Kernel/Time/HardwareTimer.h> namespace Kernel { -class RealTimeClock final : public HardwareTimer { +class RealTimeClock final : public HardwareTimer<IRQHandler> { public: static NonnullRefPtr<RealTimeClock> create(Function<void(const RegisterState&)> callback); virtual HardwareTimerType timer_type() const override { return HardwareTimerType::RTC; } |