diff options
Diffstat (limited to 'src/kernel/cmos/rtc.h')
-rw-r--r-- | src/kernel/cmos/rtc.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/kernel/cmos/rtc.h b/src/kernel/cmos/rtc.h new file mode 100644 index 0000000..82ff86c --- /dev/null +++ b/src/kernel/cmos/rtc.h @@ -0,0 +1,15 @@ +#ifndef MELVIX_RTC_H +#define MELVIX_RTC_H + +unsigned char second; +unsigned char minute; +unsigned char hour; +unsigned char day; +unsigned char month; +unsigned int year; + +void read_rtc(); + +void write_time(); + +#endif |