]> git.proxmox.com Git - mirror_edk2.git/blame - ArmVirtPkg/ArmVirt.dsc.inc
EmulatorPkg: Make the shell be the first boot option
[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
48ed4769 4# Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.\r
6f5872b1 5#\r
9792fb0e 6# SPDX-License-Identifier: BSD-2-Clause-Patent\r
6f5872b1
MC
7#\r
8#\r
9\r
d301991c
LE
10[Defines]\r
11 DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000004F\r
12\r
cc8de57b 13[BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICATION]\r
dfd85675 14 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
7b30036b 15\r
955b4946
AB
16[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
17 GCC:*_*_ARM_DLINK_FLAGS = -z common-page-size=0x1000\r
5670dd5e 18 GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000\r
cd625ae9 19 RVCT:*_*_ARM_DLINK_FLAGS = --scatter $(EDK_TOOLS_PATH)/Scripts/Rvct-Align4K.sct\r
093b7c87 20\r
6f5872b1
MC
21[LibraryClasses.common]\r
22!if $(TARGET) == RELEASE\r
23 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
6f5872b1
MC
24!else\r
25 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
6f5872b1
MC
26!endif\r
27 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
28\r
29 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
48ed4769
MK
30 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
31 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r
6f5872b1
MC
32 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
33 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
34 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
35 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
36 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
0b37c75e 37 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf\r
6f5872b1
MC
38 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
39 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
40\r
41 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
7fbd1eb2 42 HobLib|ArmVirtPkg/Library/ArmVirtDxeHobLib/ArmVirtDxeHobLib.inf\r
6f5872b1 43 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
f9dff902 44 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
6f5872b1
MC
45 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
46 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
1946faa7 47 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
6f5872b1
MC
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
1946faa7 52 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
59fcf070 53 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
034dec6c 54 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
59fcf070 55 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
6f5872b1
MC
56\r
57 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
1c5adbef 58 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
6f5872b1
MC
59\r
60 #\r
5217ea2a
VS
61 # Ramdisk Requirements\r
62 #\r
63 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
64\r
6f5872b1
MC
65 # Allow dynamic PCDs\r
66 #\r
67 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
68\r
3c3cf1cd
AB
69 # use the accelerated BaseMemoryLibOptDxe by default, overrides for SEC/PEI below\r
70 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf\r
6f5872b1
MC
71\r
72 # Networking Requirements\r
73 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
74 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
75 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
76 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
ae08ea24 77 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf\r
77b702bf
LE
78!if $(HTTP_BOOT_ENABLE) == TRUE\r
79 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf\r
80!endif\r
6f5872b1 81\r
f8136625
MR
82 #\r
83 # It is not possible to prevent the ARM compiler from inserting calls to intrinsic functions.\r
84 # This library provides the instrinsic functions such a compiler may generate calls to.\r
85 #\r
86 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
87\r
88 # Add support for GCC stack protector\r
89 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
90\r
6f5872b1
MC
91 # ARM Architectural Libraries\r
92 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
93 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r
9fa52603 94 CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r
6f5872b1 95 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r
6f5872b1 96 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r
15c9b25e 97 ArmGicArchLib|ArmVirtPkg/Library/ArmVirtGicArchLib/ArmVirtGicArchLib.inf\r
6f5872b1
MC
98 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r
99 ArmHvcLib|ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf\r
100 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf\r
101\r
7fbd1eb2
OM
102 PlatformPeiLib|ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf\r
103 MemoryInitPeiLib|ArmVirtPkg/Library/ArmVirtMemoryInitPeiLib/ArmVirtMemoryInitPeiLib.inf\r
7b1dc6c5 104 ResetSystemLib|ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.inf\r
6f5872b1
MC
105\r
106 # ARM PL031 RTC Driver\r
107 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf\r
af5fed90 108 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf\r
6f5872b1 109 # ARM PL011 UART Driver\r
1195b857 110 PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf\r
7fbd1eb2 111 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf\r
6f5872b1
MC
112\r
113 #\r
114 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window\r
115 # in the debugger will show load and unload commands for symbols. You can cut and paste this\r
116 # into the command window to load symbols. We should be able to use a script to do this, but\r
117 # the version of RVD I have does not support scripts accessing system memory.\r
118 #\r
119 #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r
120 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r
121 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
122\r
123 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
124 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf\r
125\r
1c51e601 126 # Flattened Device Tree (FDT) access library\r
6f5872b1
MC
127 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r
128\r
10233c9e
LE
129 # PCI Libraries\r
130 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
7fbd1eb2 131 PciExpressLib|ArmVirtPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf\r
65cefddc
LE
132 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf\r
133 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf\r
134 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf\r
10233c9e 135\r
e17b1db5
LE
136 # USB Libraries\r
137 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
138\r
6abe83c3
AB
139 XenIoMmioLib|OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.inf\r
140\r
80f882ab 141 #\r
ae08ea24 142 # CryptoPkg libraries needed by multiple firmware features\r
80f882ab 143 #\r
80f882ab 144 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
622627f8 145 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r
ae08ea24 146 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
ae08ea24
LE
147\r
148 #\r
149 # Secure Boot dependencies\r
150 #\r
151!if $(SECURE_BOOT_ENABLE) == TRUE\r
80f882ab 152 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
31c0338e 153 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
80f882ab
AB
154\r
155 # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree\r
156 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r
31c0338e
SZ
157!else\r
158 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
159 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
80f882ab 160!endif\r
0bdbaade 161 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
dd320e63 162 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
80f882ab 163\r
59541d41
AB
164 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
165\r
6f5872b1
MC
166[LibraryClasses.common.SEC]\r
167 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
3c3cf1cd 168 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
6f5872b1
MC
169\r
170 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf\r
7fbd1eb2 171 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf\r
6f5872b1
MC
172 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
173 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
b761e8c2 174 PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
6f5872b1
MC
175 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
176\r
177[LibraryClasses.common.PEI_CORE]\r
178 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
3c3cf1cd 179 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
6f5872b1
MC
180 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
181 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
182 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
183 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
184 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
6f5872b1
MC
185 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
186 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
6f5872b1
MC
187 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
188\r
b761e8c2 189 PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
7fbd1eb2 190 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf\r
6f5872b1
MC
191\r
192[LibraryClasses.common.PEIM]\r
193 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
3c3cf1cd 194 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
6f5872b1
MC
195 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
196 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
197 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
198 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
199 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
6f5872b1
MC
200 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
201 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
6f5872b1
MC
202 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
203\r
b761e8c2 204 PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
7fbd1eb2 205 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf\r
6f5872b1
MC
206\r
207[LibraryClasses.common.DXE_CORE]\r
208 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
209 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
210 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
6f5872b1 211 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
6f5872b1
MC
212 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r
213\r
214[LibraryClasses.common.DXE_DRIVER]\r
6f5872b1
MC
215 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
216 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
217 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
6f5872b1
MC
218\r
219[LibraryClasses.common.UEFI_APPLICATION]\r
6f5872b1
MC
220 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
221 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
222 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
223\r
224[LibraryClasses.common.UEFI_DRIVER]\r
6f5872b1
MC
225 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
226 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
6f5872b1
MC
227 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
228\r
229[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
230 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
6f5872b1 231 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
ebfca258
AB
232!if $(TARGET) != RELEASE\r
233 DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf\r
234!endif\r
6f5872b1 235\r
80f882ab
AB
236!if $(SECURE_BOOT_ENABLE) == TRUE\r
237 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
238!endif\r
239\r
2c960244
AB
240[LibraryClasses.ARM]\r
241 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r
242\r
6f5872b1
MC
243[BuildOptions]\r
244 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
245\r
246 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
247\r
17dc8ebc
LE
248 #\r
249 # Disable deprecated APIs.\r
250 #\r
251 RVCT:*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r
252 GCC:*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r
253\r
6f5872b1
MC
254################################################################################\r
255#\r
256# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
257#\r
258################################################################################\r
259\r
260[PcdsFeatureFlag.common]\r
6a238fa8 261 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
6f5872b1 262\r
6f5872b1
MC
263 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE\r
264\r
d3644741
VS
265[PcdsFeatureFlag.AARCH64]\r
266 #\r
267 # Activate AcpiSdtProtocol\r
268 #\r
269 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
270\r
6f5872b1 271[PcdsFixedAtBuild.common]\r
6f5872b1
MC
272 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r
273 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r
274 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r
275 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r
6f5872b1
MC
276 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r
277\r
278 # DEBUG_ASSERT_ENABLED 0x01\r
279 # DEBUG_PRINT_ENABLED 0x02\r
280 # DEBUG_CODE_ENABLED 0x04\r
281 # CLEAR_MEMORY_ENABLED 0x08\r
282 # ASSERT_BREAKPOINT_ENABLED 0x10\r
283 # ASSERT_DEADLOOP_ENABLED 0x20\r
284!if $(TARGET) == RELEASE\r
285 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21\r
286!else\r
287 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r
288!endif\r
289\r
290 # DEBUG_INIT 0x00000001 // Initialization\r
291 # DEBUG_WARN 0x00000002 // Warnings\r
292 # DEBUG_LOAD 0x00000004 // Load events\r
293 # DEBUG_FS 0x00000008 // EFI File system\r
ba4bcd7e
LE
294 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
295 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
d301991c
LE
296 # DEBUG_INFO 0x00000040 // Informational debug messages\r
297 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
6f5872b1
MC
298 # DEBUG_VARIABLE 0x00000100 // Variable\r
299 # DEBUG_BM 0x00000400 // Boot Manager\r
300 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
ba4bcd7e 301 # DEBUG_NET 0x00004000 // SNP Driver\r
6f5872b1 302 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
ba4bcd7e 303 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
6f5872b1
MC
304 # DEBUG_EVENT 0x00080000 // Event messages\r
305 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
306 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
d301991c
LE
307 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
308 # // significantly impact boot performance\r
6f5872b1 309 # DEBUG_ERROR 0x80000000 // Error\r
cf837845 310!if $(TARGET) != RELEASE\r
d301991c 311 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)\r
cf837845 312!endif\r
6f5872b1 313\r
6f5872b1
MC
314 #\r
315 # Optional feature to help prevent EFI memory map fragments\r
316 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r
317 # Values are in EFI Pages (4K). DXE Core will make sure that\r
318 # at least this much of each type of memory can be allocated\r
319 # from a single memory range. This way you only end up with\r
7a908953 320 # maximum of two fragments for each type in the memory map\r
6f5872b1
MC
321 # (the memory used, and the free memory that was prereserved\r
322 # but not used).\r
323 #\r
324 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r
325 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r
326 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r
e0bb8ad9
AB
327!if $(SECURE_BOOT_ENABLE) == TRUE\r
328 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|600\r
329 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|400\r
330 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1500\r
331!else\r
c1993157
AB
332 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|300\r
333 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|150\r
334 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1000\r
e0bb8ad9 335!endif\r
2f71ad11 336 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|12000\r
6f5872b1
MC
337 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20\r
338 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r
339\r
7b30036b
AB
340 #\r
341 # Enable strict image permissions for all images. (This applies\r
342 # only to images that were built with >= 4 KB section alignment.)\r
343 #\r
344 gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x3\r
345\r
1acd7c54
AB
346 #\r
347 # Enable NX memory protection for all non-code regions, including OEM and OS\r
348 # reserved ones, with the exception of LoaderData regions, of which OS loaders\r
349 # (i.e., GRUB) may assume that its contents are executable.\r
350 #\r
351 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy|0xC000000000007FD1\r
352\r
6f5872b1 353[Components.common]\r
d3644741
VS
354 #\r
355 # Ramdisk support\r
356 #\r
357 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
358\r
da1ce6f8
LE
359 #\r
360 # UEFI application (Shell Embedded Boot Loader)\r
361 #\r
59fcf070
RN
362 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
363 <PcdsFixedAtBuild>\r
364 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
365 }\r
da1ce6f8
LE
366 ShellPkg/Application/Shell/Shell.inf {\r
367 <LibraryClasses>\r
368 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
369 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
370 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
371 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
372 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
373 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
374 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
375 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
ae08ea24
LE
376!if $(NETWORK_IP6_ENABLE) == TRUE\r
377 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
378!endif\r
da1ce6f8 379 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
da1ce6f8
LE
380 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
381 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
382\r
383 <PcdsFixedAtBuild>\r
384 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
385 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
386 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
387 }\r
fde03c80
VS
388\r
389[Components.AARCH64]\r
390 #\r
391 # ACPI Support\r
392 #\r
3a2c1548
LE
393 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf {\r
394 <LibraryClasses>\r
395 NULL|EmbeddedPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.inf\r
396 }\r
397\r
398 #\r
399 # EBC support\r
400 #\r
81d9f86f 401 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r