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