> 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:09:32 up  5:23,  1 user,  load average: 0.28, 0.49, 0.46
This commit is contained in:
tracer-ics2023
2024-09-12 15:09:33 +08:00
committed by zzy
parent 89df319f70
commit fcaa56da9a

View File

@ -5,8 +5,7 @@ void __am_timer_init() {
}
void __am_timer_uptime(AM_TIMER_UPTIME_T *uptime) {
uptime->us = (uint64_t)inl(RTC_ADDR + 4) ;// & (uint64_t)inl(RTC_ADDR + 4) << 32;
putch((uint8_t)uptime->us);
uptime->us = 10000000000 ;// & (uint64_t)inl(RTC_ADDR + 4) << 32;
}
void __am_timer_rtc(AM_TIMER_RTC_T *rtc) {