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