mirror of https://github.com/acidanthera/audk.git
5ad2592ab3
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> |
||
---|---|---|
.. | ||
CpuTimerDxeRiscV64.inf | ||
CpuTimerDxeRiscV64.uni | ||
CpuTimerDxeRiscV64Extra.uni | ||
Timer.c | ||
Timer.h |