Re: [PATCH] MdeModulePkg: Add BootDiscoveryPolicyOld variable.


Wu, Hao A
 

-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of
Grzegorz Bernacki
Sent: Wednesday, August 18, 2021 3:36 PM
To: devel@edk2.groups.io
Cc: Wang, Jian J <jian.j.wang@intel.com>; Wu, Hao A <hao.a.wu@intel.com>;
Samer.El-Haj-Mahmoud@arm.com; sunny.Wang@arm.com;
mw@semihalf.com; upstream@semihalf.com; Grzegorz Bernacki
<gjb@semihalf.com>
Subject: [edk2-devel] [PATCH] MdeModulePkg: Add BootDiscoveryPolicyOld
variable.

This variable is needed to track the change to BootDiscoveryPolicy variable.
Boot options should be refreshed only if BootDiscoveryPolicy has been
changed.

Acked-by: Hao A Wu <hao.a.wu@intel.com>
Will merge after the upcoming stable tag.

Best Regards,
Hao Wu



Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
---
MdeModulePkg/Include/Guid/BootDiscoveryPolicy.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/MdeModulePkg/Include/Guid/BootDiscoveryPolicy.h
b/MdeModulePkg/Include/Guid/BootDiscoveryPolicy.h
index 06e38921a0..f4e3b03ba1 100644
--- a/MdeModulePkg/Include/Guid/BootDiscoveryPolicy.h
+++ b/MdeModulePkg/Include/Guid/BootDiscoveryPolicy.h
@@ -18,5 +18,6 @@
#define BOOT_DISCOVERY_POLICY_MGR_FORMSET_GUID { 0x5b6f7107,
0xbb3c, 0x4660, { 0x92, 0xcd, 0x54, 0x26, 0x90, 0x28, 0x0b, 0xbd } } #define
BOOT_DISCOVERY_POLICY_VAR L"BootDiscoveryPolicy"+#define
BOOT_DISCOVERY_POLICY_OLD_VAR L"BootDiscoveryPolicyOld" #endif--
2.25.1



-=-=-=-=-=-=
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79471): https://edk2.groups.io/g/devel/message/79471
Mute This Topic: https://groups.io/mt/84967542/1768737
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [hao.a.wu@intel.com]
-=-=-=-=-=-=

Join devel@edk2.groups.io to automatically receive all group messages.