The PrePi code we inherited from ArmPlatformPkg contains a rather obscure optimization, where entry points of the PE/COFF and LZMA handling routines are recorded in special HOBs, allowing DXE core to call into that code directly rather than carry its own copy of these libraries. Given that no ArmVirtPkg platforms actually include the library resolutions* that take advantage of these optimizations, let's not bother with them, and remove the associated code. * EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Laszlo Ersek <lersek@redhat.com>
109 lines
3.0 KiB
INI
Executable File
109 lines
3.0 KiB
INI
Executable File
#/** @file
|
|
#
|
|
# Copyright (c) 2011-2015, ARM Ltd. All rights reserved.<BR>
|
|
# Copyright (c) 2015, Linaro Ltd. 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 = ArmVirtPrePiUniCoreRelocatable
|
|
FILE_GUID = f7d9fd14-9335-4389-80c5-334d6abfcced
|
|
MODULE_TYPE = SEC
|
|
VALID_ARCHITECTURES = AARCH64
|
|
VERSION_STRING = 1.0
|
|
|
|
[Sources]
|
|
PrePi.c
|
|
FdtParser.c
|
|
|
|
[Sources.AArch64]
|
|
AArch64/ArchPrePi.c
|
|
AArch64/ModuleEntryPoint.S
|
|
|
|
[Sources.ARM]
|
|
Arm/ArchPrePi.c
|
|
Arm/ModuleEntryPoint.S
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
EmbeddedPkg/EmbeddedPkg.dec
|
|
ArmPkg/ArmPkg.dec
|
|
ArmPlatformPkg/ArmPlatformPkg.dec
|
|
ArmVirtPkg/ArmVirtPkg.dec
|
|
|
|
[LibraryClasses]
|
|
BaseLib
|
|
DebugLib
|
|
FdtLib
|
|
ArmLib
|
|
IoLib
|
|
TimerLib
|
|
SerialPortLib
|
|
ExtractGuidedSectionLib
|
|
LzmaDecompressLib
|
|
PrePiLib
|
|
MemoryAllocationLib
|
|
HobLib
|
|
PrePiHobListPointerLib
|
|
PlatformPeiLib
|
|
MemoryInitPeiLib
|
|
CacheMaintenanceLib
|
|
|
|
[Ppis]
|
|
gArmMpCoreInfoPpiGuid
|
|
|
|
[Guids]
|
|
gArmMpCoreInfoGuid
|
|
|
|
[FeaturePcd]
|
|
gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob
|
|
gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores
|
|
|
|
[FixedPcd]
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString
|
|
|
|
gArmTokenSpaceGuid.PcdVFPEnabled
|
|
|
|
gArmTokenSpaceGuid.PcdFdSize
|
|
gArmTokenSpaceGuid.PcdFvSize
|
|
|
|
gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize
|
|
gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize
|
|
|
|
gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize
|
|
|
|
gArmPlatformTokenSpaceGuid.PcdCoreCount
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize
|
|
gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData
|
|
|
|
[Pcd]
|
|
gArmTokenSpaceGuid.PcdSystemMemoryBase
|
|
gArmTokenSpaceGuid.PcdSystemMemorySize
|
|
gArmVirtTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress
|
|
gArmTokenSpaceGuid.PcdFdBaseAddress
|
|
gArmTokenSpaceGuid.PcdFvBaseAddress
|
|
|
|
[BuildOptions]
|
|
GCC:*_*_*_DLINK_FLAGS = -pie -Wl,-T,$(MODULE_DIR)/Scripts/PrePi-PIE.lds
|