summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCeping Sun <cepingx.sun@intel.com>2023-11-08 19:38:26 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-11-09 17:15:39 +0000
commit212cf07aaa149160d37ce3c383a13d012ca45c01 (patch)
tree282b37180b505b0cb92349499acde0464d2d919d
parent68e37f457881d222c68834920f4ffd6f668a2b77 (diff)
downloadedk2-212cf07aaa149160d37ce3c383a13d012ca45c01.tar.gz
edk2-212cf07aaa149160d37ce3c383a13d012ca45c01.tar.bz2
edk2-212cf07aaa149160d37ce3c383a13d012ca45c01.zip
MdePkg/Tdx.h: Add TDVMCALL_STATUS_RETRY
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4572 TDVMCALL_STATUS_RETRY is defined in GHCI spec section 2.4.1. Reference: [GHCI]: TDX Guest-Host-Communication Interface v1.0 https://cdrdv2.intel.com/v1/dl/getContent/726790 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: Min Xu <min.m.xu@intel.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Michael Roth <michael.roth@amd.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Ceping Sun <cepingx.sun@intel.com>
-rw-r--r--MdePkg/Include/IndustryStandard/Tdx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/MdePkg/Include/IndustryStandard/Tdx.h b/MdePkg/Include/IndustryStandard/Tdx.h
index 81df136184..2662761883 100644
--- a/MdePkg/Include/IndustryStandard/Tdx.h
+++ b/MdePkg/Include/IndustryStandard/Tdx.h
@@ -103,6 +103,8 @@
#define TDVMCALL_REPORT_FATAL_ERR 0x10003
#define TDVMCALL_SETUP_EVENT_NOTIFY 0x10004
+#define TDVMCALL_STATUS_RETRY 0x1
+
#pragma pack(1)
typedef struct {
UINT64 Data[6];