From: Zhang, Chao B Date: Thu, 28 Apr 2016 05:12:09 +0000 (+0800) Subject: MdeModulePkg: VarCheckUefiLib: Remove DeployedMode/AuditMode var check logic X-Git-Tag: edk2-stable201903~7161 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=8b73a15cf633109fa46402e58fac14f3cb9feef7;ds=sidebyside MdeModulePkg: VarCheckUefiLib: Remove DeployedMode/AuditMode var check logic Remove DeployedMode & AuditMode Global variable check for Customized Secure Boot feature defined in UEFI2.5 Mantis 1263. The feature has been moved to https://github.com/tianocore/edk2-staging/tree/Customized-Secure-Boot Previous check-in hash is SHA-1: 0f4f6d202a47e3882c6a7fb7ab9e55dda78a8113 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chao Zhang Reviewed-by: El-Haj-Mahmoud Samer Reviewed-by: Fu Siyuan --- diff --git a/MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLibNullClass.c b/MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLibNullClass.c index 1d0bc2a024..8f7126e6ae 100644 --- a/MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLibNullClass.c +++ b/MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLibNullClass.c @@ -1,7 +1,7 @@ /** @file Implementation functions and structures for var check uefi library. -Copyright (c) 2015, Intel Corporation. All rights reserved.
+Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -425,28 +425,6 @@ UEFI_DEFINED_VARIABLE_ENTRY mGlobalVariableList[] = { }, NULL }, - { - EFI_AUDIT_MODE_NAME, - { - VAR_CHECK_VARIABLE_PROPERTY_REVISION, - 0, - VARIABLE_ATTRIBUTE_BS_RT, - sizeof (UINT8), - sizeof (UINT8) - }, - NULL - }, - { - EFI_DEPLOYED_MODE_NAME, - { - VAR_CHECK_VARIABLE_PROPERTY_REVISION, - 0, - VARIABLE_ATTRIBUTE_BS_RT, - sizeof (UINT8), - sizeof (UINT8) - }, - NULL - }, { EFI_KEY_EXCHANGE_KEY_NAME, {