aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/cmos
diff options
context:
space:
mode:
authorMarvin Borner2020-04-18 19:27:00 +0200
committerMarvin Borner2020-04-18 19:27:00 +0200
commitdce9106bcb47ef37a4cf5a221340f4eb438aedfe (patch)
tree2b1ec8efdba9b31510ad6f49a9610df701aab025 /src/kernel/cmos
parentf943fad362a0e17f6e294341b32e49b9afd6e9d7 (diff)
Added fadt flags and ACPI reboot
Diffstat (limited to 'src/kernel/cmos')
-rw-r--r--src/kernel/cmos/rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/cmos/rtc.c b/src/kernel/cmos/rtc.c
index 734c18a..a10f484 100644
--- a/src/kernel/cmos/rtc.c
+++ b/src/kernel/cmos/rtc.c
@@ -24,7 +24,7 @@ uint8_t get_rtc_register(int reg)
void read_rtc()
{
- unsigned int century = 20; // ...
+ uint32_t century = 20;
uint8_t last_second;
uint8_t last_minute;
uint8_t last_hour;