]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg: Change SEV Launch Secret API to be UINT64 for base and size
authorJames Bottomley <jejb@linux.ibm.com>
Wed, 16 Dec 2020 01:41:45 +0000 (17:41 -0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 18 Dec 2020 10:45:52 +0000 (10:45 +0000)
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>
OvmfPkg/Include/Guid/SevLaunchSecret.h

index fa5f3830bc2bffbb97ef03ea22be027ce433b988..dfd89646651b65e9e34cc613df04b102ef46eb1a 100644 (file)
@@ -19,8 +19,8 @@
   }\r
 \r
 typedef struct {\r
-  UINT32 Base;\r
-  UINT32 Size;\r
+  UINT64 Base;\r
+  UINT64 Size;\r
 } SEV_LAUNCH_SECRET_LOCATION;\r
 \r
 extern EFI_GUID gSevLaunchSecretGuid;\r