1 | ## @file
|
---|
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.
|
---|
5 | #
|
---|
6 | # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
---|
7 | # Copyright (c) 2022, Google LLC. All rights reserved.<BR>
|
---|
8 | #
|
---|
9 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
10 | #
|
---|
11 | #
|
---|
12 | ##
|
---|
13 |
|
---|
14 | [Defines]
|
---|
15 | INF_VERSION = 1.29
|
---|
16 | BASE_NAME = UefiDriverEntryPointFwCfgOverrideLib
|
---|
17 | FILE_GUID = 73349b79-f148-43b8-b24e-9098a6f3e1db
|
---|
18 | MODULE_TYPE = UEFI_DRIVER
|
---|
19 | VERSION_STRING = 1.0
|
---|
20 | LIBRARY_CLASS = UefiDriverEntryPoint|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_DRIVER
|
---|
21 |
|
---|
22 | [Sources]
|
---|
23 | UefiDriverEntryPointFwCfgOverrideLib.c
|
---|
24 |
|
---|
25 | [Packages]
|
---|
26 | MdePkg/MdePkg.dec
|
---|
27 | OvmfPkg/OvmfPkg.dec
|
---|
28 |
|
---|
29 | [LibraryClasses]
|
---|
30 | BaseLib
|
---|
31 | DebugLib
|
---|
32 | QemuFwCfgSimpleParserLib
|
---|
33 | UefiBootServicesTableLib
|
---|
34 |
|
---|
35 | [Protocols]
|
---|
36 | gEfiLoadedImageProtocolGuid ## SOMETIMES_CONSUMES
|
---|
37 |
|
---|
38 | [FixedPcd]
|
---|
39 | gUefiOvmfPkgTokenSpaceGuid.PcdEntryPointOverrideFwCfgVarName
|
---|
40 |
|
---|
41 | #
|
---|
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.
|
---|
44 | #
|
---|
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
|
---|