audk/UefiCpuPkg/CpuTimerDxeRiscV64
Andrei Warkentin 5ad2592ab3 UefiCpuPkg: CpuTimerDxeRiscV64: fix tick duration accounting
The TimerDxe implementation doesn't account for the physical
time passed due to timer handler execution or (perhaps even
more importantly) time spent with interrupts masked.

Other implementations (e.g. like the Arm one) do. If the
timer tick is always incremented at a fixed rate, then
you can slow down UEFI's perception of time by running
long sections of code in a critical section.

Cc: Daniel Schaefer <git@danielschaefer.me>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
Signed-off-by: Andrei Warkentin <andrei.warkentin@intel.com>
2023-03-08 18:10:34 +00:00
..
CpuTimerDxeRiscV64.inf
CpuTimerDxeRiscV64.uni
CpuTimerDxeRiscV64Extra.uni
Timer.c UefiCpuPkg: CpuTimerDxeRiscV64: fix tick duration accounting 2023-03-08 18:10:34 +00:00
Timer.h