summaryrefslogtreecommitdiff
path: root/src/kernel/cmos.h
blob: 53ec39881bd4c355458bf0019ce07978290a7813 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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