]> git.proxmox.com Git - mirror_edk2.git/blob - ArmVirtPkg/ArmVirt.dsc.inc
ArmVirtPkg: use 4 KB section alignment for ARM DXE_RUNTIME_DRIVER modules
[mirror_edk2.git] / ArmVirtPkg / ArmVirt.dsc.inc
1 #
2 # Copyright (c) 2011-2015, ARM Limited. All rights reserved.
3 # Copyright (c) 2014, Linaro Limited. All rights reserved.
4 # Copyright (c) 2015, Intel Corporation. All rights reserved.
5 #
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 #
15
16 [Defines]
17 DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000004F
18 DEFINE TTY_TERMINAL = FALSE
19
20 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
21 GCC:*_*_ARM_DLINK_FLAGS = -z common-page-size=0x1000
22 GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
23
24 [LibraryClasses.common]
25 !if $(TARGET) == RELEASE
26 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
27 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
28 !else
29 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
30 UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
31 !endif
32 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
33
34 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
35 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
36 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
37 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
38 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
39 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
40 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
41 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
42 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
43
44 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
45 HobLib|ArmVirtPkg/Library/ArmVirtDxeHobLib/ArmVirtDxeHobLib.inf
46 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
47 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
48 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
49 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
50 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
51 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
52 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
53 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
54
55 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
56 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
57
58 #
59 # Allow dynamic PCDs
60 #
61 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
62
63 # 1/123 faster than Stm or Vstm version
64 #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
65 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
66
67 # Networking Requirements
68 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
69 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
70 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
71 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
72
73 # ARM Architectural Libraries
74 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
75 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
76 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
77 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
78 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
79 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
80 ArmGicArchLib|ArmVirtPkg/Library/ArmVirtGicArchLib/ArmVirtGicArchLib.inf
81 ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
82 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
83 ArmHvcLib|ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf
84 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf
85
86 PlatformPeiLib|ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf
87 MemoryInitPeiLib|ArmVirtPkg/Library/ArmVirtMemoryInitPeiLib/ArmVirtMemoryInitPeiLib.inf
88 EfiResetSystemLib|ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.inf
89
90 # ARM PL031 RTC Driver
91 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
92 # ARM PL011 UART Driver
93 PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf
94 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf
95 SerialPortExtLib|EmbeddedPkg/Library/SerialPortExtLibNull/SerialPortExtLibNull.inf
96
97 #
98 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
99 # in the debugger will show load and unload commands for symbols. You can cut and paste this
100 # into the command window to load symbols. We should be able to use a script to do this, but
101 # the version of RVD I have does not support scripts accessing system memory.
102 #
103 #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
104 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
105 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
106
107 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
108 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
109
110 # Flattened Device Tree (FDT) access library
111 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
112
113 # PCI Libraries
114 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
115 PciExpressLib|ArmVirtPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
116
117 # USB Libraries
118 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
119
120 XenIoMmioLib|OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.inf
121
122 #
123 # Secure Boot dependencies
124 #
125 !if $(SECURE_BOOT_ENABLE) == TRUE
126 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
127 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
128 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
129 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
130 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
131
132 # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree
133 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
134 !else
135 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
136 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
137 !endif
138 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
139
140 [LibraryClasses.common.SEC]
141 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
142 ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
143 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf
144
145 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
146 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
147 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
148 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
149 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
150 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
151 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
152
153 [LibraryClasses.common.PEI_CORE]
154 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
155 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
156 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
157 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
158 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
159 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
160 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
161 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
162 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
163 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
164 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
165
166 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
167 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
168 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
169
170 [LibraryClasses.common.PEIM]
171 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
172 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
173 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
174 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
175 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
176 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
177 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
178 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
179 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
180 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
181 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
182 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
183
184 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
185 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
186 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
187
188 [LibraryClasses.common.DXE_CORE]
189 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
190 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
191 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
192 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
193 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
194 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
195 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
196 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
197
198 [LibraryClasses.common.DXE_DRIVER]
199 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
200 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
201 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
202 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
203 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
204 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf
205
206 [LibraryClasses.common.UEFI_APPLICATION]
207 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
208 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
209 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
210 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
211 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
212 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
213 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
214
215 [LibraryClasses.common.UEFI_DRIVER]
216 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
217 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
218 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
219 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
220 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
221 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
222
223 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
224 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
225 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
226 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
227
228 !if $(SECURE_BOOT_ENABLE) == TRUE
229 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
230 !endif
231
232 [LibraryClasses.ARM]
233 #
234 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
235 # This library provides the instrinsic functions generate by a given compiler.
236 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
237 #
238 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
239
240 # Add support for GCC stack protector
241 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
242
243 [LibraryClasses.AARCH64]
244 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
245
246
247 [BuildOptions]
248 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
249
250 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
251
252 ################################################################################
253 #
254 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
255 #
256 ################################################################################
257
258 [PcdsFeatureFlag.common]
259 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
260 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
261 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
262 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
263
264 #
265 # Control what commands are supported from the UI
266 # Turn these on and off to add features or save size
267 #
268 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
269 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
270 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
271 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
272 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
273 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
274 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
275
276 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
277
278 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
279 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
280
281 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
282
283 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
284
285 [PcdsFixedAtBuild.common]
286 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
287 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
288 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
289 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
290 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
291 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
292 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
293 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
294
295 # DEBUG_ASSERT_ENABLED 0x01
296 # DEBUG_PRINT_ENABLED 0x02
297 # DEBUG_CODE_ENABLED 0x04
298 # CLEAR_MEMORY_ENABLED 0x08
299 # ASSERT_BREAKPOINT_ENABLED 0x10
300 # ASSERT_DEADLOOP_ENABLED 0x20
301 !if $(TARGET) == RELEASE
302 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
303 !else
304 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
305 !endif
306
307 # DEBUG_INIT 0x00000001 // Initialization
308 # DEBUG_WARN 0x00000002 // Warnings
309 # DEBUG_LOAD 0x00000004 // Load events
310 # DEBUG_FS 0x00000008 // EFI File system
311 # DEBUG_POOL 0x00000010 // Alloc & Free's
312 # DEBUG_PAGE 0x00000020 // Alloc & Free's
313 # DEBUG_INFO 0x00000040 // Informational debug messages
314 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
315 # DEBUG_VARIABLE 0x00000100 // Variable
316 # DEBUG_BM 0x00000400 // Boot Manager
317 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
318 # DEBUG_NET 0x00004000 // SNI Driver
319 # DEBUG_UNDI 0x00010000 // UNDI Driver
320 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
321 # DEBUG_EVENT 0x00080000 // Event messages
322 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
323 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
324 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
325 # // significantly impact boot performance
326 # DEBUG_ERROR 0x80000000 // Error
327 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
328
329 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
330
331 #
332 # Optional feature to help prevent EFI memory map fragments
333 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
334 # Values are in EFI Pages (4K). DXE Core will make sure that
335 # at least this much of each type of memory can be allocated
336 # from a single memory range. This way you only end up with
337 # maximum of two fragements for each type in the memory map
338 # (the memory used, and the free memory that was prereserved
339 # but not used).
340 #
341 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
342 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
343 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
344 !if $(SECURE_BOOT_ENABLE) == TRUE
345 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|600
346 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|400
347 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1500
348 !else
349 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|300
350 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|150
351 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1000
352 !endif
353 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|12000
354 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
355 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
356
357 #
358 # ARM Pcds
359 #
360 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000
361
362 !if $(SECURE_BOOT_ENABLE) == TRUE
363 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
364 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
365 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
366 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
367 !endif
368
369 !if $(TTY_TERMINAL) == TRUE
370 # Set terminal type to TtyTerm, the value encoded is EFI_TTY_TERM_GUID
371 gArmVirtTokenSpaceGuid.PcdTerminalTypeGuidBuffer|{0x80, 0x6d, 0x91, 0x7d, 0xb1, 0x5b, 0x8c, 0x45, 0xa4, 0x8f, 0xe2, 0x5f, 0xdd, 0x51, 0xef, 0x94}
372 !endif
373
374 [PcdsFixedAtBuild.ARM]
375 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|40
376
377 [Components.common]
378 #
379 # Networking stack
380 #
381 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
382 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
383 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
384 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
385 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
386 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
387 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
388 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
389 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
390 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
391 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
392
393 #
394 # UEFI application (Shell Embedded Boot Loader)
395 #
396 ShellPkg/Application/Shell/Shell.inf {
397 <LibraryClasses>
398 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
399 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
400 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
401 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
402 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
403 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
404 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
405 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
406 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
407 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
408 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
409 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
410
411 <PcdsFixedAtBuild>
412 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
413 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
414 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
415 }