mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
1. MdeModulePkg PCD: Fix PCD driver to return default data if size mismatch. 2. Fix current TPM device string missing. Use efivarstore instead of varstor, remove TPM disable. 3. Comment PwdCredential driver. 4. Report the setting variable failure to platform through the status code when core cannot handle the error. 5. Support load 64 bit image from 32 bit core. Add more enhancement to check invalid PE format. 6. MdeModulePkg/SecurityPkg Variable: Calculate enough space for PlatformLang and Lang variables and use PcdUefiVariableDefaultLangDeprecate to turn off auto update between PlatformLang and Lang variables. 7. Remove RT attribute for variable LegacyDevOrder 8. Add check to make sure the data be valid. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15441 6f19259b-4bc3-4df7-8a09-765794883524
116 lines
5 KiB
INI
116 lines
5 KiB
INI
## @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 - 2014, Intel Corporation. All rights reserved.<BR>
|
|
# 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
|
|
#
|
|
# 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
|
|
BASE_NAME = GenericBdsLib
|
|
FILE_GUID = e405ec31-ccaa-4dd4-83e8-0aec01703f7e
|
|
MODULE_TYPE = DXE_DRIVER
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = GenericBdsLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION
|
|
CONSTRUCTOR = GenericBdsLibConstructor
|
|
|
|
#
|
|
# The following information is for reference only and not required by the build tools.
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
#
|
|
|
|
[Sources]
|
|
DevicePath.c
|
|
Performance.c
|
|
BdsConnect.c
|
|
BdsMisc.c
|
|
BdsConsole.c
|
|
BdsBoot.c
|
|
InternalBdsLib.h
|
|
String.h
|
|
String.c
|
|
GenericBdsStrings.uni
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
IntelFrameworkPkg/IntelFrameworkPkg.dec
|
|
IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
|
|
|
|
[LibraryClasses]
|
|
DevicePathLib
|
|
PeCoffGetEntryPointLib
|
|
BaseLib
|
|
HobLib
|
|
UefiRuntimeServicesTableLib
|
|
DxeServicesTableLib
|
|
MemoryAllocationLib
|
|
UefiLib
|
|
UefiBootServicesTableLib
|
|
BaseMemoryLib
|
|
DebugLib
|
|
PrintLib
|
|
PcdLib
|
|
PerformanceLib
|
|
TimerLib
|
|
DxeServicesLib
|
|
HiiLib
|
|
ReportStatusCodeLib
|
|
|
|
[Guids]
|
|
gEfiMemoryTypeInformationGuid ## CONSUMES ## GUID (The identifier of memory type information type in system table)
|
|
gEfiGlobalVariableGuid ## SOMETIMES_PRODUCES ## Variable:L"BootCurrent" (The boot option of current boot)
|
|
gEfiFileInfoGuid ## CONSUMES ## GUID
|
|
gPerformanceProtocolGuid ## SOMETIMES_PRODUCES ## Variable:L"PerfDataMemAddr" (The ACPI address of performance data)
|
|
gEfiUartDevicePathGuid ## CONSUMES ## GUID (Identify the device path for UARD 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)
|
|
gEfiLegacyDevOrderVariableGuid ## CONSUMES ## GUID
|
|
gEdkiiStatusCodeDataTypeVariableGuid ## SOMETIMES_CONSUMES
|
|
|
|
[Protocols]
|
|
gEfiSimpleFileSystemProtocolGuid # PROTOCOL CONSUMES
|
|
gEfiLoadFileProtocolGuid # PROTOCOL CONSUMES
|
|
gEfiSimpleTextOutProtocolGuid # PROTOCOL CONSUMES
|
|
gEfiPciIoProtocolGuid # PROTOCOL CONSUMES
|
|
gEfiLoadedImageProtocolGuid # PROTOCOL CONSUMES
|
|
gEfiSimpleNetworkProtocolGuid # PROTOCOL CONSUMES
|
|
gEfiDebugPortProtocolGuid # PROTOCOL CONSUMES
|
|
gEfiSimpleTextInProtocolGuid # PROTOCOL CONSUMES
|
|
gEfiBlockIoProtocolGuid # PROTOCOL CONSUMES
|
|
gEfiFirmwareVolume2ProtocolGuid # PROTOCOL CONSUMES
|
|
gEfiLegacyBiosProtocolGuid # PROTOCOL SOMETIMES_CONSUMES
|
|
gEfiCpuArchProtocolGuid # PROTOCOL CONSUMES
|
|
gEfiDevicePathProtocolGuid # PROTOCOL CONSUMES
|
|
gEfiAcpiS3SaveProtocolGuid # 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]
|
|
gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport
|
|
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootlogoOnlyEnable
|
|
|
|
[Pcd]
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderLoad
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderStart
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdErrorCodeSetVariable
|
|
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile
|