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