]> git.proxmox.com Git - mirror_edk2.git/blob - ArmVirtPkg/ArmVirt.dsc.inc
8f9617359607ef797c3043fa0333bb64cdd6b550
[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 !if $(TARGET) != NOOPT
14 DEFINE FD_SIZE_IN_MB = 2
15 !else
16 DEFINE FD_SIZE_IN_MB = 3
17 !endif
18
19 !if $(FD_SIZE_IN_MB) == 2
20 DEFINE FD_SIZE = 0x200000
21 DEFINE FD_NUM_BLOCKS = 0x200
22 !endif
23 !if $(FD_SIZE_IN_MB) == 3
24 DEFINE FD_SIZE = 0x300000
25 DEFINE FD_NUM_BLOCKS = 0x300
26 !endif
27
28 [BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICATION]
29 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
30
31 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
32 GCC:*_*_ARM_DLINK_FLAGS = -z common-page-size=0x1000
33 GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
34 RVCT:*_*_ARM_DLINK_FLAGS = --scatter $(EDK_TOOLS_PATH)/Scripts/Rvct-Align4K.sct
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 #
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.
130 #
131 #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
132 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
133 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
134
135 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
136 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
137
138 # Flattened Device Tree (FDT) access library
139 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
140
141 # PCI Libraries
142 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
143 PciExpressLib|ArmVirtPkg/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
147
148 # USB Libraries
149 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
150
151 XenIoMmioLib|OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.inf
152
153 #
154 # CryptoPkg libraries needed by multiple firmware features
155 #
156 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
157 !if $(NETWORK_TLS_ENABLE) == TRUE
158 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
159 !else
160 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
161 !endif
162 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
163
164 #
165 # Secure Boot dependencies
166 #
167 !if $(SECURE_BOOT_ENABLE) == TRUE
168 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
169
170 # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree
171 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
172 !else
173 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
174 !endif
175 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
176 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.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
251 !if $(SECURE_BOOT_ENABLE) == TRUE
252 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
253 !endif
254
255 [LibraryClasses.ARM]
256 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
257
258 [BuildOptions]
259 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
260
261 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
262
263 #
264 # Disable deprecated APIs.
265 #
266 RVCT:*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
267 GCC:*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
268
269 ################################################################################
270 #
271 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
272 #
273 ################################################################################
274
275 [PcdsFeatureFlag.common]
276 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
277
278 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
279
280 [PcdsFeatureFlag.AARCH64]
281 #
282 # Activate AcpiSdtProtocol
283 #
284 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
285
286 [PcdsFixedAtBuild.common]
287 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
288 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
289 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
290 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
291 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
292
293 # DEBUG_ASSERT_ENABLED 0x01
294 # DEBUG_PRINT_ENABLED 0x02
295 # DEBUG_CODE_ENABLED 0x04
296 # CLEAR_MEMORY_ENABLED 0x08
297 # ASSERT_BREAKPOINT_ENABLED 0x10
298 # ASSERT_DEADLOOP_ENABLED 0x20
299 !if $(TARGET) == RELEASE
300 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
301 !else
302 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
303 !endif
304
305 # DEBUG_INIT 0x00000001 // Initialization
306 # DEBUG_WARN 0x00000002 // Warnings
307 # DEBUG_LOAD 0x00000004 // Load events
308 # DEBUG_FS 0x00000008 // EFI File system
309 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
310 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
311 # DEBUG_INFO 0x00000040 // Informational debug messages
312 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
313 # DEBUG_VARIABLE 0x00000100 // Variable
314 # DEBUG_BM 0x00000400 // Boot Manager
315 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
316 # DEBUG_NET 0x00004000 // SNP Driver
317 # DEBUG_UNDI 0x00010000 // UNDI Driver
318 # DEBUG_LOADFILE 0x00020000 // LoadFile
319 # DEBUG_EVENT 0x00080000 // Event messages
320 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
321 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
322 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
323 # // significantly impact boot performance
324 # DEBUG_ERROR 0x80000000 // Error
325 !if $(TARGET) != RELEASE
326 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
327 !endif
328
329 #
330 # Optional feature to help prevent EFI memory map fragments
331 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
332 # Values are in EFI Pages (4K). DXE Core will make sure that
333 # at least this much of each type of memory can be allocated
334 # from a single memory range. This way you only end up with
335 # maximum of two fragments for each type in the memory map
336 # (the memory used, and the free memory that was prereserved
337 # but not used).
338 #
339 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
340 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
341 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
342 !if $(SECURE_BOOT_ENABLE) == TRUE
343 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|600
344 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|400
345 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1500
346 !else
347 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|300
348 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|150
349 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1000
350 !endif
351 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|12000
352 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
353 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
354
355 #
356 # Enable strict image permissions for all images. (This applies
357 # only to images that were built with >= 4 KB section alignment.)
358 #
359 gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x3
360
361 #
362 # Enable NX memory protection for all non-code regions, including OEM and OS
363 # reserved ones, with the exception of LoaderData regions, of which OS loaders
364 # (i.e., GRUB) may assume that its contents are executable.
365 #
366 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy|0xC000000000007FD1
367
368 [Components.common]
369 #
370 # Ramdisk support
371 #
372 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
373
374 #
375 # UEFI application (Shell Embedded Boot Loader)
376 #
377 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
378 <PcdsFixedAtBuild>
379 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
380 }
381 ShellPkg/Application/Shell/Shell.inf {
382 <LibraryClasses>
383 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
384 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
385 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
386 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
387 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
388 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
389 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
390 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
391 !if $(NETWORK_IP6_ENABLE) == TRUE
392 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
393 !endif
394 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
395 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
396 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
397
398 <PcdsFixedAtBuild>
399 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
400 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
401 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
402 }
403
404 [Components.AARCH64]
405 #
406 # ACPI Support
407 #
408 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf {
409 <LibraryClasses>
410 NULL|EmbeddedPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.inf
411 }
412
413 #
414 # EBC support
415 #
416 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf