diff options
Diffstat (limited to 'Kernel/Time')
-rw-r--r-- | Kernel/Time/PIT.cpp | 2 | ||||
-rw-r--r-- | Kernel/Time/RTC.cpp | 2 | ||||
-rw-r--r-- | Kernel/Time/RTC.h | 4 | ||||
-rw-r--r-- | Kernel/Time/TimeManagement.cpp | 1 |
4 files changed, 4 insertions, 5 deletions
diff --git a/Kernel/Time/PIT.cpp b/Kernel/Time/PIT.cpp index a105af6d46..3234a5cf53 100644 --- a/Kernel/Time/PIT.cpp +++ b/Kernel/Time/PIT.cpp @@ -25,12 +25,12 @@ */ #include <Kernel/Arch/i386/CPU.h> +#include <Kernel/IO.h> #include <Kernel/Interrupts/PIC.h> #include <Kernel/Scheduler.h> #include <Kernel/Thread.h> #include <Kernel/Time/PIT.h> #include <Kernel/Time/TimeManagement.h> -#include <Kernel/IO.h> #define IRQ_TIMER 0 namespace Kernel { diff --git a/Kernel/Time/RTC.cpp b/Kernel/Time/RTC.cpp index 7a3f85c987..726c437a64 100644 --- a/Kernel/Time/RTC.cpp +++ b/Kernel/Time/RTC.cpp @@ -26,9 +26,9 @@ #include <Kernel/Arch/i386/CPU.h> #include <Kernel/CMOS.h> +#include <Kernel/IO.h> #include <Kernel/Time/RTC.h> #include <Kernel/Time/TimeManagement.h> -#include <Kernel/IO.h> namespace Kernel { #define IRQ_TIMER 8 diff --git a/Kernel/Time/RTC.h b/Kernel/Time/RTC.h index abdc7033ce..0e211eeb2f 100644 --- a/Kernel/Time/RTC.h +++ b/Kernel/Time/RTC.h @@ -40,8 +40,8 @@ public: virtual bool is_periodic() const override { return true; } virtual bool is_periodic_capable() const override { return true; } - virtual void set_periodic() override {} - virtual void set_non_periodic() override {} + virtual void set_periodic() override { } + virtual void set_non_periodic() override { } virtual void reset_to_default_ticks_per_second() override; virtual bool try_to_set_frequency(size_t frequency) override; diff --git a/Kernel/Time/TimeManagement.cpp b/Kernel/Time/TimeManagement.cpp index 69b0570c22..ab0ed2bd8c 100644 --- a/Kernel/Time/TimeManagement.cpp +++ b/Kernel/Time/TimeManagement.cpp @@ -73,7 +73,6 @@ void TimeManagement::initialize() { ASSERT(!s_the.is_initialized()); s_the.ensure_instance(); - } time_t TimeManagement::seconds_since_boot() const { |