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