]> git.proxmox.com Git - mirror_edk2.git/blob - ArmVirtPkg/ArmVirt.dsc.inc
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / ArmVirtPkg / ArmVirt.dsc.inc
1 #
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.
6 #
7 # SPDX-License-Identifier: BSD-2-Clause-Patent
8 #
9 #
10
11 [Defines]
12 DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000004F
13
14 !if $(TARGET) != NOOPT
15 DEFINE FD_SIZE_IN_MB = 2
16 !else
17 DEFINE FD_SIZE_IN_MB = 3
18 !endif
19
20 !if $(FD_SIZE_IN_MB) == 2
21 DEFINE FD_SIZE = 0x200000
22 DEFINE FD_NUM_BLOCKS = 0x200
23 !endif
24 !if $(FD_SIZE_IN_MB) == 3
25 DEFINE FD_SIZE = 0x300000
26 DEFINE FD_NUM_BLOCKS = 0x300
27 !endif
28
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
31
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
35
36 [LibraryClasses.common]
37 !if $(TARGET) == RELEASE
38 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
39 !else
40 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
41 !endif
42 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
43
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
55
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
71
72 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
73 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
74
75 #
76 # Ramdisk Requirements
77 #
78 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
79
80 # Allow dynamic PCDs
81 #
82 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
83
84 # use the accelerated BaseMemoryLibOptDxe by default, overrides for SEC/PEI below
85 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
86
87 # Networking Requirements
88 !include NetworkPkg/NetworkLibs.dsc.inc
89 !if $(NETWORK_TLS_ENABLE) == TRUE
90 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
91 !endif
92
93
94 #
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.
97 #
98 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
99
100 # Add support for GCC stack protector
101 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
102
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
113
114 PlatformPeiLib|ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf
115 MemoryInitPeiLib|ArmVirtPkg/Library/ArmVirtMemoryInitPeiLib/ArmVirtMemoryInitPeiLib.inf
116 ResetSystemLib|ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.inf
117
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
124
125 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
126 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
127
128 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
129 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
130
131 # Flattened Device Tree (FDT) access library
132 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
133
134 # PCI Libraries
135 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
136 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
137 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
138 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
139 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
140 DxeHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/DxeHardwareInfoLib.inf
141
142 # USB Libraries
143 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
144
145 XenIoMmioLib|OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.inf
146
147 #
148 # CryptoPkg libraries needed by multiple firmware features
149 #
150 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
151 !if $(NETWORK_TLS_ENABLE) == TRUE
152 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
153 !else
154 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
155 !endif
156 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
157 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
158
159 #
160 # Secure Boot dependencies
161 #
162 !if $(SECURE_BOOT_ENABLE) == TRUE
163 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
164 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
165 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
166 PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
167
168 # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree
169 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
170 !else
171 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
172 !endif
173 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
174 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
175 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
176 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
177 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
178
179 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
180
181 [LibraryClasses.common.SEC]
182 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
183 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
184
185 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
186 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
187 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
188 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
189 PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
190 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
191
192 [LibraryClasses.common.PEI_CORE]
193 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
194 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
195 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
196 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
197 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
198 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
199 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
200 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
201 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
202 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
203
204 PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
205 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
206
207 [LibraryClasses.common.PEIM]
208 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
209 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
210 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
211 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
212 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
213 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
214 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
215 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
216 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
217 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
218
219 PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
220 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
221
222 [LibraryClasses.common.DXE_CORE]
223 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
224 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
225 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
226 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
227 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
228
229 [LibraryClasses.common.DXE_DRIVER]
230 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
231 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
232 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
233
234 [LibraryClasses.common.UEFI_APPLICATION]
235 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
236 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
237 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
238
239 [LibraryClasses.common.UEFI_DRIVER]
240 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
241 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
242 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
243
244 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
245 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
246 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
247 !if $(TARGET) != RELEASE
248 DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf
249 !endif
250 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
251
252 !if $(SECURE_BOOT_ENABLE) == TRUE
253 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
254 !endif
255
256 [LibraryClasses.ARM]
257 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
258
259 [BuildOptions]
260 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
261
262 #
263 # Disable deprecated APIs.
264 #
265 GCC:*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
266
267 ################################################################################
268 #
269 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
270 #
271 ################################################################################
272
273 [PcdsFeatureFlag.common]
274 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
275
276 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
277
278 [PcdsFeatureFlag.AARCH64]
279 #
280 # Activate AcpiSdtProtocol
281 #
282 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
283
284 [PcdsFixedAtBuild.common]
285 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
286 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
287 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
288 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
289 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
290
291 # DEBUG_ASSERT_ENABLED 0x01
292 # DEBUG_PRINT_ENABLED 0x02
293 # DEBUG_CODE_ENABLED 0x04
294 # CLEAR_MEMORY_ENABLED 0x08
295 # ASSERT_BREAKPOINT_ENABLED 0x10
296 # ASSERT_DEADLOOP_ENABLED 0x20
297 !if $(TARGET) == RELEASE
298 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
299 !else
300 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
301 !endif
302
303 # DEBUG_INIT 0x00000001 // Initialization
304 # DEBUG_WARN 0x00000002 // Warnings
305 # DEBUG_LOAD 0x00000004 // Load events
306 # DEBUG_FS 0x00000008 // EFI File system
307 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
308 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
309 # DEBUG_INFO 0x00000040 // Informational debug messages
310 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
311 # DEBUG_VARIABLE 0x00000100 // Variable
312 # DEBUG_BM 0x00000400 // Boot Manager
313 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
314 # DEBUG_NET 0x00004000 // SNP Driver
315 # DEBUG_UNDI 0x00010000 // UNDI Driver
316 # DEBUG_LOADFILE 0x00020000 // LoadFile
317 # DEBUG_EVENT 0x00080000 // Event messages
318 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
319 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
320 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
321 # // significantly impact boot performance
322 # DEBUG_ERROR 0x80000000 // Error
323 !if $(TARGET) != RELEASE
324 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
325 !endif
326
327 #
328 # Optional feature to help prevent EFI memory map fragments
329 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
330 # Values are in EFI Pages (4K). DXE Core will make sure that
331 # at least this much of each type of memory can be allocated
332 # from a single memory range. This way you only end up with
333 # maximum of two fragments for each type in the memory map
334 # (the memory used, and the free memory that was prereserved
335 # but not used).
336 #
337 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
338 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
339 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
340 !if $(SECURE_BOOT_ENABLE) == TRUE
341 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|600
342 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|400
343 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1500
344 !else
345 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|300
346 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|150
347 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1000
348 !endif
349 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|12000
350 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
351 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
352
353 #
354 # Enable strict image permissions for all images. (This applies
355 # only to images that were built with >= 4 KB section alignment.)
356 #
357 gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x3
358
359 #
360 # Enable NX memory protection for all non-code regions, including OEM and OS
361 # reserved ones, with the exception of LoaderData regions, of which OS loaders
362 # (i.e., GRUB) may assume that its contents are executable.
363 #
364 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy|0xC000000000007FD5
365
366 [Components.common]
367 #
368 # Ramdisk support
369 #
370 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
371
372 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
373 <PcdsFixedAtBuild>
374 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
375 }
376 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
377 <PcdsFixedAtBuild>
378 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
379 }
380 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
381 <PcdsFixedAtBuild>
382 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
383 }
384 ShellPkg/Application/Shell/Shell.inf {
385 <LibraryClasses>
386 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
387 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
388 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
389 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
390 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
391 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
392 !if $(ACPIVIEW_ENABLE) == TRUE
393 NULL|ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf
394 !endif
395 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
396 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
397 !if $(NETWORK_IP6_ENABLE) == TRUE
398 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
399 !endif
400 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
401 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
402 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
403
404 <PcdsFixedAtBuild>
405 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
406 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
407 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
408 }
409
410 [Components.AARCH64]
411 #
412 # ACPI Support
413 #
414 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf {
415 <LibraryClasses>
416 NULL|EmbeddedPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.inf
417 }