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