summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Include
diff options
context:
space:
mode:
authorJames Bottomley <jejb@linux.ibm.com>2020-12-15 17:41:45 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-12-18 10:45:52 +0000
commitcaf8b3872ae2ac961c9fdf4d1d2c5d072c207299 (patch)
tree452517717650ba6fb19ec05f5a084823e8fba6d5 /OvmfPkg/Include
parentc487970ac89d1dbb140919ea2f7704722b8afcd7 (diff)
downloadedk2-caf8b3872ae2ac961c9fdf4d1d2c5d072c207299.tar.gz
edk2-caf8b3872ae2ac961c9fdf4d1d2c5d072c207299.tar.bz2
edk2-caf8b3872ae2ac961c9fdf4d1d2c5d072c207299.zip
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>
Diffstat (limited to 'OvmfPkg/Include')
-rw-r--r--OvmfPkg/Include/Guid/SevLaunchSecret.h4
1 files changed, 2 insertions, 2 deletions
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;