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