• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 - 2016, 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  gEfiMemoryTypeInformationGuid                 ## CONSUMES ## GUID (The identifier of memory type information type in system table)
75                                                ## CONSUMES ## GUID HOB (The hob holding memory type information)
76  gEfiGlobalVariableGuid                        ## SOMETIMES_PRODUCES ## Variable:L"BootCurrent" (The boot option of current boot)
77                                                ## SOMETIMES_CONSUMES ## Variable:L"BootXX" (Boot option variable)
78                                                ## CONSUMES           ## Variable:L"Timeout" (The time out value in second of showing progress bar)
79                                                ## SOMETIMES_CONSUMES ## Variable:L"BootOrder" (The boot option array)
80                                                ## SOMETIMES_CONSUMES ## Variable:L"DriverOrder" (The driver order list)
81                                                ## SOMETIMES_CONSUMES ## Variable:L"ConIn" (The device path of console in device)
82                                                ## SOMETIMES_CONSUMES ## Variable:L"ConOut" (The device path of console out device)
83                                                ## SOMETIMES_CONSUMES ## Variable:L"ErrOut" (The device path of error out device)
84  gEfiFileInfoGuid                              ## CONSUMES ## GUID
85  gPerformanceProtocolGuid                      ## SOMETIMES_CONSUMES ## Variable:L"PerfDataMemAddr" (The ACPI address of performance data)
86  gEdkiiStatusCodeDataTypeVariableGuid          ## SOMETIMES_CONSUMES ## GUID
87  gEfiDiskInfoAhciInterfaceGuid                 ## SOMETIMES_CONSUMES ## GUID
88  gEfiDiskInfoIdeInterfaceGuid                  ## SOMETIMES_CONSUMES ## GUID
89  gEfiDiskInfoScsiInterfaceGuid                 ## SOMETIMES_CONSUMES ## GUID
90
91[Protocols]
92  gEfiPciRootBridgeIoProtocolGuid               ## CONSUMES
93  gEfiSimpleFileSystemProtocolGuid              ## CONSUMES
94  gEfiLoadFileProtocolGuid                      ## CONSUMES
95  gEfiSimpleTextOutProtocolGuid                 ## CONSUMES
96  gEfiPciIoProtocolGuid                         ## CONSUMES
97  gEfiLoadedImageProtocolGuid                   ## CONSUMES
98  gEfiSimpleNetworkProtocolGuid                 ## CONSUMES
99  gEfiSimpleTextInProtocolGuid                  ## CONSUMES
100  gEfiBlockIoProtocolGuid                       ## CONSUMES
101  gEfiFirmwareVolume2ProtocolGuid               ## CONSUMES
102  gEfiDevicePathProtocolGuid                    ## CONSUMES
103  gEfiBootLogoProtocolGuid                      ## CONSUMES
104  gEfiSimpleTextInputExProtocolGuid             ## CONSUMES
105  gEdkiiVariableLockProtocolGuid                ## CONSUMES
106  gEfiGraphicsOutputProtocolGuid                ## SOMETIMES_CONSUMES
107  gEfiUsbIoProtocolGuid                         ## SOMETIMES_CONSUMES
108  gEfiDiskInfoProtocolGuid                      ## SOMETIMES_CONSUMES
109  gEfiDriverHealthProtocolGuid                  ## SOMETIMES_CONSUMES
110  gEfiFormBrowser2ProtocolGuid                  ## SOMETIMES_CONSUMES
111  gEfiRamDiskProtocolGuid                       ## SOMETIMES_CONSUMES
112  gEfiDeferredImageLoadProtocolGuid             ## CONSUMES
113
114[Pcd]
115  gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange      ## SOMETIMES_CONSUMES
116  gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderLoad                ## SOMETIMES_CONSUMES
117  gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderStart               ## SOMETIMES_CONSUMES
118  gEfiMdeModulePkgTokenSpaceGuid.PcdErrorCodeSetVariable                    ## SOMETIMES_CONSUMES
119  gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile                     ## CONSUMES
120  gEfiMdeModulePkgTokenSpaceGuid.PcdDriverHealthConfigureForm               ## SOMETIMES_CONSUMES
121  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxRepairCount                          ## CONSUMES
122