]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-A9x2.dsc
ArmPkg: Create MpCoreInfo PPI and HOB to describe CPU Cores on a MPCore platform
[mirror_edk2.git] / ArmPlatformPkg / ArmRealViewEbPkg / ArmRealViewEb-RTSM-A9x2.dsc
CommitLineData
11c20f4e 1#\r
2# Copyright (c) 2011, ARM Limited. All rights reserved.\r
3# \r
4# This program and the accompanying materials \r
5# are licensed and made available under the terms and conditions of the BSD License \r
6# which accompanies this distribution. The full text of the license may be found at \r
7# http://opensource.org/licenses/bsd-license.php \r
8#\r
9# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11#\r
12#\r
13\r
14################################################################################\r
15#\r
16# Defines Section - statements that will be processed to create a Makefile.\r
17#\r
18################################################################################\r
19[Defines]\r
20 PLATFORM_NAME = ArmRealViewEb-RTSM-A9x2\r
21 PLATFORM_GUID = f6c2f4a0-2027-11e0-a2a1-0002a5d5c51b\r
22 PLATFORM_VERSION = 0.1\r
23 DSC_SPECIFICATION = 0x00010005\r
24 OUTPUT_DIRECTORY = Build/ArmRealViewEb-RTSM-A9x2\r
25 SUPPORTED_ARCHITECTURES = ARM\r
26 BUILD_TARGETS = DEBUG|RELEASE\r
27 SKUID_IDENTIFIER = DEFAULT\r
28 FLASH_DEFINITION = ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-MPCore.fdf\r
29\r
30[LibraryClasses.common]\r
31!if $(TARGET) == RELEASE\r
32 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
33 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
34!else\r
35 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
36 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
37# UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf\r
38!endif\r
39 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
40\r
41 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLib.inf\r
42 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf\r
43 ArmMPCoreMailBoxLib|ArmPkg/Library/ArmMPCoreMailBoxLib/ArmMPCoreMailBoxLib.inf\r
44 \r
45 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
46 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf\r
47 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
48\r
49 EfiResetSystemLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
50 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
51 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
52 \r
53 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf\r
54 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf\r
55 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
56 \r
57 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
58 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
59\r
60 #\r
61 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window \r
62 # in the debugger will show load and unload commands for symbols. You can cut and paste this\r
63 # into the command window to load symbols. We should be able to use a script to do this, but\r
64 # the version of RVD I have does not support scripts accessing system memory.\r
65 #\r
66# PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r
67 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r
68# PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
69 \r
70 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
71 DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r
72 \r
73 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r
74 \r
75 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf\r
76\r
77 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
78 \r
79 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
80 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
81 \r
82 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
83 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
84 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
85 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
86 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
87\r
88 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
89 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
90 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
91\r
92#\r
93# Assume everything is fixed at build\r
94#\r
95 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
96\r
97 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
98\r
99 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf\r
100\r
101 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
102 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
103\r
104 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf\r
105 \r
106 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r
107 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsOnlyLib/DebugAgentSymbolsOnlyLib.inf\r
108 DebugAgentTimerLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf\r
109\r
110 SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf\r
111 TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf \r
112 GdbSerialLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/GdbSerialLib/GdbSerialLib.inf\r
113 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf\r
114 \r
115 # ARM PL011 UART Driver\r
116 PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf\r
117 # ARM PL390 General Interrupt Driver in Secure and Non-secure\r
55a0d64b 118 ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf\r
119 ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf\r
11c20f4e 120\r
121 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r
122 \r
123 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/SysConfigArmRealViewEbLib/SysConfigArmRealViewEbLib.inf\r
124 NorFlashPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/NorFlashArmRealViewEbLib/NorFlashArmRealViewEbLib.inf\r
125 LcdPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/PL111LcdArmRealViewEbLib/PL111LcdArmRealViewEbLib.inf\r
126\r
127[LibraryClasses.common.SEC]\r
128 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLibSec.inf\r
129 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbSecLib.inf\r
130 DebugSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf\r
131 \r
132 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
133 \r
134 # 1/123 faster than Stm or Vstm version\r
135 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
136\r
137 # Uncomment to turn on GDB stub in SEC. \r
138 #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf\r
139 \r
140 # L2 Cache Driver\r
141 L2X0CacheLib|ArmPlatformPkg/Library/L2X0CacheLibNull/L2X0CacheLibNull.inf\r
11c20f4e 142\r
143!if $(EDK2_SKIP_PEICORE) == 1\r
144 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r
145 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
146 LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
147 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r
148 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf\r
149 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf\r
150 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf\r
151 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf\r
152!endif\r
153\r
154[LibraryClasses.common.PEI_CORE]\r
155 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
156 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
157 # note: this won't actually work since globals in PEI are not writeable\r
158 # need to generate an ARM PEI services table pointer implementation\r
159 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
160 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
161 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
162 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
163 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
164 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
165 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
166 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
167 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
168 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
169\r
170[LibraryClasses.common.PEIM]\r
171 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
172 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
173 # note: this won't actually work since globals in PEI are not writeable\r
174 # need to generate an ARM PEI services table pointer implementation\r
175 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
176 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
177 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
178 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
179 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
180 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
181 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
182 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
183 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
184 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
185 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
186\r
187[LibraryClasses.common.DXE_CORE]\r
188 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
189 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
190 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
191 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
192 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
193 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
194 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
195 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r
196\r
197[LibraryClasses.common.DXE_DRIVER]\r
198 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
199 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
200 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
201 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
202 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
203\r
204[LibraryClasses.common.UEFI_APPLICATION]\r
205 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
206 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
207 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
208 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
209\r
210[LibraryClasses.common.UEFI_DRIVER]\r
211 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
212 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
213 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
214 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
215 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
216\r
217[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
218 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
219 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
220 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
221 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
222\r
223[LibraryClasses.ARM]\r
224 #\r
225 # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
226 # This library provides the instrinsic functions generate by a given compiler.\r
227 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.\r
228 #\r
229 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
230\r
231[BuildOptions]\r
232 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A9 --thumb --fpu=softvfp -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r
233 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A9 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r
234 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r
235\r
236 GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform \r
237 GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r
238 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r
239\r
240 XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r
241 XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r
242 XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r
243\r
244\r
245################################################################################\r
246#\r
247# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
248#\r
249################################################################################\r
250\r
251[PcdsFeatureFlag.common]\r
252 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE\r
253 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE\r
254 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE\r
255 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE\r
256 \r
257 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE\r
258 \r
259 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress\r
260 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE\r
261 \r
262 gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE\r
263\r
264 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r
265\r
266!if $(EDK2_SKIP_PEICORE) == 1\r
267 gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE\r
268 gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE\r
269!endif\r
270\r
271 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.\r
272 # It could be set FALSE to save size.\r
273 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
274\r
275[PcdsFixedAtBuild.common]\r
276 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM RealView Emulation Board"\r
277 \r
278 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmRealViewEb-A9x2"\r
279 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32\r
280 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0\r
281 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r
282 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r
283 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r
284 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r
285 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r
286 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1\r
287 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r
288 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r
289\r
290# DEBUG_ASSERT_ENABLED 0x01\r
291# DEBUG_PRINT_ENABLED 0x02\r
292# DEBUG_CODE_ENABLED 0x04\r
293# CLEAR_MEMORY_ENABLED 0x08\r
294# ASSERT_BREAKPOINT_ENABLED 0x10\r
295# ASSERT_DEADLOOP_ENABLED 0x20\r
296!if $(TARGET) == RELEASE\r
297 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21\r
298!else\r
299 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r
300!endif\r
301\r
302# DEBUG_INIT 0x00000001 // Initialization\r
303# DEBUG_WARN 0x00000002 // Warnings\r
304# DEBUG_LOAD 0x00000004 // Load events\r
305# DEBUG_FS 0x00000008 // EFI File system\r
306# DEBUG_POOL 0x00000010 // Alloc & Free's\r
307# DEBUG_PAGE 0x00000020 // Alloc & Free's\r
308# DEBUG_INFO 0x00000040 // Verbose\r
309# DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers\r
310# DEBUG_VARIABLE 0x00000100 // Variable\r
311# DEBUG_BM 0x00000400 // Boot Manager\r
312# DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
313# DEBUG_NET 0x00004000 // SNI Driver\r
314# DEBUG_UNDI 0x00010000 // UNDI Driver\r
315# DEBUG_LOADFILE 0x00020000 // UNDI Driver\r
316# DEBUG_EVENT 0x00080000 // Event messages\r
317# DEBUG_ERROR 0x80000000 // Error\r
318 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F\r
319\r
320 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
321 \r
322 #\r
323 # NV Storage PCDs. Use base of 0x43F00000 for NOR0\r
324 #\r
325 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x43F00000\r
326 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x000C0000\r
327 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x43FC0000\r
328 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00020000\r
329 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x43FE0000\r
330 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00020000\r
331\r
332 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""\r
333 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07\r
334 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000\r
335 \r
336#\r
337# Optional feature to help prevent EFI memory map fragments\r
338# Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r
339# Values are in EFI Pages (4K). DXE Core will make sure that \r
340# at least this much of each type of memory can be allocated \r
341# from a single memory range. This way you only end up with\r
342# maximum of two fragements for each type in the memory map\r
343# (the memory used, and the free memory that was prereserved\r
344# but not used).\r
345#\r
346 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x00000000\r
347 \r
348 gArmPlatformTokenSpaceGuid.PcdMPCoreSupport|1\r
11c20f4e 349 \r
350 # Stacks for MPCores in Secure World\r
2dbcb8f0 351 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x4B000000\r
11c20f4e 352 # Stacks for MPCores in Monitor Mode\r
2dbcb8f0 353 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x4A000000\r
11c20f4e 354 # Stacks for MPCores in Normal World\r
2dbcb8f0 355 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x48000000\r
11c20f4e 356\r
357 # System Memory (256MB) \r
358 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x70000000\r
359 gArmTokenSpaceGuid.PcdSystemMemorySize|0x10000000\r
360 \r
361 # Size of the region used by UEFI in permanent memory (Reserved 64MB)\r
362 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000\r
363 \r
364 #\r
365 # ARM Pcds\r
366 #\r
367 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000\r
368 \r
369 #\r
370 # ARM EB PCDS\r
371 #\r
372 gArmRealViewEbPkgTokenSpaceGuid.PcdGdbUartBase|0x1000a000\r
373 \r
374 #\r
375 # ARM PrimeCells\r
376 #\r
377 \r
378 ## SP804 Timer\r
379 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000\r
380 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms\r
381 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|33\r
382 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0x10011000\r
383 gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0x10012020\r
384 gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0x10012000\r
385 \r
386 ## PL031 RealTimeClock\r
387 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x10017000\r
388 \r
389 #\r
390 # ARM PL011 - Serial Terminal\r
391 #\r
392 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000\r
393 \r
394 #\r
395 # ARM PL390 General Interrupt Controller\r
396 #\r
397 gArmTokenSpaceGuid.PcdGicDistributorBase|0x1F001000\r
398 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x1F000100\r
399 gArmTokenSpaceGuid.PcdGicNumInterrupts|96\r
400\r
401 #\r
402 # ARM OS Loader\r
403 #\r
404 gArmTokenSpaceGuid.PcdArmMachineType|827\r
405 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"SemiHosting"\r
406 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/zImage"\r
407 gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|""\r
408 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1\r
409 \r
410 # Use the Serial console (ConIn & ConOut) and the Graphic driver (ConOut)\r
411 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi();VenHw(407B4008-BF5B-11DF-9547-CF16E0D72085)"\r
412 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi()"\r
413 gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10\r
414 \r
415 #\r
416 # ARM L2x0 PCDs\r
417 #\r
418 gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1F002000\r
419 \r
420 #\r
421 # ARM VE MP Core Mailbox\r
422 #\r
423 gArmTokenSpaceGuid.PcdMPCoreMailboxSetAddress|0x10000030\r
424 gArmTokenSpaceGuid.PcdMPCoreMailboxGetAddress|0x10000030\r
425 gArmTokenSpaceGuid.PcdMPCoreMailboxClearAddress|0x10000034\r
426 gArmTokenSpaceGuid.PcdMPCoreMailboxClearValue|0xFFFFFFFF\r
427\r
428\r
429################################################################################\r
430#\r
431# Components Section - list of all EDK II Modules needed by this Platform\r
432#\r
433################################################################################\r
434[Components.common]\r
435 \r
436#\r
437# SEC\r
438#\r
439 ArmPlatformPkg/Sec/Sec.inf\r
440 \r
441#\r
442# PEI Phase modules\r
443#\r
444!if $(EDK2_SKIP_PEICORE) == 1\r
445 ArmPlatformPkg/PrePi/PeiMPCore.inf {\r
446 <LibraryClasses>\r
55a0d64b 447 ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf\r
11c20f4e 448 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLib.inf\r
449 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf\r
450 }\r
451!else\r
452 ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf {\r
453 <LibraryClasses>\r
55a0d64b 454 ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf\r
11c20f4e 455 }\r
456 MdeModulePkg/Core/Pei/PeiMain.inf\r
457 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
458 <LibraryClasses>\r
459 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
460 }\r
461 ArmPlatformPkg/PlatformPei/PlatformPeim.inf\r
462 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf\r
44788bae 463 ArmPkg/Drivers/CpuPei/CpuPei.inf\r
11c20f4e 464 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
465 Nt32Pkg/BootModePei/BootModePei.inf\r
466 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
467 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r
468 <LibraryClasses>\r
469 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
470 }\r
471!endif\r
472\r
473#\r
474# DXE\r
475#\r
476 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
477 <LibraryClasses>\r
478 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
479 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
480 }\r
481\r
482 #\r
483 # Architectural Protocols\r
484 #\r
485 ArmPkg/Drivers/CpuDxe/CpuDxe.inf \r
486 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
487 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
488 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
489 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
490 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r
491 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
492 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf \r
493 \r
494 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r
495 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
496 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r
497\r
498 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
499 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
500 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf\r
501\r
502 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
503 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
504 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
505 EmbeddedPkg/SerialDxe/SerialDxe.inf\r
506\r
507 ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf\r
508 ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf\r
509 \r
510 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf\r
511\r
512 #\r
513 # Semi-hosting filesystem\r
514 #\r
515 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r
516 \r
517 #\r
518 # FAT filesystem + GPT/MBR partitioning\r
519 #\r
520 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
521 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
522 FatPkg/EnhancedFatDxe/Fat.inf\r
523 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
524 \r
525 \r
526 #\r
527 # Application\r
528 # \r
529 EmbeddedPkg/Ebl/Ebl.inf\r
530\r
531 #\r
532 # Bds\r
533 #\r
534 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
535 ArmPlatformPkg/Bds/Bds.inf\r