[edk2-devel] [PATCH] MdeModulePkg: Add BootDiscoveryPolicyOld variable.

Grzegorz Bernacki posted 1 patch 2 years, 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/edk2 tags/patchew/20210818073600.3571701-1-gjb@semihalf.com
MdeModulePkg/Include/Guid/BootDiscoveryPolicy.h | 1 +
1 file changed, 1 insertion(+)
[edk2-devel] [PATCH] MdeModulePkg: Add BootDiscoveryPolicyOld variable.
Posted by Grzegorz Bernacki 2 years, 8 months ago
This variable is needed to track the change to
BootDiscoveryPolicy variable. Boot options should
be refreshed only if BootDiscoveryPolicy has been
changed.

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/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH] MdeModulePkg: Add BootDiscoveryPolicyOld variable.
Posted by Samer El-Haj-Mahmoud 2 years, 8 months ago
Reviewed-By: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>

> -----Original Message-----
> From: Grzegorz Bernacki <gjb@semihalf.com>
> Sent: Wednesday, August 18, 2021 3:36 AM
> To: devel@edk2.groups.io
> Cc: jian.j.wang@intel.com; hao.a.wu@intel.com; Samer El-Haj-Mahmoud
> <Samer.El-Haj-Mahmoud@arm.com>; Sunny Wang
> <Sunny.Wang@arm.com>; mw@semihalf.com; upstream@semihalf.com;
> Grzegorz Bernacki <gjb@semihalf.com>
> Subject: [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.
>
> 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

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79510): https://edk2.groups.io/g/devel/message/79510
Mute This Topic: https://groups.io/mt/84967542/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH] MdeModulePkg: Add BootDiscoveryPolicyOld variable.
Posted by Wu, Hao A 2 years, 8 months ago
> -----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]
> -=-=-=-=-=-=
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79620): https://edk2.groups.io/g/devel/message/79620
Mute This Topic: https://groups.io/mt/84967542/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH] MdeModulePkg: Add BootDiscoveryPolicyOld variable.
Posted by Wu, Hao A 2 years, 8 months ago
Pushed via:
PR - https://github.com/tianocore/edk2/pull/1929
Commit - https://github.com/tianocore/edk2/commit/dc995ce9069b683d55fdb8d51235cb5920db8041

Best Regards,
Hao Wu

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Wu, Hao
> A
> Sent: Friday, August 20, 2021 1:24 PM
> To: devel@edk2.groups.io; gjb@semihalf.com
> Cc: Wang, Jian J <jian.j.wang@intel.com>; Samer.El-Haj-
> Mahmoud@arm.com; sunny.Wang@arm.com; mw@semihalf.com;
> upstream@semihalf.com
> Subject: Re: [edk2-devel] [PATCH] MdeModulePkg: Add
> BootDiscoveryPolicyOld variable.
> 
> > -----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]
> > -=-=-=-=-=-=
> >
> 
> 
> 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79934): https://edk2.groups.io/g/devel/message/79934
Mute This Topic: https://groups.io/mt/84967542/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-