diff options
author | Sunil V L <sunilvl@ventanamicro.com> | 2022-09-07 12:23:32 +0530 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-02-16 05:53:28 +0000 |
commit | 76e956547eafc88a46c7620d0fb128d4e10b1c64 (patch) | |
tree | b948f697de0db5ada2a1b06741554c71d56c4bf2 /MdePkg/MdePkg.dsc | |
parent | 550f196e823a9f857e0313e632d89b6653946f88 (diff) | |
download | edk2-76e956547eafc88a46c7620d0fb128d4e10b1c64.zip edk2-76e956547eafc88a46c7620d0fb128d4e10b1c64.tar.gz edk2-76e956547eafc88a46c7620d0fb128d4e10b1c64.tar.bz2 |
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.dsc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MdePkg/MdePkg.dsc b/MdePkg/MdePkg.dsc index 32a852d..0ac7618 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]
|