/** @file\r
Header file for NV data structure definition.\r
\r
-Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
#define LABEL_DBT_DELETE 0x1203\r
#define LABEL_END 0xffff\r
\r
+#define KEY_TRANS_SECURE_BOOT_MODE 0x2000\r
+\r
#define SECURE_BOOT_MAX_ATTEMPTS_NUM 255\r
\r
#define CONFIG_OPTION_OFFSET 0x2000\r
#define SECURE_BOOT_GUID_SIZE 36\r
#define SECURE_BOOT_GUID_STORAGE_SIZE 37\r
\r
+#define SECURE_BOOT_MODE_USER_MODE 0\r
+#define SECURE_BOOT_MODE_SETUP_MODE 1\r
+#define SECURE_BOOT_MODE_AUDIT_MODE 2\r
+#define SECURE_BOOT_MODE_DEPLOYED_MODE 3\r
+\r
//\r
// Nv Data structure referenced by IFR\r
//\r
CHAR16 SignatureGuid[SECURE_BOOT_GUID_STORAGE_SIZE];\r
BOOLEAN PhysicalPresent; // If a Physical Present User\r
UINT8 SecureBootMode; // Secure Boot Mode: Standard Or Custom\r
+ UINT8 CurSecureBootMode; // Current SecureBoot Mode SetupMode/UserMode/AuditMode/DeployedMode\r
+ UINT8 TransSecureBootMode; // Trans Next SecureBoot Mode\r
BOOLEAN DeletePk;\r
BOOLEAN HasPk; // If Pk is existed it is true\r
BOOLEAN AlwaysRevocation; // If the certificate is always revoked. Revocation time is hidden\r
EFI_HII_TIME RevocationTime; // The revocation time of the certificate\r
} SECUREBOOT_CONFIGURATION;\r
\r
-#endif
\ No newline at end of file
+#endif\r