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 = ArmRealViewEbPkg
21 PLATFORM_GUID = F4C1AD3E-9D3E-4F61-8791-B3BB1C43D04C
22 PLATFORM_VERSION = 0.1
23 DSC_SPECIFICATION = 0x00010005
24 OUTPUT_DIRECTORY = Build/ArmRealViewEb-RTSM-A8
25 SUPPORTED_ARCHITECTURES = ARM
26 BUILD_TARGETS = DEBUG|RELEASE
27 SKUID_IDENTIFIER = DEFAULT
28 FLASH_DEFINITION = ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-UniCore.fdf
30 [LibraryClasses.common]
31 !if $(BUILD_TARGETS) == 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/ArmV7Lib.inf
42 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
44 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
45 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
47 EfiResetSystemLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ResetSystemLib/ResetSystemLib.inf
48 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
49 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
51 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf
52 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
53 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
56 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
57 # in the debugger will show load and unload commands for symbols. You can cut and paste this
58 # into the command window to load symbols. We should be able to use a script to do this, but
59 # the version of RVD I have does not support scripts accessing system memory.
61 # PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
62 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
63 # PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
65 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
66 DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
68 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
70 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
72 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
74 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
75 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
77 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
78 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
79 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
80 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
81 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
83 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
84 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
85 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
88 # Assume everything is fixed at build
90 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
92 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
94 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf
96 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
97 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
99 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
101 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
102 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
103 DebugAgentTimerLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf
105 SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
106 TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf
107 GdbSerialLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/GdbSerialLib/GdbSerialLib.inf
108 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
110 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
112 [LibraryClasses.common.SEC]
113 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
114 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
115 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbSecLib.inf
117 # 1/123 faster than Stm or Vstm version
118 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
120 # Uncomment to turn on GDB stub in SEC.
121 #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
124 L2X0CacheLib|ArmPkg/Library/L2X0CacheLibNull/L2X0CacheLibNull.inf
125 # ARM PL390 General Interrupt Driver in Secure and Non-secure
126 PL390GicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSec.inf
128 [LibraryClasses.common.PEI_CORE]
129 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
130 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
131 # note: this won't actually work since globals in PEI are not writeable
132 # need to generate an ARM PEI services table pointer implementation
133 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
134 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
135 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
136 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
137 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
138 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
139 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
140 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
141 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
142 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
143 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
144 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
146 [LibraryClasses.common.PEIM]
147 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
148 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
149 # note: this won't actually work since globals in PEI are not writeable
150 # need to generate an ARM PEI services table pointer implementation
151 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
152 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
153 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
154 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
155 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
156 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
157 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
158 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
159 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
160 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
161 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
162 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
163 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
165 [LibraryClasses.common.DXE_CORE]
166 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
167 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
168 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
169 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
170 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
171 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
172 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
174 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
177 [LibraryClasses.common.DXE_DRIVER]
178 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
179 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
180 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
181 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
182 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
185 [LibraryClasses.common.UEFI_APPLICATION]
186 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
187 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
188 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
189 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
191 [LibraryClasses.common.UEFI_DRIVER]
192 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
193 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
194 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
195 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
196 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
198 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
199 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
200 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
201 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
202 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
203 # PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
204 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
208 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
209 # This library provides the instrinsic functions generate by a given compiler.
210 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
212 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
215 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A8 --thumb --fpu=softvfp -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
216 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A8 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
217 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
219 GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
220 GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
221 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
223 XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
224 XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
225 XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
226 XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
229 ################################################################################
231 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
233 ################################################################################
235 [PcdsFeatureFlag.common]
236 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
237 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
238 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
239 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
241 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
243 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
244 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
246 gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE
248 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
250 gArmPlatformTokenSpaceGuid.PcdStandalone|TRUE
252 !if $(EDK2_SKIP_PEICORE) == 1
253 gArmTokenSpaceGuid.PcdSkipPeiCore|TRUE
256 [PcdsFixedAtBuild.common]
257 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmRealViewEb %a"
258 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32
259 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0
260 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
261 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
262 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
263 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
264 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
265 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
266 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
267 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
269 # DEBUG_ASSERT_ENABLED 0x01
270 # DEBUG_PRINT_ENABLED 0x02
271 # DEBUG_CODE_ENABLED 0x04
272 # CLEAR_MEMORY_ENABLED 0x08
273 # ASSERT_BREAKPOINT_ENABLED 0x10
274 # ASSERT_DEADLOOP_ENABLED 0x20
275 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
277 # DEBUG_INIT 0x00000001 // Initialization
278 # DEBUG_WARN 0x00000002 // Warnings
279 # DEBUG_LOAD 0x00000004 // Load events
280 # DEBUG_FS 0x00000008 // EFI File system
281 # DEBUG_POOL 0x00000010 // Alloc & Free's
282 # DEBUG_PAGE 0x00000020 // Alloc & Free's
283 # DEBUG_INFO 0x00000040 // Verbose
284 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
285 # DEBUG_VARIABLE 0x00000100 // Variable
286 # DEBUG_BM 0x00000400 // Boot Manager
287 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
288 # DEBUG_NET 0x00004000 // SNI Driver
289 # DEBUG_UNDI 0x00010000 // UNDI Driver
290 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
291 # DEBUG_EVENT 0x00080000 // Event messages
292 # DEBUG_ERROR 0x80000000 // Error
293 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
295 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
297 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
298 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
299 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
302 # Optional feature to help prevent EFI memory map fragments
303 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
304 # Values are in EFI Pages (4K). DXE Core will make sure that
305 # at least this much of each type of memory can be allocated
306 # from a single memory range. This way you only end up with
307 # maximum of two fragements for each type in the memory map
308 # (the memory used, and the free memory that was prereserved
311 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x00000000
313 # Stack for CPU Cores in Secure Mode
314 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x4B000000 # Top of SEC Stack for Secure World
315 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecStackSize|0x2000 # Size of SEC Stack for Secure World
317 # Stack for CPU Cores in Secure Monitor Mode
318 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x4A000000 # Top of SEC Stack for Monitor World
319 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x2000 # Size of SEC Stack for Monitor World
321 # Stack for CPU Cores in Non Secure Mode
322 gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackBase|0x48000000 # Top of SEC Stack for Normal World
323 gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackSize|0x20000 # Size of SEC Stack for Normal World
324 gArmPlatformTokenSpaceGuid.PcdPeiServicePtrAddr|0x48020004 # Pei Services Ptr just above stack
326 # Non Sec UEFI Firmware: These two PCDs must match PcdFlashFvMainBase/PcdFlashFvMainSize
327 gArmTokenSpaceGuid.PcdNormalFdBaseAddress|0x40050000 # Must be equal to gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase
328 gArmTokenSpaceGuid.PcdNormalFdSize|0x00100000 # Must be equal to gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize
330 # System Memory (256MB)
331 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x70000000
332 gArmTokenSpaceGuid.PcdSystemMemorySize|0x10000000
334 # Size of the region used by UEFI in permanent memory (Reserved 64MB)
335 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000
337 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms
342 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
347 gArmRealViewEbPkgTokenSpaceGuid.PcdGdbUartBase|0x1000a000
350 # ARM PL390 General Interrupt Controller
352 gArmTokenSpaceGuid.PcdGicDistributorBase|0x10041000
353 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x10040000
354 gArmTokenSpaceGuid.PcdGicNumInterrupts|96
359 # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux:
360 gArmTokenSpaceGuid.PcdArmMachineType|2272
361 gArmTokenSpaceGuid.PcdLinuxKernelDP|L"VenHw(02118005-9DA7-443a-92D5-781F022AEDBB)/MemoryMapped(0,0x46000000,0x46400000)"
362 gArmTokenSpaceGuid.PcdLinuxAtag|"rdinit=/bin/ash debug earlyprintk console=ttyAMA0,38400 mem=1G"
363 gArmTokenSpaceGuid.PcdFdtDP|L""
368 gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1F002000
372 ################################################################################
374 # Components Section - list of all EDK II Modules needed by this Platform
376 ################################################################################
382 ArmPlatformPkg/Sec/Sec.inf
383 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf
388 MdeModulePkg/Core/Pei/PeiMain.inf
389 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
391 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
393 ArmPlatformPkg/PlatformPei/PlatformPei.inf
394 ArmPlatformPkg/MemoryInitPei/MemoryInitPei.inf
395 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
396 Nt32Pkg/BootModePei/BootModePei.inf
397 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
398 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
400 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
406 MdeModulePkg/Core/Dxe/DxeMain.inf {
408 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
409 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
413 # Architectural Protocols
415 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
416 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
417 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
418 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
419 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
420 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
421 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
423 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
424 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
425 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
427 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
429 ArmPlatformPkg/ArmRealViewEbPkg/FvbDxe/FvbDxe.inf
430 ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf
431 ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf
434 # Semi-hosting filesystem
436 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
439 # FAT filesystem + GPT/MBR partitioning
441 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
442 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
443 FatPkg/EnhancedFatDxe/Fat.inf
444 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
450 EmbeddedPkg/Ebl/Ebl.inf
455 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
456 ArmPlatformPkg/Bds/Bds.inf