Reimplement arch alarm timer on top of oneshot driver framework

The benefit include:

1. Simplify the implementation
2. Support both tick and tickless automatically
3. No time drift in tickless mode
4. Support critmon arch API automatically
This commit is contained in:
Xiang Xiao
2020-02-06 22:45:05 +08:00
committed by Gregory Nutt
parent 20a9a62fdf
commit d0d4b7a531
9 changed files with 189 additions and 575 deletions
+2
View File
@@ -72,6 +72,8 @@ config ARCH_SIM
select ARCH_HAVE_POWEROFF
select ARCH_HAVE_TESTSET
select ARCH_NOINTC
select ALARM_ARCH
select ONESHOT
select SERIAL_CONSOLE
---help---
Linux/Cywgin user-mode simulation.