]> git.proxmox.com Git - mirror_edk2.git/blob - ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf
ArmVirtPkg/PrePi: don't export PE/COFF and LZMA libraries via HOBs
[mirror_edk2.git] / ArmVirtPkg / PrePi / ArmVirtPrePiUniCoreRelocatable.inf
1 #/** @file
2 #
3 # Copyright (c) 2011-2015, ARM Ltd. All rights reserved.<BR>
4 # Copyright (c) 2015, Linaro Ltd. All rights reserved.<BR>
5 #
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 #**/
15
16 [Defines]
17 INF_VERSION = 0x00010005
18 BASE_NAME = ArmVirtPrePiUniCoreRelocatable
19 FILE_GUID = f7d9fd14-9335-4389-80c5-334d6abfcced
20 MODULE_TYPE = SEC
21 VALID_ARCHITECTURES = AARCH64
22 VERSION_STRING = 1.0
23
24 [Sources]
25 PrePi.c
26 FdtParser.c
27
28 [Sources.AArch64]
29 AArch64/ArchPrePi.c
30 AArch64/ModuleEntryPoint.S
31
32 [Sources.ARM]
33 Arm/ArchPrePi.c
34 Arm/ModuleEntryPoint.S
35
36 [Packages]
37 MdePkg/MdePkg.dec
38 MdeModulePkg/MdeModulePkg.dec
39 EmbeddedPkg/EmbeddedPkg.dec
40 ArmPkg/ArmPkg.dec
41 ArmPlatformPkg/ArmPlatformPkg.dec
42 ArmVirtPkg/ArmVirtPkg.dec
43
44 [LibraryClasses]
45 BaseLib
46 DebugLib
47 FdtLib
48 ArmLib
49 IoLib
50 TimerLib
51 SerialPortLib
52 ExtractGuidedSectionLib
53 LzmaDecompressLib
54 PrePiLib
55 MemoryAllocationLib
56 HobLib
57 PrePiHobListPointerLib
58 PlatformPeiLib
59 MemoryInitPeiLib
60 CacheMaintenanceLib
61
62 [Ppis]
63 gArmMpCoreInfoPpiGuid
64
65 [Guids]
66 gArmMpCoreInfoGuid
67
68 [FeaturePcd]
69 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob
70 gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores
71
72 [FixedPcd]
73 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString
74
75 gArmTokenSpaceGuid.PcdVFPEnabled
76
77 gArmTokenSpaceGuid.PcdFdSize
78 gArmTokenSpaceGuid.PcdFvSize
79
80 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize
81 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize
82
83 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize
84
85 gArmPlatformTokenSpaceGuid.PcdCoreCount
86
87 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize
88 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize
89
90 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory
91 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS
92 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType
93 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData
94 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode
95 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode
96 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData
97 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode
98 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData
99
100 [Pcd]
101 gArmTokenSpaceGuid.PcdSystemMemoryBase
102 gArmTokenSpaceGuid.PcdSystemMemorySize
103 gArmVirtTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress
104 gArmTokenSpaceGuid.PcdFdBaseAddress
105 gArmTokenSpaceGuid.PcdFvBaseAddress
106
107 [BuildOptions]
108 GCC:*_*_*_DLINK_FLAGS = -pie -Wl,-T,$(MODULE_DIR)/Scripts/PrePi-PIE.lds