]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
OvmfPkg/Csm/LegacyBootManagerLib: Update to make it build for OVMF
[mirror_edk2.git] / OvmfPkg / Csm / LegacyBootManagerLib / LegacyBootManagerLib.inf
1 ## @file
2 # Legacy Boot Manager module is library for BDS phase.
3 #
4 # Copyright (c) 2011 - 2019, Intel Corporation. All rights reserved.<BR>
5 # SPDX-License-Identifier: BSD-2-Clause-Patent
6 #
7 ##
8
9 [Defines]
10 INF_VERSION = 0x00010005
11 BASE_NAME = LegacyBootManagerLib
12 MODULE_UNI_FILE = LegacyBootManagerLib.uni
13 FILE_GUID = D1BBB810-6A9E-40E0-87CB-65EAD2AA2A09
14 MODULE_TYPE = DXE_DRIVER
15 VERSION_STRING = 1.0
16 LIBRARY_CLASS = NULL|DXE_DRIVER UEFI_APPLICATION
17 CONSTRUCTOR = LegacyBootManagerLibConstructor
18
19 #
20 # The following information is for reference only and not required by the build tools.
21 #
22 # VALID_ARCHITECTURES = IA32 X64 EBC
23 #
24
25 [Sources]
26 LegacyBm.c
27 InternalLegacyBm.h
28
29 [Packages]
30 MdePkg/MdePkg.dec
31 MdeModulePkg/MdeModulePkg.dec
32 OvmfPkg/OvmfPkg.dec
33
34 [LibraryClasses]
35 BaseLib
36 BaseMemoryLib
37 UefiBootServicesTableLib
38 UefiRuntimeServicesTableLib
39 DevicePathLib
40 MemoryAllocationLib
41 UefiLib
42 DebugLib
43 PrintLib
44 PerformanceLib
45 UefiBootManagerLib
46
47 [Guids]
48 gEfiGlobalVariableGuid ## SOMETIMES_PRODUCES ## Variable:L"Boot####" (Boot option variable)
49 ## SOMETIMES_CONSUMES ## Variable:L"BootOrder" (The boot option array)
50 gEfiLegacyDevOrderVariableGuid
51
52 [Protocols]
53 gEfiLegacyBiosProtocolGuid ## SOMETIMES_CONSUMES
54
55 [FeaturePcd]
56
57 [Pcd]