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@nuviainc.com> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
		
			
				
	
	
		
			43 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| #/** @file
 | |
| #  Real Time Clock Architectural Protocol Driver as defined in PI
 | |
| #
 | |
| #  Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>
 | |
| #  Copyright (c) 2017, Linaro, Ltd. All rights reserved.<BR>
 | |
| #  Copyright (c) 2021, Ampere Computing LLC. All rights reserved.<BR>
 | |
| #
 | |
| #  SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| #
 | |
| #
 | |
| #**/
 | |
| 
 | |
| [Defines]
 | |
|   INF_VERSION                    = 0x00010005
 | |
|   BASE_NAME                      = RealTimeClock
 | |
|   FILE_GUID                      = B336F62D-4135-4A55-AE4E-4971BBF0885D
 | |
|   MODULE_TYPE                    = DXE_RUNTIME_DRIVER
 | |
|   VERSION_STRING                 = 1.0
 | |
| 
 | |
|   ENTRY_POINT                    = InitializeRealTimeClock
 | |
| 
 | |
| [Sources.common]
 | |
|   RealTimeClock.c
 | |
| 
 | |
| [Packages]
 | |
|   MdePkg/MdePkg.dec
 | |
|   EmbeddedPkg/EmbeddedPkg.dec
 | |
| 
 | |
| [LibraryClasses]
 | |
|   DebugLib
 | |
|   RealTimeClockLib
 | |
|   TimeBaseLib
 | |
|   UefiBootServicesTableLib
 | |
|   UefiDriverEntryPoint
 | |
|   UefiRuntimeLib
 | |
| 
 | |
| [Protocols]
 | |
|   gEfiRealTimeClockArchProtocolGuid
 | |
| 
 | |
| [Depex]
 | |
|   gEfiVariableArchProtocolGuid
 | |
| 
 |