]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmVirtualizationPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf
ArmVirtualizationPkg: add a relocatable version of PrePi
[mirror_edk2.git] / ArmPlatformPkg / ArmVirtualizationPkg / PrePi / ArmVirtPrePiUniCoreRelocatable.inf
1 #/** @file
2 #
3 # Copyright (c) 2011-2014, 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
27 [Sources.AArch64]
28 AArch64/ArchPrePi.c
29 AArch64/ModuleEntryPoint.S
30
31 [Packages]
32 MdePkg/MdePkg.dec
33 MdeModulePkg/MdeModulePkg.dec
34 EmbeddedPkg/EmbeddedPkg.dec
35 ArmPkg/ArmPkg.dec
36 ArmPlatformPkg/ArmPlatformPkg.dec
37 ArmPlatformPkg/ArmVirtualizationPkg/ArmVirtualizationPkg.dec
38 IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
39
40 [LibraryClasses]
41 BaseLib
42 DebugLib
43 ArmLib
44 IoLib
45 TimerLib
46 SerialPortLib
47 ExtractGuidedSectionLib
48 LzmaDecompressLib
49 PeCoffGetEntryPointLib
50 PrePiLib
51 ArmPlatformLib
52 ArmPlatformStackLib
53 MemoryAllocationLib
54 HobLib
55 PrePiHobListPointerLib
56 PlatformPeiLib
57 MemoryInitPeiLib
58
59 [Ppis]
60 gArmMpCoreInfoPpiGuid
61
62 [Guids]
63 gArmGlobalVariableGuid
64 gArmMpCoreInfoGuid
65
66 [FeaturePcd]
67 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob
68 gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores
69
70 [FixedPcd]
71 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString
72
73 gArmTokenSpaceGuid.PcdVFPEnabled
74
75 gArmTokenSpaceGuid.PcdFdSize
76 gArmTokenSpaceGuid.PcdFvSize
77
78 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize
79 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize
80
81 gArmPlatformTokenSpaceGuid.PcdPeiGlobalVariableSize
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 gArmVirtualizationTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress
104 gArmTokenSpaceGuid.PcdFdBaseAddress
105 gArmTokenSpaceGuid.PcdFvBaseAddress
106
107 [BuildOptions]
108 GCC:*_*_AARCH64_DLINK_FLAGS = -pie -T $(MODULE_DIR)/Scripts/PrePi-PIE.lds