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