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

Kenneth Lautner kenlautner3 at gmail.com
Thu Jun 10 23:48:00 UTC 2021


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 (#76365): https://edk2.groups.io/g/devel/message/76365
Mute This Topic: https://groups.io/mt/83462237/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