[edk2-devel] 回复: [PATCH v2 2/2] Fixed Library references

gaoliming gaoliming at byosoft.com.cn
Fri Jun 11 03:17:59 UTC 2021


Ken:
  Please combine them into one commit. You just need to update the first
patch. 

Thanks
Liming
> -----邮件原件-----
> 发件人: kenlautner3 at gmail.com <kenlautner3 at gmail.com>
> 发送时间: 2021年6月11日 7:48
> 收件人: devel at edk2.groups.io
> 抄送: Jian J Wang <jian.j.wang at intel.com>; Hao A Wu
> <hao.a.wu at intel.com>; Zhichao Gao <zhichao.gao at intel.com>; Ray Ni
> <ray.ni at intel.com>; Liming Gao <gaoliming at byosoft.com.cn>
> 主题: [PATCH v2 2/2] Fixed Library references
> 
> From: Ken Lautner <kenlautner3 at gmail.com>
> 
> Changed BdsEntry.c to use Variable Policy instead of Variable Lock
> as Variable Lock will be Deprecated eventually
> 
> Cc: Jian J Wang <jian.j.wang at intel.com>
> Cc: Hao A Wu <hao.a.wu at intel.com>
> Cc: Zhichao Gao <zhichao.gao at intel.com>
> Cc: Ray Ni <ray.ni at intel.com>
> Cc: Liming Gao <gaoliming at byosoft.com.cn>
> Signed-off-by: Kenneth Lautner <kenlautner3 at gmail.com>
> ---
>  MdeModulePkg/Universal/BdsDxe/BdsDxe.inf | 1 -
>  MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 2 +-
>  2 files changed, 1 insertion(+), 2 deletions(-)
> 
> 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
> 
>    DebugLib
> 
>    UefiBootManagerLib
> 
> -  VariablePolicyLib
> 
>    VariablePolicyHelperLib
> 
>    PlatformBootManagerLib
> 
>    PcdLib
> 
> 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"
> 
>  #include "Language.h"
> 
>  #include "HwErrRecSupport.h"
> 
> -#include "library/VariablePolicyHelperLib.h"
> 
> +#include <Library/VariablePolicyHelperLib.h>
> 
> 
> 
>  #define SET_BOOT_OPTION_SUPPORT_KEY_COUNT(a, c) {  \
> 
>        (a) = ((a) & ~EFI_BOOT_OPTION_SUPPORT_COUNT) | (((c) <<
> LowBitSet32 (EFI_BOOT_OPTION_SUPPORT_COUNT)) &
> EFI_BOOT_OPTION_SUPPORT_COUNT); \
> 
> --
> 2.31.1.windows.1





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#76360): https://edk2.groups.io/g/devel/message/76360
Mute This Topic: https://groups.io/mt/83461130/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list