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 - 2018, 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 | BmConnect.c
|
---|
37 | BmMisc.c
|
---|
38 | BmConsole.c
|
---|
39 | BmBoot.c
|
---|
40 | BmBootDescription.c
|
---|
41 | BmLoadOption.c
|
---|
42 | BmHotkey.c
|
---|
43 | BmDriverHealth.c
|
---|
44 | InternalBm.h
|
---|
45 |
|
---|
46 | [Packages]
|
---|
47 | MdePkg/MdePkg.dec
|
---|
48 | MdeModulePkg/MdeModulePkg.dec
|
---|
49 |
|
---|
50 | [LibraryClasses]
|
---|
51 | HobLib
|
---|
52 | PcdLib
|
---|
53 | BaseLib
|
---|
54 | UefiLib
|
---|
55 | DebugLib
|
---|
56 | PrintLib
|
---|
57 | BaseMemoryLib
|
---|
58 | DevicePathLib
|
---|
59 | PerformanceLib
|
---|
60 | PeCoffGetEntryPointLib
|
---|
61 | UefiBootServicesTableLib
|
---|
62 | UefiRuntimeServicesTableLib
|
---|
63 | DxeServicesTableLib
|
---|
64 | MemoryAllocationLib
|
---|
65 | DxeServicesLib
|
---|
66 | ReportStatusCodeLib
|
---|
67 | PerformanceLib
|
---|
68 | HiiLib
|
---|
69 | SortLib
|
---|
70 |
|
---|
71 | [Guids]
|
---|
72 | ## SOMETIMES_CONSUMES ## SystemTable (The identifier of memory type information type in system table)
|
---|
73 | ## SOMETIMES_CONSUMES ## HOB (The hob holding memory type information)
|
---|
74 | ## SOMETIMES_CONSUMES ## Variable:L"MemoryTypeInformation."
|
---|
75 | ## SOMETIMES_PRODUCES ## Variable:L"MemoryTypeInformation."
|
---|
76 | gEfiMemoryTypeInformationGuid
|
---|
77 |
|
---|
78 | ## SOMETIMES_PRODUCES ## Variable:L"BootCurrent" (The boot option of current boot)
|
---|
79 | ## SOMETIMES_CONSUMES ## Variable:L"BootXX" (Boot option variable)
|
---|
80 | ## SOMETIMES_CONSUMES ## Variable:L"BootOrder" (The boot option array)
|
---|
81 | ## SOMETIMES_CONSUMES ## Variable:L"DriverOrder" (The driver order list)
|
---|
82 | ## SOMETIMES_CONSUMES ## Variable:L"ConIn" (The device path of console in device)
|
---|
83 | ## SOMETIMES_CONSUMES ## Variable:L"ConOut" (The device path of console out device)
|
---|
84 | ## SOMETIMES_CONSUMES ## Variable:L"ErrOut" (The device path of error out device)
|
---|
85 | gEfiGlobalVariableGuid
|
---|
86 |
|
---|
87 | gEdkiiStatusCodeDataTypeVariableGuid ## SOMETIMES_CONSUMES ## GUID
|
---|
88 | gEfiDiskInfoAhciInterfaceGuid ## SOMETIMES_CONSUMES ## GUID
|
---|
89 | gEfiDiskInfoIdeInterfaceGuid ## SOMETIMES_CONSUMES ## GUID
|
---|
90 | gEfiDiskInfoScsiInterfaceGuid ## SOMETIMES_CONSUMES ## GUID
|
---|
91 | gEfiDiskInfoSdMmcInterfaceGuid ## SOMETIMES_CONSUMES ## GUID
|
---|
92 |
|
---|
93 | [Protocols]
|
---|
94 | gEfiPciRootBridgeIoProtocolGuid ## CONSUMES
|
---|
95 | gEfiSimpleFileSystemProtocolGuid ## SOMETIMES_CONSUMES
|
---|
96 | gEfiLoadFileProtocolGuid ## SOMETIMES_CONSUMES
|
---|
97 | gEfiSimpleTextOutProtocolGuid ## SOMETIMES_CONSUMES
|
---|
98 | gEfiPciIoProtocolGuid ## SOMETIMES_CONSUMES
|
---|
99 | gEfiLoadedImageProtocolGuid ## CONSUMES
|
---|
100 | gEfiSimpleNetworkProtocolGuid ## SOMETIMES_CONSUMES
|
---|
101 | gEfiSimpleTextInProtocolGuid ## SOMETIMES_CONSUMES
|
---|
102 | gEfiBlockIoProtocolGuid ## SOMETIMES_CONSUMES
|
---|
103 | gEfiFirmwareVolume2ProtocolGuid ## SOMETIMES_CONSUMES
|
---|
104 | gEfiDevicePathProtocolGuid ## SOMETIMES_CONSUMES
|
---|
105 | gEfiBootLogoProtocolGuid ## SOMETIMES_CONSUMES
|
---|
106 | gEfiSimpleTextInputExProtocolGuid ## SOMETIMES_CONSUMES
|
---|
107 | gEdkiiVariableLockProtocolGuid ## SOMETIMES_CONSUMES
|
---|
108 | gEfiGraphicsOutputProtocolGuid ## SOMETIMES_CONSUMES
|
---|
109 | gEfiUsbIoProtocolGuid ## SOMETIMES_CONSUMES
|
---|
110 | gEfiNvmExpressPassThruProtocolGuid ## SOMETIMES_CONSUMES
|
---|
111 | gEfiDiskInfoProtocolGuid ## SOMETIMES_CONSUMES
|
---|
112 | gEfiDriverHealthProtocolGuid ## SOMETIMES_CONSUMES
|
---|
113 | gEfiFormBrowser2ProtocolGuid ## SOMETIMES_CONSUMES
|
---|
114 | gEfiRamDiskProtocolGuid ## SOMETIMES_CONSUMES
|
---|
115 | gEfiDeferredImageLoadProtocolGuid ## SOMETIMES_CONSUMES
|
---|
116 |
|
---|
117 | [Pcd]
|
---|
118 | gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange ## SOMETIMES_CONSUMES
|
---|
119 | gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderLoad ## SOMETIMES_CONSUMES
|
---|
120 | gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderStart ## SOMETIMES_CONSUMES
|
---|
121 | gEfiMdeModulePkgTokenSpaceGuid.PcdErrorCodeSetVariable ## SOMETIMES_CONSUMES
|
---|
122 | gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile ## CONSUMES
|
---|
123 | gEfiMdeModulePkgTokenSpaceGuid.PcdDriverHealthConfigureForm ## SOMETIMES_CONSUMES
|
---|
124 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxRepairCount ## CONSUMES
|
---|