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