]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/UefiCpuPkg.dsc
UefiCpuPkg: Add BaseRiscV64CpuTimerLib library
authorSunil V L <sunilvl@ventanamicro.com>
Wed, 5 Oct 2022 06:02:50 +0000 (11:32 +0530)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 16 Feb 2023 05:53:28 +0000 (05:53 +0000)
commit705c3469b543a8907499a3cad30aa256ae8a40c5
tree68d7808d1f414d2c968e386a874e9a187caabf7f
parentcbac2c74e803af7c6af1607d503906e3b2c46a2a
UefiCpuPkg: Add BaseRiscV64CpuTimerLib library

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4076

Add the RISC-V instance of the TimerLib.

This is mostly copied from
edk2-platforms/Silicon/RISC-V/ProcessorPkg/Library/RiscVTimerLib

Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Daniel Schaefer <git@danielschaefer.me>
Cc: Abner Chang <abner.chang@amd.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Acked-by: Abner Chang <abner.chang@amd.com>
Reviewed-by: Andrei Warkentin <andrei.warkentin@intel.com>
Acked-by: Ray Ni <ray.ni@Intel.com>
UefiCpuPkg/Library/BaseRiscV64CpuTimerLib/BaseRiscV64CpuTimerLib.inf [new file with mode: 0644]
UefiCpuPkg/Library/BaseRiscV64CpuTimerLib/BaseRiscV64CpuTimerLib.uni [new file with mode: 0644]
UefiCpuPkg/Library/BaseRiscV64CpuTimerLib/CpuTimerLib.c [new file with mode: 0644]
UefiCpuPkg/UefiCpuPkg.dsc