Kernel: HPET is now used in legacy mode when PIC is forced

This commit is contained in:
2023-08-10 22:01:30 +03:00
parent b0c8a9cdc4
commit 5d0a6e7b08
5 changed files with 41 additions and 29 deletions

View File

@@ -18,7 +18,7 @@ namespace Kernel
class SystemTimer : public Timer
{
public:
static void initialize();
static void initialize(bool force_pic);
static SystemTimer& get();
static bool is_initialized();
@@ -32,7 +32,7 @@ namespace Kernel
private:
SystemTimer() = default;
void initialize_timers();
void initialize_timers(bool force_pic);
private:
uint64_t m_boot_time { 0 };