UefiCpuPkg: CpuTimerDxeRiscV64: Fix incorrect value sent to SbiSetTimer

SbiSetTimer expects core tick value.

Cc: Andrei Warkentin <andrei.warkentin@intel.com>
Signed-off-by: Tuan Phan <tphan@ventanamicro.com>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
This commit is contained in:
Tuan Phan
2023-06-07 10:30:20 -07:00
committed by mergify[bot]
parent aad98d915a
commit 4dba2a9d08
3 changed files with 26 additions and 5 deletions

View File

@@ -21,7 +21,7 @@
#include <Library/IoLib.h>
//
// RISC-V use 100us timer.
// RISC-V use 100ns timer.
// The default timer tick duration is set to 10 ms = 10 * 1000 * 10 100 ns units
//
#define DEFAULT_TIMER_TICK_DURATION 100000