public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] MdeModulePkg: Add BootDiscoveryPolicyOld variable.
@ 2021-08-18  7:36 Grzegorz Bernacki
  2021-08-18 19:43 ` Samer El-Haj-Mahmoud
  2021-08-20  5:24 ` [edk2-devel] " Wu, Hao A
  0 siblings, 2 replies; 4+ messages in thread
From: Grzegorz Bernacki @ 2021-08-18  7:36 UTC (permalink / raw)
  To: devel
  Cc: jian.j.wang, hao.a.wu, Samer.El-Haj-Mahmoud, sunny.Wang, mw,
	upstream, Grzegorz Bernacki

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] MdeModulePkg: Add BootDiscoveryPolicyOld variable.
  2021-08-18  7:36 [PATCH] MdeModulePkg: Add BootDiscoveryPolicyOld variable Grzegorz Bernacki
@ 2021-08-18 19:43 ` Samer El-Haj-Mahmoud
  2021-08-20  5:24 ` [edk2-devel] " Wu, Hao A
  1 sibling, 0 replies; 4+ messages in thread
From: Samer El-Haj-Mahmoud @ 2021-08-18 19:43 UTC (permalink / raw)
  To: Grzegorz Bernacki, devel@edk2.groups.io
  Cc: jian.j.wang@intel.com, hao.a.wu@intel.com, Sunny Wang,
	mw@semihalf.com, upstream@semihalf.com, Samer El-Haj-Mahmoud

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] [PATCH] MdeModulePkg: Add BootDiscoveryPolicyOld variable.
  2021-08-18  7:36 [PATCH] MdeModulePkg: Add BootDiscoveryPolicyOld variable Grzegorz Bernacki
  2021-08-18 19:43 ` Samer El-Haj-Mahmoud
@ 2021-08-20  5:24 ` Wu, Hao A
  2021-08-30  2:46   ` Wu, Hao A
  1 sibling, 1 reply; 4+ messages in thread
From: Wu, Hao A @ 2021-08-20  5:24 UTC (permalink / raw)
  To: devel@edk2.groups.io, gjb@semihalf.com
  Cc: Wang, Jian J, Samer.El-Haj-Mahmoud@arm.com, sunny.Wang@arm.com,
	mw@semihalf.com, upstream@semihalf.com

> -----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]
> -=-=-=-=-=-=
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] [PATCH] MdeModulePkg: Add BootDiscoveryPolicyOld variable.
  2021-08-20  5:24 ` [edk2-devel] " Wu, Hao A
@ 2021-08-30  2:46   ` Wu, Hao A
  0 siblings, 0 replies; 4+ messages in thread
From: Wu, Hao A @ 2021-08-30  2:46 UTC (permalink / raw)
  To: devel@edk2.groups.io, Wu, Hao A, gjb@semihalf.com
  Cc: Wang, Jian J, Samer.El-Haj-Mahmoud@arm.com, sunny.Wang@arm.com,
	mw@semihalf.com, upstream@semihalf.com

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]
> > -=-=-=-=-=-=
> >
> 
> 
> 
> 
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-30  2:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-18  7:36 [PATCH] MdeModulePkg: Add BootDiscoveryPolicyOld variable Grzegorz Bernacki
2021-08-18 19:43 ` Samer El-Haj-Mahmoud
2021-08-20  5:24 ` [edk2-devel] " Wu, Hao A
2021-08-30  2:46   ` Wu, Hao A

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox