Open fslongjin opened 1 month ago
acpi pm timer 没有更新墙上时间,并且没有触发软中断。
这会导致:
要实现以上功能,我认为需要设置acpi pm timer的定时器中断,然后在中断里面模仿hpet的处理逻辑去做。
https://wiki.osdev.org/ACPI_Timer
IRQs The ACPI Power Management Timer generates a SCI when the counter has overflown. To know more about SCIs, see FADT#SCI_Interrupt.
https://wiki.osdev.org/FADT#SCI_Interrupt
@1037827920
我正在修复这个bug
目前想了想,感觉应该用这个思路去做,而不是启用acpi pm timer的中断: https://bbs.dragonos.org.cn/t/topic/214
问题
acpi pm timer 没有更新墙上时间,并且没有触发软中断。
这会导致:
要实现以上功能,我认为需要设置acpi pm timer的定时器中断,然后在中断里面模仿hpet的处理逻辑去做。
参考
https://wiki.osdev.org/ACPI_Timer
https://wiki.osdev.org/FADT#SCI_Interrupt