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