From 07c49d5d402429ef4dbe1da5f8371a0a07bcc279 Mon Sep 17 00:00:00 2001 From: Ceping Sun Date: Tue, 27 Feb 2024 05:18:31 +0800 Subject: 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 Cc: Michael D Kinney Cc: Erdem Aktas Cc: James Bottomley Cc: Jiewen Yao Cc: Min Xu Cc: Tom Lendacky Cc: Michael Roth Cc: Isaku Yamahata Signed-off-by: Ceping Sun Reviewed-by: Liming Gao --- MdePkg/Library/BaseLib/X64/TdVmcall.nasm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3