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