edk2/UefiCpuPkg/Library/BaseRiscV64CpuTimerLib
Akshay Behl 67b744697c UefiCpuPkg: TimerLib support to fetch freq from DT
On RISC-V platforms, just like other platforms, we need to pass various
information from one stage to another (hartid/cmo operations etc).
Also there are some settings like Timer freq which are platform dependent
which use PCDs. Today hartid is extracted through Firmware Context
(custom in mem structure passed from one stage to another). For CMO we
have a features HOB. Going forward we would like to have a standard
mechanism to pass on such information and DT is handy as it can easily
carry all this information (in some cases nodes already exists). This
patch implement timebase frequency extraction from DT.

Signed-off-by: Akshay Behl <cap2k4@rivosinc.com>

Co-authored-by: Dhaval Sharma <dhaval@rivosinc.com>
2025-07-08 18:35:46 +00:00
..
BaseRiscV64CpuTimerLib.inf UefiCpuPkg: TimerLib support to fetch freq from DT 2025-07-08 18:35:46 +00:00
BaseRiscV64CpuTimerLib.uni UefiCpuPkg: Add BaseRiscV64CpuTimerLib library 2023-02-16 05:53:28 +00:00
CpuTimerLib.c UefiCpuPkg: TimerLib support to fetch freq from DT 2025-07-08 18:35:46 +00:00