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