]> git.proxmox.com Git - mirror_edk2.git/blame - ArmVirtPkg/ArmVirt.dsc.inc
ShellPkg/DynamicCommand: add HttpDynamicCommand
[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
7551529c
AB
13!if $(TARGET) != NOOPT\r
14 DEFINE FD_SIZE_IN_MB = 2\r
15!else\r
16 DEFINE FD_SIZE_IN_MB = 3\r
17!endif\r
18\r
19!if $(FD_SIZE_IN_MB) == 2\r
20 DEFINE FD_SIZE = 0x200000\r
21 DEFINE FD_NUM_BLOCKS = 0x200\r
22!endif\r
23!if $(FD_SIZE_IN_MB) == 3\r
24 DEFINE FD_SIZE = 0x300000\r
25 DEFINE FD_NUM_BLOCKS = 0x300\r
26!endif\r
27\r
cc8de57b 28[BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICATION]\r
dfd85675 29 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
7b30036b 30\r
955b4946
AB
31[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
32 GCC:*_*_ARM_DLINK_FLAGS = -z common-page-size=0x1000\r
5670dd5e 33 GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000\r
cd625ae9 34 RVCT:*_*_ARM_DLINK_FLAGS = --scatter $(EDK_TOOLS_PATH)/Scripts/Rvct-Align4K.sct\r
093b7c87 35\r
6f5872b1
MC
36[LibraryClasses.common]\r
37!if $(TARGET) == RELEASE\r
38 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
6f5872b1
MC
39!else\r
40 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
6f5872b1
MC
41!endif\r
42 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
43\r
44 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
48ed4769
MK
45 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
46 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r
6f5872b1
MC
47 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
48 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
49 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
50 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
51 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
0b37c75e 52 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf\r
6f5872b1
MC
53 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
54 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
55\r
56 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
7fbd1eb2 57 HobLib|ArmVirtPkg/Library/ArmVirtDxeHobLib/ArmVirtDxeHobLib.inf\r
6f5872b1 58 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
f9dff902 59 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
6f5872b1
MC
60 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
61 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
1946faa7 62 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
6f5872b1
MC
63 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
64 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
65 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
66 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
1946faa7 67 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
59fcf070 68 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
034dec6c 69 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
59fcf070 70 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
6f5872b1
MC
71\r
72 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
1c5adbef 73 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
6f5872b1
MC
74\r
75 #\r
5217ea2a
VS
76 # Ramdisk Requirements\r
77 #\r
78 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
79\r
6f5872b1
MC
80 # Allow dynamic PCDs\r
81 #\r
82 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
83\r
3c3cf1cd
AB
84 # use the accelerated BaseMemoryLibOptDxe by default, overrides for SEC/PEI below\r
85 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf\r
6f5872b1
MC
86\r
87 # Networking Requirements\r
157a3b1a 88!include NetworkPkg/NetworkLibs.dsc.inc\r
ffe048a0
LE
89!if $(NETWORK_TLS_ENABLE) == TRUE\r
90 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r
91!endif\r
157a3b1a 92\r
6f5872b1 93\r
f8136625
MR
94 #\r
95 # It is not possible to prevent the ARM compiler from inserting calls to intrinsic functions.\r
96 # This library provides the instrinsic functions such a compiler may generate calls to.\r
97 #\r
98 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
99\r
100 # Add support for GCC stack protector\r
101 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
102\r
6f5872b1
MC
103 # ARM Architectural Libraries\r
104 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
105 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r
9fa52603 106 CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r
6f5872b1 107 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r
6f5872b1 108 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r
15c9b25e 109 ArmGicArchLib|ArmVirtPkg/Library/ArmVirtGicArchLib/ArmVirtGicArchLib.inf\r
6f5872b1
MC
110 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r
111 ArmHvcLib|ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf\r
112 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf\r
113\r
7fbd1eb2
OM
114 PlatformPeiLib|ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf\r
115 MemoryInitPeiLib|ArmVirtPkg/Library/ArmVirtMemoryInitPeiLib/ArmVirtMemoryInitPeiLib.inf\r
7b1dc6c5 116 ResetSystemLib|ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.inf\r
6f5872b1
MC
117\r
118 # ARM PL031 RTC Driver\r
119 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf\r
af5fed90 120 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf\r
6f5872b1 121 # ARM PL011 UART Driver\r
1195b857 122 PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf\r
7fbd1eb2 123 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf\r
6f5872b1
MC
124\r
125 #\r
126 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window\r
127 # in the debugger will show load and unload commands for symbols. You can cut and paste this\r
128 # into the command window to load symbols. We should be able to use a script to do this, but\r
129 # the version of RVD I have does not support scripts accessing system memory.\r
130 #\r
131 #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r
132 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r
133 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
134\r
135 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
136 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf\r
137\r
1c51e601 138 # Flattened Device Tree (FDT) access library\r
6f5872b1
MC
139 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r
140\r
10233c9e
LE
141 # PCI Libraries\r
142 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
7fbd1eb2 143 PciExpressLib|ArmVirtPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf\r
65cefddc
LE
144 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf\r
145 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf\r
146 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf\r
10233c9e 147\r
e17b1db5
LE
148 # USB Libraries\r
149 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
150\r
6abe83c3
AB
151 XenIoMmioLib|OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.inf\r
152\r
80f882ab 153 #\r
ae08ea24 154 # CryptoPkg libraries needed by multiple firmware features\r
80f882ab 155 #\r
80f882ab 156 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
ffe048a0
LE
157!if $(NETWORK_TLS_ENABLE) == TRUE\r
158 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
159!else\r
622627f8 160 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r
ffe048a0 161!endif\r
ae08ea24 162 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
41681375 163 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r
ae08ea24
LE
164\r
165 #\r
166 # Secure Boot dependencies\r
167 #\r
168!if $(SECURE_BOOT_ENABLE) == TRUE\r
31c0338e 169 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
80f882ab
AB
170\r
171 # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree\r
172 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r
31c0338e 173!else\r
31c0338e 174 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
80f882ab 175!endif\r
0bdbaade 176 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
dd320e63 177 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
80f882ab 178\r
59541d41
AB
179 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
180\r
6f5872b1
MC
181[LibraryClasses.common.SEC]\r
182 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
3c3cf1cd 183 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
6f5872b1
MC
184\r
185 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf\r
7fbd1eb2 186 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf\r
6f5872b1
MC
187 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
188 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
b761e8c2 189 PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
6f5872b1
MC
190 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
191\r
192[LibraryClasses.common.PEI_CORE]\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 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.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.PEIM]\r
208 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
3c3cf1cd 209 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
6f5872b1
MC
210 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
211 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
212 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
213 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
214 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
6f5872b1
MC
215 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
216 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
6f5872b1
MC
217 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
218\r
b761e8c2 219 PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
7fbd1eb2 220 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf\r
6f5872b1
MC
221\r
222[LibraryClasses.common.DXE_CORE]\r
223 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
224 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
225 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
6f5872b1 226 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
6f5872b1
MC
227 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r
228\r
229[LibraryClasses.common.DXE_DRIVER]\r
6f5872b1
MC
230 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
231 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
232 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
6f5872b1
MC
233\r
234[LibraryClasses.common.UEFI_APPLICATION]\r
6f5872b1
MC
235 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
236 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
237 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
238\r
239[LibraryClasses.common.UEFI_DRIVER]\r
6f5872b1
MC
240 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
241 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
6f5872b1
MC
242 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
243\r
244[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
245 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
6f5872b1 246 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
ebfca258
AB
247!if $(TARGET) != RELEASE\r
248 DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf\r
249!endif\r
6f5872b1 250\r
80f882ab
AB
251!if $(SECURE_BOOT_ENABLE) == TRUE\r
252 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
253!endif\r
254\r
2c960244
AB
255[LibraryClasses.ARM]\r
256 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r
257\r
6f5872b1
MC
258[BuildOptions]\r
259 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
260\r
261 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
262\r
17dc8ebc
LE
263 #\r
264 # Disable deprecated APIs.\r
265 #\r
266 RVCT:*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r
267 GCC:*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r
268\r
6f5872b1
MC
269################################################################################\r
270#\r
271# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
272#\r
273################################################################################\r
274\r
275[PcdsFeatureFlag.common]\r
6a238fa8 276 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
6f5872b1 277\r
6f5872b1
MC
278 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE\r
279\r
d3644741
VS
280[PcdsFeatureFlag.AARCH64]\r
281 #\r
282 # Activate AcpiSdtProtocol\r
283 #\r
284 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
285\r
6f5872b1 286[PcdsFixedAtBuild.common]\r
6f5872b1
MC
287 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r
288 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r
289 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r
290 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r
6f5872b1
MC
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
ba4bcd7e
LE
309 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
310 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\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
ba4bcd7e 316 # DEBUG_NET 0x00004000 // SNP Driver\r
6f5872b1 317 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
ba4bcd7e 318 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
6f5872b1
MC
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
cf837845 325!if $(TARGET) != RELEASE\r
d301991c 326 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)\r
cf837845 327!endif\r
6f5872b1 328\r
6f5872b1
MC
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
7a908953 335 # maximum of two fragments for each type in the memory map\r
6f5872b1
MC
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
2f71ad11 351 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|12000\r
6f5872b1
MC
352 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20\r
353 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r
354\r
7b30036b
AB
355 #\r
356 # Enable strict image permissions for all images. (This applies\r
357 # only to images that were built with >= 4 KB section alignment.)\r
358 #\r
359 gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x3\r
360\r
1acd7c54
AB
361 #\r
362 # Enable NX memory protection for all non-code regions, including OEM and OS\r
363 # reserved ones, with the exception of LoaderData regions, of which OS loaders\r
364 # (i.e., GRUB) may assume that its contents are executable.\r
365 #\r
366 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy|0xC000000000007FD1\r
367\r
6f5872b1 368[Components.common]\r
d3644741
VS
369 #\r
370 # Ramdisk support\r
371 #\r
372 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
373\r
da1ce6f8
LE
374 #\r
375 # UEFI application (Shell Embedded Boot Loader)\r
376 #\r
59fcf070
RN
377 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
378 <PcdsFixedAtBuild>\r
379 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
380 }\r
1e404c40
AB
381 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {\r
382 <PcdsFixedAtBuild>\r
383 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
384 }\r
da1ce6f8
LE
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
ae08ea24
LE
395!if $(NETWORK_IP6_ENABLE) == TRUE\r
396 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
397!endif\r
da1ce6f8 398 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
da1ce6f8
LE
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
fde03c80
VS
407\r
408[Components.AARCH64]\r
409 #\r
410 # ACPI Support\r
411 #\r
3a2c1548
LE
412 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf {\r
413 <LibraryClasses>\r
414 NULL|EmbeddedPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.inf\r
415 }\r
416\r
417 #\r
418 # EBC support\r
419 #\r
81d9f86f 420 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r