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