diff options
author | Marvin Borner | 2019-10-28 15:49:45 +0100 |
---|---|---|
committer | Marvin Borner | 2019-10-28 15:49:45 +0100 |
commit | 644d9da7c883e7bef4598254fa0679a3cea5f001 (patch) | |
tree | f7633f6aec9e5e8257bf29d1c89329b2354889de /src/kernel/cmos/rtc.h | |
parent | 00cfe0fbe1c80f535ff31beba598770064f13f12 (diff) |
Added cmos based rtc date & time
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 |