2 # Entry point to a EFI/DXE driver. This version is specific to QEMU, and ties
3 # dispatch of the driver in question on the value of a QEMU fw_cfg boolean
4 # variable which is referenced by name via a fixed pointer PCD.
6 # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
7 # Copyright (c) 2022, Google LLC. All rights reserved.<BR>
9 # SPDX-License-Identifier: BSD-2-Clause-Patent
16 BASE_NAME = UefiDriverEntryPointFwCfgOverrideLib
17 FILE_GUID = 73349b79-f148-43b8-b24e-9098a6f3e1db
18 MODULE_TYPE = UEFI_DRIVER
20 LIBRARY_CLASS = UefiDriverEntryPoint|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_DRIVER
23 UefiDriverEntryPointFwCfgOverrideLib.c
32 QemuFwCfgSimpleParserLib
33 UefiBootServicesTableLib
36 gEfiLoadedImageProtocolGuid ## SOMETIMES_CONSUMES
39 gUefiOvmfPkgTokenSpaceGuid.PcdEntryPointOverrideFwCfgVarName
42 # For UEFI drivers, these architectural protocols defined in PI 1.0 spec need
43 # to be appended and merged to the final dependency section.
45 [Depex.common.UEFI_DRIVER]
46 gEfiBdsArchProtocolGuid AND
47 gEfiCpuArchProtocolGuid AND
48 gEfiMetronomeArchProtocolGuid AND
49 gEfiMonotonicCounterArchProtocolGuid AND
50 gEfiRealTimeClockArchProtocolGuid AND
51 gEfiResetArchProtocolGuid AND
52 gEfiRuntimeArchProtocolGuid AND
53 gEfiSecurityArchProtocolGuid AND
54 gEfiTimerArchProtocolGuid AND
55 gEfiVariableWriteArchProtocolGuid AND
56 gEfiVariableArchProtocolGuid AND
57 gEfiWatchdogTimerArchProtocolGuid