diff options
Diffstat (limited to 'src/kernel/cmos.h')
-rw-r--r-- | src/kernel/cmos.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/kernel/cmos.h b/src/kernel/cmos.h new file mode 100644 index 0000000..53ec398 --- /dev/null +++ b/src/kernel/cmos.h @@ -0,0 +1,18 @@ +#ifndef CMOS_H +#define CMOS_H + +#include <stdint.h> + +struct rtc_time { + uint8_t seconds; + uint8_t minutes; + uint8_t hours; + uint8_t day_of_week; + uint8_t day_of_month; + uint8_t month; + uint8_t year; +}; + +struct rtc_time get_rtc_time(); + +#endif
\ No newline at end of file |