summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCeping Sun <cepingx.sun@intel.com>2024-02-27 05:18:31 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-03-19 09:42:06 +0000
commit07c49d5d402429ef4dbe1da5f8371a0a07bcc279 (patch)
tree62048c7a0a266aaafc5b1c75415a2e4ca89642a6
parent3840c35e34d1c992268092b6366e26f2acc55a75 (diff)
downloadedk2-07c49d5d402429ef4dbe1da5f8371a0a07bcc279.tar.gz
edk2-07c49d5d402429ef4dbe1da5f8371a0a07bcc279.tar.bz2
edk2-07c49d5d402429ef4dbe1da5f8371a0a07bcc279.zip
MdePkg/BaseLib: Update TDVMCALL_EXPOSE_REGS_MASK
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4696 Refer to the [GHCI] spec, TDVF should clear the BIT5 for RBP in the mask. Reference: [GHCI]: TDX Guest-Host-Communication Interface v1.5 https://cdrdv2.intel.com/v1/dl/getContent/726792 Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Erdem Aktas <erdemaktas@google.com> Cc: James Bottomley <jejb@linux.ibm.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Min Xu <min.m.xu@intel.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Michael Roth <michael.roth@amd.com> Cc: Isaku Yamahata <isaku.yamahata@intel.com> Signed-off-by: Ceping Sun <cepingx.sun@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
-rw-r--r--MdePkg/Library/BaseLib/X64/TdVmcall.nasm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/X64/TdVmcall.nasm b/MdePkg/Library/BaseLib/X64/TdVmcall.nasm
index 8dd9bfcbfa..b20724a370 100644
--- a/MdePkg/Library/BaseLib/X64/TdVmcall.nasm
+++ b/MdePkg/Library/BaseLib/X64/TdVmcall.nasm
@@ -9,7 +9,7 @@
DEFAULT REL
SECTION .text
-%define TDVMCALL_EXPOSE_REGS_MASK 0xffec
+%define TDVMCALL_EXPOSE_REGS_MASK 0xffcc
%define TDVMCALL 0x0
%macro tdcall 0