summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524>2012-11-28 06:59:13 +0000
committersfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524>2012-11-28 06:59:13 +0000
commitc11d47b80bc5a52e58410e0e8b5e3d0ca5ce6edc (patch)
tree08f9552d231b5ea7da54e60f7d4ac54a26554080
parent53c76a6478d106c89c4ba48599a8f19b74480d13 (diff)
downloadedk2-platforms-c11d47b80bc5a52e58410e0e8b5e3d0ca5ce6edc.tar.xz
Move the declaration of gEfiCertDbGuid to the package's Include folder.
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> Reviewed-by: Dong Guo <guo.dong@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13975 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--SecurityPkg/Include/Guid/AuthenticatedVariableFormat.h4
-rw-r--r--SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/SecurityPkg/Include/Guid/AuthenticatedVariableFormat.h b/SecurityPkg/Include/Guid/AuthenticatedVariableFormat.h
index 46420406a7..6ffd9f17e3 100644
--- a/SecurityPkg/Include/Guid/AuthenticatedVariableFormat.h
+++ b/SecurityPkg/Include/Guid/AuthenticatedVariableFormat.h
@@ -27,6 +27,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
extern EFI_GUID gEfiAuthenticatedVariableGuid;
extern EFI_GUID gEfiSecureBootEnableDisableGuid;
+extern EFI_GUID gEfiCertDbGuid;
+extern EFI_GUID gEfiCustomModeEnableGuid;
///
/// "SecureBootEnable" variable for the Secure Boot feature enable/disable.
@@ -37,8 +39,6 @@ extern EFI_GUID gEfiSecureBootEnableDisableGuid;
#define SECURE_BOOT_ENABLE 1
#define SECURE_BOOT_DISABLE 0
-extern EFI_GUID gEfiCustomModeEnableGuid;
-
///
/// "CustomMode" variable for two Secure Boot modes feature: "Custom" and "Standard".
/// Standard Secure Boot mode is the default mode as UEFI Spec's description.
diff --git a/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.h b/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.h
index 1f62383aed..510030d705 100644
--- a/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.h
+++ b/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.h
@@ -51,8 +51,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define EFI_CERT_DB_NAME L"certdb"
#define MAX_CERTDB_SIZE (FixedPcdGet32 (PcdMaxVariableSize) - sizeof (VARIABLE_HEADER) - sizeof (EFI_CERT_DB_NAME))
-extern EFI_GUID gEfiCertDbGuid;
-
///
/// Struct to record signature requirement defined by UEFI spec.
/// For SigHeaderSize and SigDataSize, ((UINT32) ~0) means NO exact length requirement for this field.