[edk2-devel] [PATCH 1/1] EmbeddedPkg/RealTimeClockRuntimeDxe: depend on gEfiVariableArchProtocolGuid
Leif Lindholm
leif at nuviainc.com
Sun Jan 10 01:20:05 UTC 2021
On Fri, Jan 08, 2021 at 20:41:15 +0700, Nhi Pham wrote:
> The EfiGetVariable() is used in the entry of this module. So, the
> variable services are required to be ready before they are used. This
> patch adds the arch protocol gEfiVariableArchProtocolGuid to dependency
> expression to guarantee that this module will be started once the
> variable protocol is available.
>
> Cc: Leif Lindholm <leif at nuviainc.com>
> Cc: Ard Biesheuvel <ard.biesheuvel at arm.com>
> Signed-off-by: Nhi Pham <nhi at os.amperecomputing.com>
Reviewed-by: Leif Lindholm <leif at nuviainc.com>
Pushed as 4ea3a6ded844.
Thanks!
> ---
> EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf b/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
> index fec53c79d335..0a4cd6dae703 100644
> --- a/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
> +++ b/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
> @@ -38,5 +38,5 @@ [Protocols]
> gEfiRealTimeClockArchProtocolGuid
>
> [Depex]
> - TRUE
> + gEfiVariableArchProtocolGuid
>
> --
> 2.17.1
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#70077): https://edk2.groups.io/g/devel/message/70077
Mute This Topic: https://groups.io/mt/79523318/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