I suggest to combine this patch with: "[PATCH v3 07/28] MdeModulePkg: Add Null ProtectedVariable Library"
Best Regards, Hao Wu > -----Original Message----- > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Judah > Vang > Sent: Thursday, June 9, 2022 2:03 PM > To: devel@edk2.groups.io > Cc: Wang, Jian J <jian.j.w...@intel.com>; Gao, Liming > <gaolim...@byosoft.com.cn>; Mistry, Nishant C > <nishant.c.mis...@intel.com> > Subject: [edk2-devel] [PATCH v3 18/28] MdeModulePkg: Reference Null > ProtectedVariableLib > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 > > Make reference to new Null ProtectVariableLib. > The null ProtectedVariableLib is used by default. > > Cc: Jian J Wang <jian.j.w...@intel.com> > Cc: Liming Gao <gaolim...@byosoft.com.cn> > Cc: Nishant C Mistry <nishant.c.mis...@intel.com> > Signed-off-by: Jian J Wang <jian.j.w...@intel.com> > Signed-off-by: Nishant C Mistry <nishant.c.mis...@intel.com> > Signed-off-by: Judah Vang <judah.v...@intel.com> > --- > MdeModulePkg/MdeModulePkg.dsc | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/MdeModulePkg/MdeModulePkg.dsc > b/MdeModulePkg/MdeModulePkg.dsc > index 90a0a7ec4a7c..1aefd242c83d 100644 > --- a/MdeModulePkg/MdeModulePkg.dsc > +++ b/MdeModulePkg/MdeModulePkg.dsc > @@ -2,7 +2,7 @@ > # EFI/PI Reference Module Package for All Architectures > # > # (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR> > -# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR> > +# Copyright (c) 2007 - 2022, Intel Corporation. All rights reserved.<BR> > # Copyright (c) Microsoft Corporation. > # > # SPDX-License-Identifier: BSD-2-Clause-Patent > @@ -104,6 +104,7 @@ [LibraryClasses] > > VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/Va > riablePolicyHelperLib.inf > > MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblo > ckMemoryLibNull.inf > > VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/Base > VariableFlashInfoLib.inf > + > ProtectedVariableLib|MdeModulePkg/Library/ProtectedVariableLibNull/Pro > tectedVariableLibNull.inf > > [LibraryClasses.EBC.PEIM] > IoLib|MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf > @@ -317,6 +318,7 @@ [Components] > > MdeModulePkg/Library/PlatformBootManagerLibNull/PlatformBootManage > rLibNull.inf > MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf > > MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull > .inf > + > MdeModulePkg/Library/ProtectedVariableLibNull/ProtectedVariableLibNull.i > nf > MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf > MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf > MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf > -- > 2.35.1.windows.2 > > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#90475): https://edk2.groups.io/g/devel/message/90475 Mute This Topic: https://groups.io/mt/91640199/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-