summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorTuan Phan <tphan@ventanamicro.com>2024-03-14 13:19:14 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-04-08 05:43:59 +0000
commitf1203a409978071ed1ae1ee69c3a9f73b2ab25db (patch)
tree40b1e3ea586eb2331324777d50cd78144327eaef /MdePkg
parentc98c14576f1a93519402a8e2f4736b479ad6007c (diff)
downloadedk2-f1203a409978071ed1ae1ee69c3a9f73b2ab25db.tar.gz
edk2-f1203a409978071ed1ae1ee69c3a9f73b2ab25db.tar.bz2
edk2-f1203a409978071ed1ae1ee69c3a9f73b2ab25db.zip
MdePkg.dec: RISC-V: Define override bit for Svpbmt extension
Define the BIT 2 as the override bit for Svpbmt extension. This will be used by RISC-V MMU library to support EFI_MEMORY_UC and EFI_MEMORY_WC. Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Signed-off-by: Tuan Phan <tphan@ventanamicro.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/MdePkg.dec2
1 files changed, 2 insertions, 0 deletions
diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec
index 0c18e1decd..bf94549cbf 100644
--- a/MdePkg/MdePkg.dec
+++ b/MdePkg/MdePkg.dec
@@ -2413,6 +2413,8 @@
# previous stage has feature enabled and user wants to disable it.
# BIT 1 = Supervisor Time Compare (Sstc). This bit is relevant only if
# previous stage has feature enabled and user wants to disable it.
+ # BIT 2 = Page-Based Memory Types (Pbmt). This bit is relevant only if
+ # previous stage has feature enabled and user wants to disable it.
#
gEfiMdePkgTokenSpaceGuid.PcdRiscVFeatureOverride|0xFFFFFFFFFFFFFFFF|UINT64|0x69