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/PIT.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/PIT.h')
-rw-r--r-- | Kernel/Time/PIT.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Time/PIT.h b/Kernel/Time/PIT.h index b6d2f3ad01..b00eee520e 100644 --- a/Kernel/Time/PIT.h +++ b/Kernel/Time/PIT.h @@ -52,7 +52,7 @@ namespace Kernel { #define BASE_FREQUENCY 1193182 -class PIT final : public HardwareTimer { +class PIT final : public HardwareTimer<IRQHandler> { public: static NonnullRefPtr<PIT> initialize(Function<void(const RegisterState&)>); virtual HardwareTimerType timer_type() const override { return HardwareTimerType::i8253; } |