summaryrefslogtreecommitdiffstats
path: root/EmulatorPkg/PlatformSmbiosDxe
diff options
context:
space:
mode:
authorAndrei Warkentin <andrei.warkentin@intel.com>2023-02-17 18:44:51 -0600
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-03-08 18:10:34 +0000
commit5ad2592ab370b6c9030d1239940046bdeec9c2c6 (patch)
tree295a62746bf284070455f9bf6d1a998b5cea0ef9 /EmulatorPkg/PlatformSmbiosDxe
parentdb0a3087a535f54f3697e0d658a53bb78d57ce70 (diff)
downloadedk2-5ad2592ab370b6c9030d1239940046bdeec9c2c6.tar.gz
edk2-5ad2592ab370b6c9030d1239940046bdeec9c2c6.tar.bz2
edk2-5ad2592ab370b6c9030d1239940046bdeec9c2c6.zip
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>
Diffstat (limited to 'EmulatorPkg/PlatformSmbiosDxe')
0 files changed, 0 insertions, 0 deletions