2010-01-25 04:05:41 +01:00
|
|
|
## @file
|
2014-08-28 08:58:44 +02:00
|
|
|
# General BDS library.
|
2018-06-27 15:06:35 +02:00
|
|
|
#
|
2009-01-23 08:24:55 +01:00
|
|
|
# General BDS defines and produce general interfaces for platform BDS driver including:
|
|
|
|
# 1) BDS boot policy interface;
|
|
|
|
# 2) BDS boot device connect interface;
|
|
|
|
# 3) BDS Misc interfaces for mainting boot variable, ouput string, etc.
|
2018-06-27 15:06:35 +02:00
|
|
|
#
|
2017-12-28 01:09:55 +01:00
|
|
|
# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:03:59 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2018-06-27 15:06:35 +02:00
|
|
|
#
|
2010-01-25 04:05:41 +01:00
|
|
|
##
|
2009-01-23 08:24:55 +01:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = GenericBdsLib
|
2014-08-28 08:58:44 +02:00
|
|
|
MODULE_UNI_FILE = GenericBdsLib.uni
|
2009-01-23 08:24:55 +01:00
|
|
|
FILE_GUID = e405ec31-ccaa-4dd4-83e8-0aec01703f7e
|
|
|
|
MODULE_TYPE = DXE_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
2018-06-27 15:06:35 +02:00
|
|
|
LIBRARY_CLASS = GenericBdsLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION
|
2010-01-27 08:18:36 +01:00
|
|
|
CONSTRUCTOR = GenericBdsLibConstructor
|
2009-01-23 08:24:55 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
2018-06-29 05:24:22 +02:00
|
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC
|
2009-01-23 08:24:55 +01:00
|
|
|
#
|
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[Sources]
|
2009-01-23 08:24:55 +01:00
|
|
|
DevicePath.c
|
|
|
|
BdsConnect.c
|
|
|
|
BdsMisc.c
|
|
|
|
BdsConsole.c
|
|
|
|
BdsBoot.c
|
|
|
|
InternalBdsLib.h
|
2010-01-27 08:18:36 +01:00
|
|
|
String.h
|
|
|
|
String.c
|
|
|
|
GenericBdsStrings.uni
|
2018-06-27 15:06:35 +02:00
|
|
|
|
2009-01-23 08:24:55 +01:00
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
IntelFrameworkPkg/IntelFrameworkPkg.dec
|
2009-02-24 16:53:05 +01:00
|
|
|
IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
|
2009-01-23 08:24:55 +01:00
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
DevicePathLib
|
|
|
|
PeCoffGetEntryPointLib
|
|
|
|
BaseLib
|
|
|
|
HobLib
|
|
|
|
UefiRuntimeServicesTableLib
|
|
|
|
DxeServicesTableLib
|
|
|
|
MemoryAllocationLib
|
|
|
|
UefiLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
BaseMemoryLib
|
|
|
|
DebugLib
|
|
|
|
PrintLib
|
|
|
|
PcdLib
|
|
|
|
PerformanceLib
|
|
|
|
TimerLib
|
|
|
|
DxeServicesLib
|
2010-01-27 08:18:36 +01:00
|
|
|
HiiLib
|
2011-08-25 13:58:51 +02:00
|
|
|
ReportStatusCodeLib
|
2017-12-28 01:09:55 +01:00
|
|
|
BmpSupportLib
|
2009-01-23 08:24:55 +01:00
|
|
|
|
|
|
|
[Guids]
|
2014-08-28 08:58:44 +02:00
|
|
|
## SOMETIMES_CONSUMES ## HOB # The hob holding memory type information
|
|
|
|
## SOMETIMES_CONSUMES ## SystemTable # The identifier of memory type information type in system table
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"MemoryTypeInformation"
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"MemoryTypeInformation"
|
2018-06-27 15:06:35 +02:00
|
|
|
gEfiMemoryTypeInformationGuid
|
2014-08-28 08:58:44 +02:00
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"BootXXXX" # Boot option variable
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"BootXXXX" # Boot option variable
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"DriverXXXX" # Driver load option.
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"DriverXXXX" # Driver load option.
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"BootNext" # Next Boot Option
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"BootNext" # Next Boot Option
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"BootOrder" # The boot option array
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"BootOrder" # The boot option array
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"DriverOrder" # The driver order list
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"ConIn" # The device path of console in device
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"ConIn" # The device path of console in device
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"ConOut" # The device path of console out device
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"ConOut" # The device path of console out device
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"ErrOut" # The device path of error out device
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"ErrOut" # The device path of error out device
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"BootCurrent" # The boot option of current boot
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"BootNext" # The number of next boot option
|
|
|
|
gEfiGlobalVariableGuid
|
|
|
|
gEfiFileInfoGuid ## SOMETIMES_CONSUMES ## GUID
|
|
|
|
gLastEnumLangGuid ## SOMETIMES_PRODUCES ## Variable:L"LastEnumLang" # Platform language at last time enumeration.
|
|
|
|
gHdBootDevicePathVariablGuid ## SOMETIMES_PRODUCES ## Variable:L"HDDP" # The device path of Boot file on Hard device.
|
|
|
|
gBdsLibStringPackageGuid ## CONSUMES ## HII # HII String PackageList Guid
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"LegacyDevOrder"
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"LegacyDevOrder"
|
|
|
|
gEfiLegacyDevOrderVariableGuid
|
|
|
|
gEdkiiStatusCodeDataTypeVariableGuid ## SOMETIMES_CONSUMES ## GUID
|
2009-02-23 06:35:08 +01:00
|
|
|
|
2009-01-23 08:24:55 +01:00
|
|
|
[Protocols]
|
2014-08-28 08:58:44 +02:00
|
|
|
gEfiSimpleFileSystemProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiLoadFileProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiSimpleTextOutProtocolGuid ## CONSUMES
|
|
|
|
gEfiPciIoProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiLoadedImageProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiSimpleNetworkProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiDebugPortProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiSimpleTextInProtocolGuid ## CONSUMES
|
|
|
|
gEfiBlockIoProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiFirmwareVolume2ProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiLegacyBiosProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiCpuArchProtocolGuid ## CONSUMES
|
|
|
|
gEfiDevicePathProtocolGuid ## CONSUMES
|
|
|
|
gEfiGraphicsOutputProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiUgaDrawProtocolGuid |gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport ## SOMETIMES_CONSUMES
|
|
|
|
gEfiOEMBadgingProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiHiiFontProtocolGuid ## CONSUMES
|
|
|
|
gEfiUserManagerProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiUsbIoProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiBootLogoProtocolGuid ## SOMETIMES_CONSUMES
|
2009-01-23 08:24:55 +01:00
|
|
|
|
2009-07-09 07:48:35 +02:00
|
|
|
[FeaturePcd]
|
2014-08-28 08:58:44 +02:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport ## CONSUMES
|
|
|
|
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootlogoOnlyEnable ## CONSUMES
|
2009-01-23 08:24:55 +01:00
|
|
|
|
2009-07-09 07:48:35 +02:00
|
|
|
[Pcd]
|
2014-08-28 08:58:44 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange ## SOMETIMES_CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderLoad ## SOMETIMES_CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderStart ## SOMETIMES_CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdErrorCodeSetVariable ## CONSUMES
|
|
|
|
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile ## CONSUMES
|
|
|
|
|
|
|
|
#
|
2018-06-27 15:06:35 +02:00
|
|
|
# [BootMode]
|
2014-08-28 08:58:44 +02:00
|
|
|
# RECOVERY_FULL ## SOMETIMES_CONSUMES # Memory Type Information variable
|
|
|
|
#
|
|
|
|
|