kernel - v0.7 beta
+ acpi: add acpi support + lapic: add lapic support + ioapic: add ioapic support + arch/x86_64: add support for "syscall"/"sysret"
This commit is contained in:
parent
4d52bac946
commit
a8e919b033
53 changed files with 772 additions and 331 deletions
|
@ -1,18 +0,0 @@
|
|||
#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__
|
Loading…
Add table
Add a link
Reference in a new issue