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