From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web09.3679.1623381480799236645 for ; Thu, 10 Jun 2021 20:18:01 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Fri, 11 Jun 2021 11:17:56 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , Cc: "'Jian J Wang'" , "'Hao A Wu'" , "'Zhichao Gao'" , "'Ray Ni'" References: <20210610234800.3341-1-kenlautner3@gmail.com> <20210610234800.3341-2-kenlautner3@gmail.com> In-Reply-To: <20210610234800.3341-2-kenlautner3@gmail.com> Subject: =?UTF-8?B?5Zue5aSNOiBbUEFUQ0ggdjIgMi8yXSBGaXhlZCBMaWJyYXJ5IHJlZmVyZW5jZXM=?= Date: Fri, 11 Jun 2021 11:17:59 +0800 Message-ID: <002301d75e70$614b4570$23e1d050$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQJtqCentN6jgXoN8EfdmHWMPHEMPAIUMkkkqdDufXA= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Ken: Please combine them into one commit. You just need to update the first patch.=20 Thanks Liming > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: kenlautner3@gmail.com > =B7=A2=CB=CD=CA=B1=BC=E4: 2021=C4=EA6=D4=C211=C8=D5 7:48 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Jian J Wang ; Hao A Wu > ; Zhichao Gao ; Ray Ni > ; Liming Gao > =D6=F7=CC=E2: [PATCH v2 2/2] Fixed Library references >=20 > From: Ken Lautner >=20 > Changed BdsEntry.c to use Variable Policy instead of Variable Lock > as Variable Lock will be Deprecated eventually >=20 > Cc: Jian J Wang > Cc: Hao A Wu > Cc: Zhichao Gao > Cc: Ray Ni > Cc: Liming Gao > Signed-off-by: Kenneth Lautner > --- > MdeModulePkg/Universal/BdsDxe/BdsDxe.inf | 1 - > MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 2 +- > 2 files changed, 1 insertion(+), 2 deletions(-) >=20 > diff --git a/MdeModulePkg/Universal/BdsDxe/BdsDxe.inf > b/MdeModulePkg/Universal/BdsDxe/BdsDxe.inf > index 76ff6a0f5fc3..5bac635def93 100644 > --- a/MdeModulePkg/Universal/BdsDxe/BdsDxe.inf > +++ b/MdeModulePkg/Universal/BdsDxe/BdsDxe.inf > @@ -50,7 +50,6 @@ > BaseMemoryLib >=20 > DebugLib >=20 > UefiBootManagerLib >=20 > - VariablePolicyLib >=20 > VariablePolicyHelperLib >=20 > PlatformBootManagerLib >=20 > PcdLib >=20 > diff --git a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c > b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c > index 13723bee299b..13c10bdc5bf8 100644 > --- a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c > +++ b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c > @@ -15,7 +15,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent > #include "Bds.h" >=20 > #include "Language.h" >=20 > #include "HwErrRecSupport.h" >=20 > -#include "library/VariablePolicyHelperLib.h" >=20 > +#include >=20 >=20 >=20 > #define SET_BOOT_OPTION_SUPPORT_KEY_COUNT(a, c) { \ >=20 > (a) =3D ((a) & ~EFI_BOOT_OPTION_SUPPORT_COUNT) | (((c) << > LowBitSet32 (EFI_BOOT_OPTION_SUPPORT_COUNT)) & > EFI_BOOT_OPTION_SUPPORT_COUNT); \ >=20 > -- > 2.31.1.windows.1