summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Include
diff options
context:
space:
mode:
authorJames Bottomley <jejb@linux.ibm.com>2020-12-15 17:41:46 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-12-18 10:45:52 +0000
commit96201ae7bf97c3a2c0ef386110bb93d25e9af1ba (patch)
treea933c2df706a33828087fc159037d4747a4ad044 /OvmfPkg/Include
parentcaf8b3872ae2ac961c9fdf4d1d2c5d072c207299 (diff)
downloadedk2-96201ae7bf97c3a2c0ef386110bb93d25e9af1ba.tar.gz
edk2-96201ae7bf97c3a2c0ef386110bb93d25e9af1ba.tar.bz2
edk2-96201ae7bf97c3a2c0ef386110bb93d25e9af1ba.zip
OvmfPkg/AmdSev/SecretDxe: make secret location naming generic
It is anticipated that this part of the code will work for both Intel TDX and AMD SEV, so remove the SEV specific naming and change to ConfidentialComputing as a more architecture neutral prefix. Apart from the symbol rename, there are no code changes. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Message-Id: <20201216014146.2229-3-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/ConfidentialComputingSecret.h (renamed from OvmfPkg/Include/Guid/SevLaunchSecret.h)10
1 files changed, 5 insertions, 5 deletions
diff --git a/OvmfPkg/Include/Guid/SevLaunchSecret.h b/OvmfPkg/Include/Guid/ConfidentialComputingSecret.h
index dfd8964665..7026fc5b08 100644
--- a/OvmfPkg/Include/Guid/SevLaunchSecret.h
+++ b/OvmfPkg/Include/Guid/ConfidentialComputingSecret.h
@@ -6,12 +6,12 @@
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
-#ifndef SEV_LAUNCH_SECRET_H_
-#define SEV_LAUNCH_SECRET_H_
+#ifndef CONFIDENTIAL_COMPUTING_SECRET_H_
+#define CONFIDENTIAL_COMPUTING_SECRET_H_
#include <Uefi/UefiBaseType.h>
-#define SEV_LAUNCH_SECRET_GUID \
+#define CONFIDENTIAL_COMPUTING_SECRET_GUID \
{ 0xadf956ad, \
0xe98c, \
0x484c, \
@@ -21,8 +21,8 @@
typedef struct {
UINT64 Base;
UINT64 Size;
-} SEV_LAUNCH_SECRET_LOCATION;
+} CONFIDENTIAL_COMPUTING_SECRET_LOCATION;
-extern EFI_GUID gSevLaunchSecretGuid;
+extern EFI_GUID gConfidentialComputingSecretGuid;
#endif // SEV_LAUNCH_SECRET_H_