mirror of https://github.com/acidanthera/audk.git
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 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chao Zhang <chao.b.zhang@intel.com> Reviewed-by: Zeng Star <star.zeng@intel.com> Reviewed-by: Long Qin <qin.long@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19130 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
1ffe7cc562
commit
79e7b64727
|
@ -126,6 +126,20 @@ extern EFI_GUID gEfiGlobalVariableGuid;
|
||||||
///
|
///
|
||||||
#define EFI_SETUP_MODE_NAME L"SetupMode"
|
#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.
|
/// The Key Exchange Key Signature Database.
|
||||||
/// Its attribute is NV+BS+RT+AT.
|
/// Its attribute is NV+BS+RT+AT.
|
||||||
///
|
///
|
||||||
|
|
|
@ -43,9 +43,12 @@
|
||||||
|
|
||||||
#define SECURE_BOOT_MODE_ENABLE 1
|
#define SECURE_BOOT_MODE_ENABLE 1
|
||||||
#define SECURE_BOOT_MODE_DISABLE 0
|
#define SECURE_BOOT_MODE_DISABLE 0
|
||||||
#define SETUP_MODE 1
|
#define SETUP_MODE_ENABLE 1
|
||||||
#define USER_MODE 0
|
#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
|
// Signature Database
|
||||||
|
|
Loading…
Reference in New Issue