MdeModulePkg/CapsuleLib: Free the buffer returned by GetVariable2 API
[mirror_edk2.git] / MdeModulePkg / Library / UefiBootManagerLib / UefiBootManagerLib.inf
1 ## @file
2 # Define and produce general Boot Manager related interfaces.
3 #
4 # The implementation provides richful library functions supporting load option
5 # manipulation, hotkey registration, UEFI boot, connect/disconnect, console
6 # manipulation, driver health checking and etc.
7 #
8 # Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>
9 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
10 # This program and the accompanying materials
11 # are licensed and made available under the terms and conditions of the BSD License
12 # which accompanies this distribution. The full text of the license may be found at
13 # http://opensource.org/licenses/bsd-license.php
14 #
15 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 #
18 ##
19
20 [Defines]
21 INF_VERSION = 0x00010005
22 BASE_NAME = UefiBootManagerLib
23 MODULE_UNI_FILE = UefiBootManagerLib.uni
24 FILE_GUID = 8D4752BC-595E-49a2-B4AF-F3F57B601DE9
25 MODULE_TYPE = DXE_DRIVER
26 VERSION_STRING = 1.0
27 LIBRARY_CLASS = UefiBootManagerLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION UEFI_DRIVER
28
29 #
30 # The following information is for reference only and not required by the build tools.
31 #
32 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
33 #
34
35 [Sources]
36 BmPerformance.c
37 BmConnect.c
38 BmMisc.c
39 BmConsole.c
40 BmBoot.c
41 BmBootDescription.c
42 BmLoadOption.c
43 BmHotkey.c
44 BmDriverHealth.c
45 InternalBm.h
46
47 [Packages]
48 MdePkg/MdePkg.dec
49 MdeModulePkg/MdeModulePkg.dec
50
51 [LibraryClasses]
52 HobLib
53 PcdLib
54 BaseLib
55 UefiLib
56 TimerLib
57 DebugLib
58 PrintLib
59 BaseMemoryLib
60 DevicePathLib
61 PerformanceLib
62 PeCoffGetEntryPointLib
63 UefiBootServicesTableLib
64 UefiRuntimeServicesTableLib
65 DxeServicesTableLib
66 MemoryAllocationLib
67 DxeServicesLib
68 ReportStatusCodeLib
69 PerformanceLib
70 HiiLib
71 SortLib
72
73 [Guids]
74 ## SOMETIMES_CONSUMES ## SystemTable (The identifier of memory type information type in system table)
75 ## SOMETIMES_CONSUMES ## HOB (The hob holding memory type information)
76 ## SOMETIMES_CONSUMES ## Variable:L"MemoryTypeInformation."
77 ## SOMETIMES_PRODUCES ## Variable:L"MemoryTypeInformation."
78 gEfiMemoryTypeInformationGuid
79
80 ## SOMETIMES_PRODUCES ## Variable:L"BootCurrent" (The boot option of current boot)
81 ## SOMETIMES_CONSUMES ## Variable:L"BootXX" (Boot option variable)
82 ## SOMETIMES_CONSUMES ## Variable:L"BootOrder" (The boot option array)
83 ## SOMETIMES_CONSUMES ## Variable:L"DriverOrder" (The driver order list)
84 ## SOMETIMES_CONSUMES ## Variable:L"ConIn" (The device path of console in device)
85 ## SOMETIMES_CONSUMES ## Variable:L"ConOut" (The device path of console out device)
86 ## SOMETIMES_CONSUMES ## Variable:L"ErrOut" (The device path of error out device)
87 gEfiGlobalVariableGuid
88
89 gPerformanceProtocolGuid ## SOMETIMES_CONSUMES ## Variable:L"PerfDataMemAddr" (The ACPI address of performance data)
90 gEdkiiStatusCodeDataTypeVariableGuid ## SOMETIMES_CONSUMES ## GUID
91 gEfiDiskInfoAhciInterfaceGuid ## SOMETIMES_CONSUMES ## GUID
92 gEfiDiskInfoIdeInterfaceGuid ## SOMETIMES_CONSUMES ## GUID
93 gEfiDiskInfoScsiInterfaceGuid ## SOMETIMES_CONSUMES ## GUID
94
95 [Protocols]
96 gEfiPciRootBridgeIoProtocolGuid ## CONSUMES
97 gEfiSimpleFileSystemProtocolGuid ## SOMETIMES_CONSUMES
98 gEfiLoadFileProtocolGuid ## SOMETIMES_CONSUMES
99 gEfiSimpleTextOutProtocolGuid ## SOMETIMES_CONSUMES
100 gEfiPciIoProtocolGuid ## SOMETIMES_CONSUMES
101 gEfiLoadedImageProtocolGuid ## CONSUMES
102 gEfiSimpleNetworkProtocolGuid ## SOMETIMES_CONSUMES
103 gEfiSimpleTextInProtocolGuid ## SOMETIMES_CONSUMES
104 gEfiBlockIoProtocolGuid ## SOMETIMES_CONSUMES
105 gEfiFirmwareVolume2ProtocolGuid ## SOMETIMES_CONSUMES
106 gEfiDevicePathProtocolGuid ## SOMETIMES_CONSUMES
107 gEfiBootLogoProtocolGuid ## SOMETIMES_CONSUMES
108 gEfiSimpleTextInputExProtocolGuid ## SOMETIMES_CONSUMES
109 gEdkiiVariableLockProtocolGuid ## SOMETIMES_CONSUMES
110 gEfiGraphicsOutputProtocolGuid ## SOMETIMES_CONSUMES
111 gEfiUsbIoProtocolGuid ## SOMETIMES_CONSUMES
112 gEfiDiskInfoProtocolGuid ## SOMETIMES_CONSUMES
113 gEfiDriverHealthProtocolGuid ## SOMETIMES_CONSUMES
114 gEfiFormBrowser2ProtocolGuid ## SOMETIMES_CONSUMES
115 gEfiRamDiskProtocolGuid ## SOMETIMES_CONSUMES
116 gEfiDeferredImageLoadProtocolGuid ## SOMETIMES_CONSUMES
117
118 [Pcd]
119 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange ## SOMETIMES_CONSUMES
120 gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderLoad ## SOMETIMES_CONSUMES
121 gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderStart ## SOMETIMES_CONSUMES
122 gEfiMdeModulePkgTokenSpaceGuid.PcdErrorCodeSetVariable ## SOMETIMES_CONSUMES
123 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile ## CONSUMES
124 gEfiMdeModulePkgTokenSpaceGuid.PcdDriverHealthConfigureForm ## SOMETIMES_CONSUMES
125 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxRepairCount ## CONSUMES