]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg: Add BaseRiscVSbiLib Library for RISC-V
authorSunil V L <sunilvl@ventanamicro.com>
Wed, 7 Sep 2022 06:53:32 +0000 (12:23 +0530)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 16 Feb 2023 05:53:28 +0000 (05:53 +0000)
commit76e956547eafc88a46c7620d0fb128d4e10b1c64
treeb948f697de0db5ada2a1b06741554c71d56c4bf2
parent550f196e823a9f857e0313e632d89b6653946f88
MdePkg: Add BaseRiscVSbiLib Library for RISC-V

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

This library is required to make SBI ecalls from the S-mode EDK2.
This is mostly copied from
edk2-platforms/Silicon/RISC-V/ProcessorPkg/Library/RiscVEdk2SbiLib

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.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>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
MdePkg/Include/Library/BaseRiscVSbiLib.h [new file with mode: 0644]
MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.c [new file with mode: 0644]
MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.inf [new file with mode: 0644]
MdePkg/Library/BaseRiscVSbiLib/RiscVSbiEcall.S [new file with mode: 0644]
MdePkg/MdePkg.dec
MdePkg/MdePkg.dsc