]> git.proxmox.com Git - mirror_edk2.git/blob - ArmVirtPkg/ArmVirt.dsc.inc
edk2: Remove Contributions.txt and update Readme.md
[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 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.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 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.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 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
214 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
215
216 [LibraryClasses.common.DXE_DRIVER]
217 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
218 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
219 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
220
221 [LibraryClasses.common.UEFI_APPLICATION]
222 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
223 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
224 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
225 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
226
227 [LibraryClasses.common.UEFI_DRIVER]
228 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
229 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
230 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
231 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
232
233 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
234 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
235 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
236 !if $(TARGET) != RELEASE
237 DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf
238 !endif
239
240 !if $(SECURE_BOOT_ENABLE) == TRUE
241 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
242 !endif
243
244 [LibraryClasses.ARM]
245 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
246
247 [BuildOptions]
248 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
249
250 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
251
252 #
253 # Disable deprecated APIs.
254 #
255 RVCT:*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
256 GCC:*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
257
258 ################################################################################
259 #
260 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
261 #
262 ################################################################################
263
264 [PcdsFeatureFlag.common]
265 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
266
267 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
268
269 [PcdsFeatureFlag.AARCH64]
270 #
271 # Activate AcpiSdtProtocol
272 #
273 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
274
275 [PcdsFixedAtBuild.common]
276 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
277 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
278 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
279 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
280 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
281
282 # DEBUG_ASSERT_ENABLED 0x01
283 # DEBUG_PRINT_ENABLED 0x02
284 # DEBUG_CODE_ENABLED 0x04
285 # CLEAR_MEMORY_ENABLED 0x08
286 # ASSERT_BREAKPOINT_ENABLED 0x10
287 # ASSERT_DEADLOOP_ENABLED 0x20
288 !if $(TARGET) == RELEASE
289 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
290 !else
291 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
292 !endif
293
294 # DEBUG_INIT 0x00000001 // Initialization
295 # DEBUG_WARN 0x00000002 // Warnings
296 # DEBUG_LOAD 0x00000004 // Load events
297 # DEBUG_FS 0x00000008 // EFI File system
298 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
299 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
300 # DEBUG_INFO 0x00000040 // Informational debug messages
301 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
302 # DEBUG_VARIABLE 0x00000100 // Variable
303 # DEBUG_BM 0x00000400 // Boot Manager
304 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
305 # DEBUG_NET 0x00004000 // SNP Driver
306 # DEBUG_UNDI 0x00010000 // UNDI Driver
307 # DEBUG_LOADFILE 0x00020000 // LoadFile
308 # DEBUG_EVENT 0x00080000 // Event messages
309 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
310 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
311 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
312 # // significantly impact boot performance
313 # DEBUG_ERROR 0x80000000 // Error
314 !if $(TARGET) != RELEASE
315 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
316 !endif
317
318 #
319 # Optional feature to help prevent EFI memory map fragments
320 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
321 # Values are in EFI Pages (4K). DXE Core will make sure that
322 # at least this much of each type of memory can be allocated
323 # from a single memory range. This way you only end up with
324 # maximum of two fragments for each type in the memory map
325 # (the memory used, and the free memory that was prereserved
326 # but not used).
327 #
328 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
329 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
330 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
331 !if $(SECURE_BOOT_ENABLE) == TRUE
332 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|600
333 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|400
334 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1500
335 !else
336 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|300
337 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|150
338 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1000
339 !endif
340 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|12000
341 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
342 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
343
344 #
345 # Enable strict image permissions for all images. (This applies
346 # only to images that were built with >= 4 KB section alignment.)
347 #
348 gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x3
349
350 #
351 # Enable NX memory protection for all non-code regions, including OEM and OS
352 # reserved ones, with the exception of LoaderData regions, of which OS loaders
353 # (i.e., GRUB) may assume that its contents are executable.
354 #
355 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy|0xC000000000007FD1
356
357 [Components.common]
358 #
359 # Ramdisk support
360 #
361 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
362
363 #
364 # UEFI application (Shell Embedded Boot Loader)
365 #
366 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
367 <PcdsFixedAtBuild>
368 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
369 }
370 ShellPkg/Application/Shell/Shell.inf {
371 <LibraryClasses>
372 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
373 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
374 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
375 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
376 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
377 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
378 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
379 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
380 !if $(NETWORK_IP6_ENABLE) == TRUE
381 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
382 !endif
383 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
384 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
385 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
386
387 <PcdsFixedAtBuild>
388 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
389 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
390 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
391 }
392
393 [Components.AARCH64]
394 #
395 # ACPI Support
396 #
397 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf {
398 <LibraryClasses>
399 NULL|EmbeddedPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.inf
400 }
401
402 #
403 # EBC support
404 #
405 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf