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