]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg/BaseLib: RISC-V: Add few more helper functions
authorSunil V L <sunilvl@ventanamicro.com>
Tue, 6 Sep 2022 05:18:12 +0000 (10:48 +0530)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 16 Feb 2023 05:53:28 +0000 (05:53 +0000)
commit550f196e823a9f857e0313e632d89b6653946f88
treea4e1676020b7716e11f2d249ca918caa4ed47a3a
parent8aeb405466043c7e9ff9fb9a9b65b559094851da
MdePkg/BaseLib: RISC-V: Add few more helper functions

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

Few of the basic helper functions required for any
RISC-V CPU were added in edk2-platforms. To support
qemu virt, they need to be added in BaseLib.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Daniel Schaefer <git@danielschaefer.me>
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>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
MdePkg/Include/Library/BaseLib.h
MdePkg/Library/BaseLib/BaseLib.inf
MdePkg/Library/BaseLib/RiscV64/CpuScratch.S [new file with mode: 0644]
MdePkg/Library/BaseLib/RiscV64/ReadTimer.S [new file with mode: 0644]
MdePkg/Library/BaseLib/RiscV64/RiscVInterrupt.S
MdePkg/Library/BaseLib/RiscV64/RiscVMmu.S [new file with mode: 0644]