> compile NEMU
221220000 张三 Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux 15:39:04 up 5:53, 1 user, load average: 0.92, 0.39, 0.32
This commit is contained in:
@ -6,13 +6,13 @@ void __am_timer_init() {
|
||||
|
||||
void __am_timer_uptime(AM_TIMER_UPTIME_T *uptime) {
|
||||
putch(inb(RTC_ADDR + 0));
|
||||
putch(inb(RTC_ADDR + 1));
|
||||
putch(inb(RTC_ADDR + 2));
|
||||
putch(inb(RTC_ADDR + 3));
|
||||
// putch(inb(RTC_ADDR + 1));
|
||||
// putch(inb(RTC_ADDR + 2));
|
||||
// putch(inb(RTC_ADDR + 3));
|
||||
putch(inb(RTC_ADDR + 4));
|
||||
putch(inb(RTC_ADDR + 5));
|
||||
putch(inb(RTC_ADDR + 6));
|
||||
putch(inb(RTC_ADDR + 7));
|
||||
// putch(inb(RTC_ADDR + 5));
|
||||
// putch(inb(RTC_ADDR + 6));
|
||||
// putch(inb(RTC_ADDR + 7));
|
||||
putch('\n');
|
||||
uptime->us = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user