X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFrameworkModulePkg%2FLibrary%2FGenericBdsLib%2FGenericBdsLib.inf;h=2d4a90f97df6edaf1e3f36facefdbe70e69474ed;hp=bdd2ec9e2751fc92e5a36890b080ac021ff2bfe8;hb=2df686c67c7819e01a1487dd703faffef2b59dce;hpb=8d6640c997dd8ac8eddde165f633d2612a688938 diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf b/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf index bdd2ec9e27..2d4a90f97d 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf @@ -1,12 +1,12 @@ -#/** @file +## @file # # 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. # -# Copyright (c) 2007 - 2008, Intel Corporation.
-# All rights reserved. This program and the accompanying materials +# Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.
+# This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full text of the license may be found at # http://opensource.org/licenses/bsd-license.php @@ -14,7 +14,7 @@ # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # -#**/ +## [Defines] INF_VERSION = 0x00010005 @@ -23,6 +23,7 @@ MODULE_TYPE = DXE_DRIVER VERSION_STRING = 1.0 LIBRARY_CLASS = GenericBdsLib|DXE_DRIVER UEFI_APPLICATION + CONSTRUCTOR = GenericBdsLibConstructor # # The following information is for reference only and not required by the build tools. @@ -30,7 +31,7 @@ # VALID_ARCHITECTURES = IA32 X64 IPF EBC # -[Sources.common] +[Sources] DevicePath.c Performance.c BdsConnect.c @@ -38,15 +39,15 @@ BdsConsole.c BdsBoot.c InternalBdsLib.h - -[Sources.IPF] - Ipf/ShadowRom.c - + String.h + String.c + GenericBdsStrings.uni + [Packages] MdePkg/MdePkg.dec MdeModulePkg/MdeModulePkg.dec IntelFrameworkPkg/IntelFrameworkPkg.dec - + IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec [LibraryClasses] DevicePathLib @@ -64,16 +65,16 @@ PcdLib PerformanceLib TimerLib - PcdLib DxeServicesLib + HiiLib + ReportStatusCodeLib [Guids] gEfiVT100PlusGuid ## CONSUMES ## GUID (The type of terminal) - gEfiMemoryTypeInformationGuid ## CONSUMES ## GUID (The identifier of memory type information type in system table) + gEfiVT100Guid ## CONSUMES ## GUID (The type of terminal) ## CONSUMES ## GUID HOB (The hob holding memory type information) + gEfiMemoryTypeInformationGuid ## CONSUMES ## GUID (The identifier of memory type information type in system table) gEfiVTUTF8Guid ## CONSUMES ## GUID (The type of terminal) - gEfiShellFileGuid ## CONSUMES ## GUID (Identify the shell file) - gEfiGlobalVariableGuid ## SOMETIMES_PRODUCES ## Variable:L"BootCurrent" (The boot option of current boot) ## SOMETIMES_CONSUMES ## Variable:L"BootXX" (Boot option variable) ## CONSUMES ## Variable:L"Timeout" (The time out value in second of showing progress bar) ## SOMETIMES_CONSUMES ## Variable:L"BootOrder" (The boot option array) @@ -81,18 +82,23 @@ ## SOMETIMES_CONSUMES ## Variable:L"ConIn" (The device path of console in device) ## SOMETIMES_CONSUMES ## Variable:L"ConOut" (The device path of console out device) ## SOMETIMES_CONSUMES ## Variable:L"ErrOut" (The device path of error out device) + gEfiGlobalVariableGuid ## SOMETIMES_PRODUCES ## Variable:L"BootCurrent" (The boot option of current boot) gEfiFileInfoGuid ## CONSUMES ## GUID gEfiPcAnsiGuid ## CONSUMES ## GUID (The type of terminal) - gEfiGenericPlatformVariableGuid ## SOMETIMES_PRODUCES ## Variable:L"PerfDataMemAddr" (The ACPI address of performance data) + gPerformanceProtocolGuid ## SOMETIMES_PRODUCES ## Variable:L"PerfDataMemAddr" (The ACPI address of performance data) gEfiUartDevicePathGuid ## CONSUMES ## GUID (Identify the device path for UARD device) gEfiSasDevicePathGuid ## CONSUMES ## GUID (Identify the device path for SAS device) - + 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 ## PRODUCES ## GUID (HII String PackageList Guid) + [Protocols] gEfiSimpleFileSystemProtocolGuid # PROTOCOL CONSUMES + gEfiLoadFileProtocolGuid # PROTOCOL CONSUMES gEfiSimpleTextOutProtocolGuid # PROTOCOL CONSUMES gEfiPciIoProtocolGuid # PROTOCOL CONSUMES gEfiLoadedImageProtocolGuid # PROTOCOL CONSUMES - gEfiDevicePathToTextProtocolGuid # PROTOCOL CONSUMES + gEfiDevicePathToTextProtocolGuid # PROTOCOL SOMETIMES_CONSUMES gEfiSimpleNetworkProtocolGuid # PROTOCOL CONSUMES gEfiDebugPortProtocolGuid # PROTOCOL CONSUMES gEfiSimpleTextInProtocolGuid # PROTOCOL CONSUMES @@ -101,17 +107,21 @@ gEfiLegacyBiosProtocolGuid # PROTOCOL SOMETIMES_CONSUMES gEfiCpuArchProtocolGuid # PROTOCOL CONSUMES gEfiDevicePathProtocolGuid # PROTOCOL CONSUMES - gEfiFirmwareVolumeDispatchProtocolGuid # PROTOCOL CONSUMES gEfiAcpiS3SaveProtocolGuid # PROTOCOL CONSUMES - gEfiGraphicsOutputProtocolGuid # PROTOCOL SOMETIMES_CONSUMES ## not gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport - gEfiUgaDrawProtocolGuid # PROTOCOL SOMETIMES_CONSUMES ## gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport - gEfiConsoleControlProtocolGuid # PROTOCOL CONSUMES + gEfiGraphicsOutputProtocolGuid # PROTOCOL SOMETIMES_CONSUMES + gEfiUgaDrawProtocolGuid |gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport # PROTOCOL SOMETIMES_CONSUMES gEfiOEMBadgingProtocolGuid # PROTOCOL CONSUMES gEfiHiiFontProtocolGuid # PROTOCOL CONSUMES + gEfiUserManagerProtocolGuid # PROTOCOL CONSUMES + gEfiUsbIoProtocolGuid # PROTOCOL SOMETIMES_CONSUMES + gEfiBootLogoProtocolGuid # PROTOCOL SOMETIMES_CONSUMES -[FeaturePcd.common] +[FeaturePcd] gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport + gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootlogoOnlyEnable [Pcd] - gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformBootTimeOutDefault - gEfiMdeModulePkgTokenSpaceGuid.PcdDefaultBootFileName \ No newline at end of file + gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange + gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderLoad + gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderStart + gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile