+ acpi: add acpi support + lapic: add lapic support + ioapic: add ioapic support + arch/x86_64: add support for "syscall"/"sysret"
18 lines
No EOL
313 B
C
18 lines
No EOL
313 B
C
#ifndef __TIME_H
|
|
#define __TIME_H
|
|
|
|
#define RTC_COMMAND 0x70
|
|
#define RTC_DATA 0x71
|
|
#define RTC_STATUS 0x0B
|
|
|
|
#define RTC_SECONDS 0x00
|
|
#define RTC_MINUTES 0x02
|
|
#define RTC_HOURS 0x04
|
|
#define RTC_DAY_OF_WEEK 0x06
|
|
#define RTC_DAY 0x07
|
|
#define RTC_MONTH 0x08
|
|
#define RTC_YEAR 0x09
|
|
|
|
int rtc_init();
|
|
|
|
#endif // __TIME_H__
|