mirror of https://github.com/acidanthera/audk.git
OvmfPkg: Add TdxWorkArea definition
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 Add the TDX work area definition. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Brijesh Singh <brijesh.singh@amd.com> Cc: Erdem Aktas <erdemaktas@google.com> Cc: James Bottomley <jejb@linux.ibm.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Min Xu <min.m.xu@intel.com>
This commit is contained in:
parent
c37cbc030d
commit
580a6b616b
|
@ -71,9 +71,24 @@ typedef struct _SEV_WORK_AREA {
|
|||
SEC_SEV_ES_WORK_AREA SevEsWorkArea;
|
||||
} SEV_WORK_AREA;
|
||||
|
||||
//
|
||||
// The TDX work area definition
|
||||
//
|
||||
typedef struct _SEC_TDX_WORK_AREA {
|
||||
UINT32 PageTableReady;
|
||||
UINT32 Gpaw;
|
||||
UINT64 HobList;
|
||||
} SEC_TDX_WORK_AREA;
|
||||
|
||||
typedef struct _TDX_WORK_AREA {
|
||||
CONFIDENTIAL_COMPUTING_WORK_AREA_HEADER Header;
|
||||
SEC_TDX_WORK_AREA SecTdxWorkArea;
|
||||
} TDX_WORK_AREA;
|
||||
|
||||
typedef union {
|
||||
CONFIDENTIAL_COMPUTING_WORK_AREA_HEADER Header;
|
||||
SEV_WORK_AREA SevWorkArea;
|
||||
TDX_WORK_AREA TdxWorkArea;
|
||||
} OVMF_WORK_AREA;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue