Kernel: Rename TimerHandler to SystemTimer

I changed SystemTimer to only handle the "best" supported timer
it can initialize.
This commit is contained in:
Bananymous
2023-08-04 15:50:11 +03:00
parent ca5a097ef5
commit c732297623
13 changed files with 34 additions and 34 deletions

View File

@@ -15,11 +15,11 @@ namespace Kernel
virtual timespec time_since_boot() const = 0;
};
class TimerHandler : public Timer
class SystemTimer : public Timer
{
public:
static void initialize();
static TimerHandler& get();
static SystemTimer& get();
static bool is_initialized();
virtual uint64_t ms_since_boot() const override;
@@ -27,10 +27,10 @@ namespace Kernel
void sleep(uint64_t) const;
uint64_t get_unix_timestamp();
uint64_t get_unix_timestamp() const;
private:
TimerHandler() = default;
SystemTimer() = default;
void initialize_timers();