diff options
author | Maciej Zygmanowski <sppmacd@pm.me> | 2021-01-24 12:25:03 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-26 21:14:44 +0100 |
commit | 645657865d17eb4b7257946562e5047c98026aca (patch) | |
tree | 5716fcc271f356ed6868de5d73ecaefe6724727c /Kernel/Time | |
parent | 0a61924727082ba5f4d53b19392ba3dd66880bf8 (diff) | |
download | serenity-645657865d17eb4b7257946562e5047c98026aca.zip |
Kernel: Add RTC as fallback entropy source if HPET is not found
Diffstat (limited to 'Kernel/Time')
-rw-r--r-- | Kernel/Time/TimeManagement.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/Time/TimeManagement.h b/Kernel/Time/TimeManagement.h index bed0fd281d..f6c40aee1e 100644 --- a/Kernel/Time/TimeManagement.h +++ b/Kernel/Time/TimeManagement.h @@ -80,6 +80,8 @@ public: timespec remaining_epoch_time_adjustment() const { return m_remaining_epoch_time_adjustment; } void set_remaining_epoch_time_adjustment(const timespec& adjustment) { m_remaining_epoch_time_adjustment = adjustment; } + bool can_query_precise_time() const { return m_can_query_precise_time; } + private: bool probe_and_set_legacy_hardware_timers(); bool probe_and_set_non_legacy_hardware_timers(); |