Revision: 19186
http://sourceforge.net/p/edk2/code/19186
Author: vanjeff
Date: 2015-12-10 07:16:34 +0000 (Thu, 10 Dec 2015)
Log Message:
-----------
MdePkg: Add AuditMode/DeployedMode name definition
Add AuditMode/DeployedMode definition from Enable Secure Boot feature defined
in UEFI2.5 Mantis 1263.
https://mantis.uefi.org/mantis/view.php?id=1263
(Sync patch r19130 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <[email protected]>
Reviewed-by: Zeng Star <[email protected]>
Reviewed-by: Long Qin <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/19130
Modified Paths:
--------------
branches/UDK2015/MdePkg/Include/Guid/GlobalVariable.h
branches/UDK2015/MdePkg/Include/Guid/ImageAuthentication.h
Modified: branches/UDK2015/MdePkg/Include/Guid/GlobalVariable.h
===================================================================
--- branches/UDK2015/MdePkg/Include/Guid/GlobalVariable.h 2015-12-10
07:15:53 UTC (rev 19185)
+++ branches/UDK2015/MdePkg/Include/Guid/GlobalVariable.h 2015-12-10
07:16:34 UTC (rev 19186)
@@ -126,6 +126,20 @@
///
#define EFI_SETUP_MODE_NAME L"SetupMode"
///
+/// Whether the system is operating in audit mode (1) or not (0).
+/// All other values are reserved. Should be treated as read-only except when
DeployedMode is 0.
+/// Always becomes read-only after ExitBootServices() is called.
+/// Its attribute is BS+RT.
+///
+#define EFI_AUDIT_MODE_NAME L"AuditMode"
+///
+/// Whether the system is operating in deployed mode (1) or not (0).
+/// All other values are reserved. Should be treated as read-only when its
value is 1.
+/// Always becomes read-only after ExitBootServices() is called.
+/// Its attribute is BS+RT.
+///
+#define EFI_DEPLOYED_MODE_NAME L"DeployedMode"
+///
/// The Key Exchange Key Signature Database.
/// Its attribute is NV+BS+RT+AT.
///
Modified: branches/UDK2015/MdePkg/Include/Guid/ImageAuthentication.h
===================================================================
--- branches/UDK2015/MdePkg/Include/Guid/ImageAuthentication.h 2015-12-10
07:15:53 UTC (rev 19185)
+++ branches/UDK2015/MdePkg/Include/Guid/ImageAuthentication.h 2015-12-10
07:16:34 UTC (rev 19186)
@@ -43,10 +43,13 @@
#define SECURE_BOOT_MODE_ENABLE 1
#define SECURE_BOOT_MODE_DISABLE 0
-#define SETUP_MODE 1
-#define USER_MODE 0
+#define SETUP_MODE_ENABLE 1
+#define SETUP_MODE_DISABLE 0
+#define DEPLOYED_MODE_ENABLE 1
+#define DEPLOYED_MODE_DISABLE 0
+#define AUDIT_MODE_ENABLE 1
+#define AUDIT_MODE_DISABLE 0
-
//***********************************************************************
// Signature Database
//***********************************************************************
------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits