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