| ArvernOS
    | 
#include <stdint.h>| Data Structures | |
| struct | cmos_rtc_t | 
| Functions | |
| void | cmos_init () | 
| cmos_rtc_t | cmos_read_rtc () | 
| uint64_t | cmos_boot_time () | 
| uint64_t | cmos_current_time () | 
| uint64_t cmos_boot_time | ( | ) | 
Returns the boot time in seconds since January 1, 1970 (unix time).
| uint64_t cmos_current_time | ( | ) | 
Returns the current time in seconds.
| void cmos_init | ( | ) | 
Initializes the CMOS Real Time Clock.
| cmos_rtc_t cmos_read_rtc | ( | ) | 
Reads and returns the RTC data from the CMOS.