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:
@@ -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
|
||||
|
Reference in New Issue
Block a user