From caf8b3872ae2ac961c9fdf4d1d2c5d072c207299 Mon Sep 17 00:00:00 2001 From: James Bottomley Date: Tue, 15 Dec 2020 17:41:45 -0800 Subject: 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 Message-Id: <20201216014146.2229-2-jejb@linux.ibm.com> Reviewed-by: Jiewen Yao Reviewed-by: Laszlo Ersek --- OvmfPkg/Include/Guid/SevLaunchSecret.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OvmfPkg/Include') diff --git a/OvmfPkg/Include/Guid/SevLaunchSecret.h b/OvmfPkg/Include/Guid/SevLaunchSecret.h index fa5f3830bc..dfd8964665 100644 --- a/OvmfPkg/Include/Guid/SevLaunchSecret.h +++ b/OvmfPkg/Include/Guid/SevLaunchSecret.h @@ -19,8 +19,8 @@ } typedef struct { - UINT32 Base; - UINT32 Size; + UINT64 Base; + UINT64 Size; } SEV_LAUNCH_SECRET_LOCATION; extern EFI_GUID gSevLaunchSecretGuid; -- cgit v1.2.3