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