2 # Copyright (c) 2011 - 2022, ARM Limited. All rights reserved.
3 # Copyright (c) 2014, Linaro Limited. All rights reserved.
4 # Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
5 # Copyright (c) Microsoft Corporation.
7 # SPDX-License-Identifier: BSD-2-Clause-Patent
12 DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000004F
14 !if $(TARGET) != NOOPT
15 DEFINE FD_SIZE_IN_MB = 2
17 DEFINE FD_SIZE_IN_MB = 3
20 !if $(FD_SIZE_IN_MB) == 2
21 DEFINE FD_SIZE = 0x200000
22 DEFINE FD_NUM_BLOCKS = 0x200
24 !if $(FD_SIZE_IN_MB) == 3
25 DEFINE FD_SIZE = 0x300000
26 DEFINE FD_NUM_BLOCKS = 0x300
29 [BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICATION]
30 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
32 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
33 GCC:*_*_ARM_DLINK_FLAGS = -z common-page-size=0x1000
34 GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
36 [LibraryClasses.common]
37 !if $(TARGET) == RELEASE
38 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
40 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
42 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
44 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
45 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
46 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
47 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
48 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
49 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
50 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
51 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
52 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf
53 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
54 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
56 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
57 HobLib|ArmVirtPkg/Library/ArmVirtDxeHobLib/ArmVirtDxeHobLib.inf
58 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
59 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
60 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
61 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
62 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
63 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
64 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
65 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
66 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
67 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
68 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
69 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
70 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
72 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
73 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
76 # Ramdisk Requirements
78 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
82 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
84 # use the accelerated BaseMemoryLibOptDxe by default, overrides for SEC/PEI below
85 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
87 # Networking Requirements
88 !include NetworkPkg/NetworkLibs.dsc.inc
89 !if $(NETWORK_TLS_ENABLE) == TRUE
90 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
95 # It is not possible to prevent the ARM compiler from inserting calls to intrinsic functions.
96 # This library provides the instrinsic functions such a compiler may generate calls to.
98 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
100 # Add support for GCC stack protector
101 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
103 # ARM Architectural Libraries
104 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
105 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
106 CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
107 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
108 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
109 ArmGicArchLib|ArmVirtPkg/Library/ArmVirtGicArchLib/ArmVirtGicArchLib.inf
110 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
111 ArmHvcLib|ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf
112 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf
114 PlatformPeiLib|ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf
115 MemoryInitPeiLib|ArmVirtPkg/Library/ArmVirtMemoryInitPeiLib/ArmVirtMemoryInitPeiLib.inf
116 ResetSystemLib|ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.inf
118 # ARM PL031 RTC Driver
119 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
120 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
121 # ARM PL011 UART Driver
122 PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
123 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf
126 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
127 # in the debugger will show load and unload commands for symbols. You can cut and paste this
128 # into the command window to load symbols. We should be able to use a script to do this, but
129 # the version of RVD I have does not support scripts accessing system memory.
131 #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
132 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
133 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
135 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
136 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
138 # Flattened Device Tree (FDT) access library
139 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
142 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
143 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
144 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
145 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
146 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
149 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
151 XenIoMmioLib|OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.inf
154 # CryptoPkg libraries needed by multiple firmware features
156 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
157 !if $(NETWORK_TLS_ENABLE) == TRUE
158 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
160 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
162 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
163 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
166 # Secure Boot dependencies
168 !if $(SECURE_BOOT_ENABLE) == TRUE
169 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
170 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
171 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
173 # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree
174 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
176 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
178 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
179 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
180 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
181 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
182 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
184 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
186 [LibraryClasses.common.SEC]
187 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
188 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
190 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
191 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
192 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
193 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
194 PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
195 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
197 [LibraryClasses.common.PEI_CORE]
198 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
199 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
200 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
201 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
202 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
203 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
204 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
205 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
206 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
207 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
209 PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
210 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
212 [LibraryClasses.common.PEIM]
213 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
214 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
215 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
216 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
217 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
218 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
219 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
220 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
221 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
222 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
224 PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
225 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
227 [LibraryClasses.common.DXE_CORE]
228 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
229 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
230 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
231 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
232 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
234 [LibraryClasses.common.DXE_DRIVER]
235 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
236 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
237 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
239 [LibraryClasses.common.UEFI_APPLICATION]
240 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
241 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
242 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
244 [LibraryClasses.common.UEFI_DRIVER]
245 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
246 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
247 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
249 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
250 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
251 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
252 !if $(TARGET) != RELEASE
253 DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf
255 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
257 !if $(SECURE_BOOT_ENABLE) == TRUE
258 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
262 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
265 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
268 # Disable deprecated APIs.
270 GCC:*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
272 ################################################################################
274 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
276 ################################################################################
278 [PcdsFeatureFlag.common]
279 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
281 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
283 [PcdsFeatureFlag.AARCH64]
285 # Activate AcpiSdtProtocol
287 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
289 [PcdsFixedAtBuild.common]
290 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
291 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
292 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
293 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
294 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
296 # DEBUG_ASSERT_ENABLED 0x01
297 # DEBUG_PRINT_ENABLED 0x02
298 # DEBUG_CODE_ENABLED 0x04
299 # CLEAR_MEMORY_ENABLED 0x08
300 # ASSERT_BREAKPOINT_ENABLED 0x10
301 # ASSERT_DEADLOOP_ENABLED 0x20
302 !if $(TARGET) == RELEASE
303 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
305 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
308 # DEBUG_INIT 0x00000001 // Initialization
309 # DEBUG_WARN 0x00000002 // Warnings
310 # DEBUG_LOAD 0x00000004 // Load events
311 # DEBUG_FS 0x00000008 // EFI File system
312 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
313 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
314 # DEBUG_INFO 0x00000040 // Informational debug messages
315 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
316 # DEBUG_VARIABLE 0x00000100 // Variable
317 # DEBUG_BM 0x00000400 // Boot Manager
318 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
319 # DEBUG_NET 0x00004000 // SNP Driver
320 # DEBUG_UNDI 0x00010000 // UNDI Driver
321 # DEBUG_LOADFILE 0x00020000 // LoadFile
322 # DEBUG_EVENT 0x00080000 // Event messages
323 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
324 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
325 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
326 # // significantly impact boot performance
327 # DEBUG_ERROR 0x80000000 // Error
328 !if $(TARGET) != RELEASE
329 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
333 # Optional feature to help prevent EFI memory map fragments
334 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
335 # Values are in EFI Pages (4K). DXE Core will make sure that
336 # at least this much of each type of memory can be allocated
337 # from a single memory range. This way you only end up with
338 # maximum of two fragments for each type in the memory map
339 # (the memory used, and the free memory that was prereserved
342 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
343 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
344 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
345 !if $(SECURE_BOOT_ENABLE) == TRUE
346 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|600
347 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|400
348 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1500
350 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|300
351 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|150
352 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1000
354 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|12000
355 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
356 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
359 # Enable strict image permissions for all images. (This applies
360 # only to images that were built with >= 4 KB section alignment.)
362 gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x3
365 # Enable NX memory protection for all non-code regions, including OEM and OS
366 # reserved ones, with the exception of LoaderData regions, of which OS loaders
367 # (i.e., GRUB) may assume that its contents are executable.
369 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy|0xC000000000007FD1
375 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
377 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
379 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
381 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
383 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
385 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
387 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
389 ShellPkg/Application/Shell/Shell.inf {
391 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
392 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
393 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
394 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
395 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
396 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
397 !if $(ACPIVIEW_ENABLE) == TRUE
398 NULL|ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf
400 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
401 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
402 !if $(NETWORK_IP6_ENABLE) == TRUE
403 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
405 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
406 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
407 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
410 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
411 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
412 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
419 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf {
421 NULL|EmbeddedPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.inf
427 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf