diff options
author | James Bottomley <jejb@linux.ibm.com> | 2020-12-15 17:41:46 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-12-18 10:45:52 +0000 |
commit | 96201ae7bf97c3a2c0ef386110bb93d25e9af1ba (patch) | |
tree | a933c2df706a33828087fc159037d4747a4ad044 /OvmfPkg/AmdSev/SecretDxe | |
parent | caf8b3872ae2ac961c9fdf4d1d2c5d072c207299 (diff) | |
download | edk2-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/AmdSev/SecretDxe')
-rw-r--r-- | OvmfPkg/AmdSev/SecretDxe/SecretDxe.c | 6 | ||||
-rw-r--r-- | OvmfPkg/AmdSev/SecretDxe/SecretDxe.inf | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/OvmfPkg/AmdSev/SecretDxe/SecretDxe.c b/OvmfPkg/AmdSev/SecretDxe/SecretDxe.c index 5385a6aea2..308022b5b2 100644 --- a/OvmfPkg/AmdSev/SecretDxe/SecretDxe.c +++ b/OvmfPkg/AmdSev/SecretDxe/SecretDxe.c @@ -6,9 +6,9 @@ **/
#include <PiDxe.h>
#include <Library/UefiBootServicesTableLib.h>
-#include <Guid/SevLaunchSecret.h>
+#include <Guid/ConfidentialComputingSecret.h>
-STATIC SEV_LAUNCH_SECRET_LOCATION mSecretDxeTable = {
+STATIC CONFIDENTIAL_COMPUTING_SECRET_LOCATION mSecretDxeTable = {
FixedPcdGet32 (PcdSevLaunchSecretBase),
FixedPcdGet32 (PcdSevLaunchSecretSize),
};
@@ -21,7 +21,7 @@ InitializeSecretDxe( )
{
return gBS->InstallConfigurationTable (
- &gSevLaunchSecretGuid,
+ &gConfidentialComputingSecretGuid,
&mSecretDxeTable
);
}
diff --git a/OvmfPkg/AmdSev/SecretDxe/SecretDxe.inf b/OvmfPkg/AmdSev/SecretDxe/SecretDxe.inf index 62ab00a3d3..40bda7ff84 100644 --- a/OvmfPkg/AmdSev/SecretDxe/SecretDxe.inf +++ b/OvmfPkg/AmdSev/SecretDxe/SecretDxe.inf @@ -27,7 +27,7 @@ UefiDriverEntryPoint
[Guids]
- gSevLaunchSecretGuid
+ gConfidentialComputingSecretGuid
[FixedPcd]
gUefiOvmfPkgTokenSpaceGuid.PcdSevLaunchSecretBase
|