summaryrefslogtreecommitdiffstats
path: root/MdePkg/MdePkg.dsc
diff options
context:
space:
mode:
authorSunil V L <sunilvl@ventanamicro.com>2022-09-07 12:23:32 +0530
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-02-16 05:53:28 +0000
commit76e956547eafc88a46c7620d0fb128d4e10b1c64 (patch)
treeb948f697de0db5ada2a1b06741554c71d56c4bf2 /MdePkg/MdePkg.dsc
parent550f196e823a9f857e0313e632d89b6653946f88 (diff)
downloadedk2-76e956547eafc88a46c7620d0fb128d4e10b1c64.tar.gz
edk2-76e956547eafc88a46c7620d0fb128d4e10b1c64.tar.bz2
edk2-76e956547eafc88a46c7620d0fb128d4e10b1c64.zip
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>
Diffstat (limited to 'MdePkg/MdePkg.dsc')
-rw-r--r--MdePkg/MdePkg.dsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/MdePkg/MdePkg.dsc b/MdePkg/MdePkg.dsc
index 32a852dc46..0ac7618b46 100644
--- a/MdePkg/MdePkg.dsc
+++ b/MdePkg/MdePkg.dsc
@@ -190,4 +190,7 @@
MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf
MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
+[Components.RISCV64]
+ MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.inf
+
[BuildOptions]