]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Include/Guid/AuthenticatedVariableFormat.h
Enable/Disable Secured Boot by 'Secure Boot Configuration' Page which is under Setup...
[mirror_edk2.git] / SecurityPkg / Include / Guid / AuthenticatedVariableFormat.h
index 245339c3df502326276a1ceacdfbd8cbeb079992..7ff469779c05a070ad84b779e1a9e6ecb3891f55 100644 (file)
@@ -21,7 +21,19 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define EFI_AUTHENTICATED_VARIABLE_GUID \\r
   { 0xaaf32c78, 0x947b, 0x439a, { 0xa1, 0x80, 0x2e, 0x14, 0x4e, 0xc3, 0x77, 0x92 } }\r
 \r
+#define EFI_SECURE_BOOT_ENABLE_DISABLE \\r
+  { 0xf0a30bc7, 0xaf08, 0x4556, { 0x99, 0xc4, 0x0, 0x10, 0x9, 0xc9, 0x3a, 0x44 } }\r
+\r
+\r
 extern EFI_GUID gEfiAuthenticatedVariableGuid;\r
+extern EFI_GUID gEfiSecureBootEnableDisableGuid;\r
+\r
+///\r
+/// "SecureBootEnable" variable for the Secure boot feature enable/disable.\r
+///\r
+#define EFI_SECURE_BOOT_ENABLE_NAME      L"SecureBootEnable"\r
+#define SECURE_BOOT_ENABLE               1\r
+#define SECURE_BOOT_DISABLE              0\r
 \r
 ///\r
 /// Alignment of variable name and data, according to the architecture:\r