OvmfPkg: Change SEV Launch Secret API to be UINT64 for base and size

Although the SEV secret location must always be below 4GB, the same is
not necessarily true for Intel TDX, so change the configuration table
to contain a pair of UINT64 parameters instead of UINT32 so that any X64
location can be represented.

Signed-off-by: James Bottomley <jejb@linux.ibm.com>
Message-Id: <20201216014146.2229-2-jejb@linux.ibm.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
James Bottomley 2020-12-15 17:41:45 -08:00 committed by mergify[bot]
parent c487970ac8
commit caf8b3872a
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@
}
typedef struct {
UINT32 Base;
UINT32 Size;
UINT64 Base;
UINT64 Size;
} SEV_LAUNCH_SECRET_LOCATION;
extern EFI_GUID gSevLaunchSecretGuid;