]>
Commit | Line | Data |
---|---|---|
6f5872b1 | 1 | #\r |
04f1a709 | 2 | # Copyright (c) 2011-2015, ARM Limited. All rights reserved.\r |
6f5872b1 | 3 | # Copyright (c) 2014, Linaro Limited. All rights reserved.\r |
48ed4769 | 4 | # Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.\r |
6f5872b1 MC |
5 | #\r |
6 | # This program and the accompanying materials\r | |
7 | # are licensed and made available under the terms and conditions of the BSD License\r | |
8 | # which accompanies this distribution. The full text of the license may be found at\r | |
9 | # http://opensource.org/licenses/bsd-license.php\r | |
10 | #\r | |
11 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | #\r | |
14 | #\r | |
15 | \r | |
d301991c LE |
16 | [Defines]\r |
17 | DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000004F\r | |
18 | \r | |
cc8de57b | 19 | [BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICATION]\r |
dfd85675 | 20 | GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r |
7b30036b | 21 | \r |
955b4946 AB |
22 | [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r |
23 | GCC:*_*_ARM_DLINK_FLAGS = -z common-page-size=0x1000\r | |
5670dd5e | 24 | GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000\r |
cd625ae9 | 25 | RVCT:*_*_ARM_DLINK_FLAGS = --scatter $(EDK_TOOLS_PATH)/Scripts/Rvct-Align4K.sct\r |
093b7c87 | 26 | \r |
6f5872b1 MC |
27 | [LibraryClasses.common]\r |
28 | !if $(TARGET) == RELEASE\r | |
29 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
6f5872b1 MC |
30 | !else\r |
31 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
6f5872b1 MC |
32 | !endif\r |
33 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r | |
34 | \r | |
35 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r | |
48ed4769 MK |
36 | SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r |
37 | BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r | |
6f5872b1 MC |
38 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r |
39 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
40 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
41 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
42 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r | |
0b37c75e | 43 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf\r |
6f5872b1 MC |
44 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r |
45 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r | |
46 | \r | |
47 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
7fbd1eb2 | 48 | HobLib|ArmVirtPkg/Library/ArmVirtDxeHobLib/ArmVirtDxeHobLib.inf\r |
6f5872b1 | 49 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r |
f9dff902 | 50 | DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r |
6f5872b1 MC |
51 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r |
52 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r | |
1946faa7 | 53 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r |
6f5872b1 MC |
54 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r |
55 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
56 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
57 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r | |
1946faa7 | 58 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r |
59fcf070 RN |
59 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r |
60 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r | |
6f5872b1 MC |
61 | \r |
62 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r | |
1c5adbef | 63 | OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r |
6f5872b1 MC |
64 | \r |
65 | #\r | |
5217ea2a VS |
66 | # Ramdisk Requirements\r |
67 | #\r | |
68 | FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r | |
69 | \r | |
6f5872b1 MC |
70 | # Allow dynamic PCDs\r |
71 | #\r | |
72 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
73 | \r | |
3c3cf1cd AB |
74 | # use the accelerated BaseMemoryLibOptDxe by default, overrides for SEC/PEI below\r |
75 | BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf\r | |
6f5872b1 MC |
76 | \r |
77 | # Networking Requirements\r | |
78 | NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r | |
79 | DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r | |
80 | UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r | |
81 | IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r | |
ae08ea24 | 82 | TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf\r |
77b702bf LE |
83 | !if $(HTTP_BOOT_ENABLE) == TRUE\r |
84 | HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf\r | |
85 | !endif\r | |
6f5872b1 | 86 | \r |
f8136625 MR |
87 | #\r |
88 | # It is not possible to prevent the ARM compiler from inserting calls to intrinsic functions.\r | |
89 | # This library provides the instrinsic functions such a compiler may generate calls to.\r | |
90 | #\r | |
91 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r | |
92 | \r | |
93 | # Add support for GCC stack protector\r | |
94 | NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r | |
95 | \r | |
6f5872b1 MC |
96 | # ARM Architectural Libraries\r |
97 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r | |
98 | DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r | |
9fa52603 | 99 | CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r |
6f5872b1 | 100 | ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r |
6f5872b1 | 101 | ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r |
15c9b25e | 102 | ArmGicArchLib|ArmVirtPkg/Library/ArmVirtGicArchLib/ArmVirtGicArchLib.inf\r |
6f5872b1 MC |
103 | ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r |
104 | ArmHvcLib|ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf\r | |
105 | ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf\r | |
106 | \r | |
7fbd1eb2 OM |
107 | PlatformPeiLib|ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf\r |
108 | MemoryInitPeiLib|ArmVirtPkg/Library/ArmVirtMemoryInitPeiLib/ArmVirtMemoryInitPeiLib.inf\r | |
7b1dc6c5 | 109 | ResetSystemLib|ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.inf\r |
6f5872b1 MC |
110 | \r |
111 | # ARM PL031 RTC Driver\r | |
112 | RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf\r | |
af5fed90 | 113 | TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf\r |
6f5872b1 | 114 | # ARM PL011 UART Driver\r |
1195b857 | 115 | PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf\r |
7fbd1eb2 | 116 | SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf\r |
6f5872b1 MC |
117 | \r |
118 | #\r | |
119 | # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window\r | |
120 | # in the debugger will show load and unload commands for symbols. You can cut and paste this\r | |
121 | # into the command window to load symbols. We should be able to use a script to do this, but\r | |
122 | # the version of RVD I have does not support scripts accessing system memory.\r | |
123 | #\r | |
124 | #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r | |
125 | PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r | |
126 | #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r | |
127 | \r | |
128 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r | |
129 | DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf\r | |
130 | \r | |
1c51e601 | 131 | # Flattened Device Tree (FDT) access library\r |
6f5872b1 MC |
132 | FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r |
133 | \r | |
10233c9e LE |
134 | # PCI Libraries\r |
135 | PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r | |
7fbd1eb2 | 136 | PciExpressLib|ArmVirtPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf\r |
65cefddc LE |
137 | PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf\r |
138 | PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf\r | |
139 | PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf\r | |
10233c9e | 140 | \r |
e17b1db5 LE |
141 | # USB Libraries\r |
142 | UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r | |
143 | \r | |
6abe83c3 AB |
144 | XenIoMmioLib|OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.inf\r |
145 | \r | |
80f882ab | 146 | #\r |
ae08ea24 | 147 | # CryptoPkg libraries needed by multiple firmware features\r |
80f882ab | 148 | #\r |
80f882ab | 149 | IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r |
622627f8 | 150 | OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r |
ae08ea24 | 151 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r |
ae08ea24 LE |
152 | \r |
153 | #\r | |
154 | # Secure Boot dependencies\r | |
155 | #\r | |
156 | !if $(SECURE_BOOT_ENABLE) == TRUE\r | |
80f882ab | 157 | TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r |
31c0338e | 158 | AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r |
80f882ab AB |
159 | \r |
160 | # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree\r | |
161 | PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r | |
31c0338e SZ |
162 | !else\r |
163 | TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r | |
164 | AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r | |
80f882ab | 165 | !endif\r |
0bdbaade | 166 | VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r |
dd320e63 | 167 | UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r |
80f882ab | 168 | \r |
59541d41 AB |
169 | ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r |
170 | \r | |
6f5872b1 MC |
171 | [LibraryClasses.common.SEC]\r |
172 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
3c3cf1cd | 173 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r |
6f5872b1 MC |
174 | \r |
175 | DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf\r | |
7fbd1eb2 | 176 | SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf\r |
6f5872b1 MC |
177 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r |
178 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
b761e8c2 | 179 | PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r |
6f5872b1 MC |
180 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r |
181 | \r | |
182 | [LibraryClasses.common.PEI_CORE]\r | |
183 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r | |
3c3cf1cd | 184 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r |
6f5872b1 MC |
185 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r |
186 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
187 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
188 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r | |
189 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r | |
6f5872b1 MC |
190 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r |
191 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
192 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
193 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r | |
194 | \r | |
b761e8c2 | 195 | PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r |
7fbd1eb2 | 196 | SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf\r |
6f5872b1 MC |
197 | \r |
198 | [LibraryClasses.common.PEIM]\r | |
199 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r | |
3c3cf1cd | 200 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r |
6f5872b1 MC |
201 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r |
202 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
203 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
204 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r | |
205 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r | |
6f5872b1 MC |
206 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r |
207 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
6f5872b1 MC |
208 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r |
209 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r | |
210 | \r | |
b761e8c2 | 211 | PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r |
7fbd1eb2 | 212 | SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf\r |
6f5872b1 MC |
213 | \r |
214 | [LibraryClasses.common.DXE_CORE]\r | |
215 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r | |
216 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r | |
217 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r | |
6f5872b1 MC |
218 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r |
219 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
6f5872b1 MC |
220 | PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r |
221 | \r | |
222 | [LibraryClasses.common.DXE_DRIVER]\r | |
6f5872b1 MC |
223 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r |
224 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
225 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
6f5872b1 MC |
226 | \r |
227 | [LibraryClasses.common.UEFI_APPLICATION]\r | |
228 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r | |
229 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
230 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
231 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
232 | \r | |
233 | [LibraryClasses.common.UEFI_DRIVER]\r | |
6f5872b1 MC |
234 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r |
235 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
236 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
6f5872b1 MC |
237 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r |
238 | \r | |
239 | [LibraryClasses.common.DXE_RUNTIME_DRIVER]\r | |
240 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
6f5872b1 | 241 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r |
ebfca258 AB |
242 | !if $(TARGET) != RELEASE\r |
243 | DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf\r | |
244 | !endif\r | |
6f5872b1 | 245 | \r |
80f882ab AB |
246 | !if $(SECURE_BOOT_ENABLE) == TRUE\r |
247 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r | |
248 | !endif\r | |
249 | \r | |
2c960244 AB |
250 | [LibraryClasses.ARM]\r |
251 | ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r | |
252 | \r | |
6f5872b1 MC |
253 | [BuildOptions]\r |
254 | RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r | |
255 | \r | |
256 | GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r | |
257 | \r | |
17dc8ebc LE |
258 | #\r |
259 | # Disable deprecated APIs.\r | |
260 | #\r | |
261 | RVCT:*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r | |
262 | GCC:*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r | |
263 | \r | |
6f5872b1 MC |
264 | ################################################################################\r |
265 | #\r | |
266 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform\r | |
267 | #\r | |
268 | ################################################################################\r | |
269 | \r | |
270 | [PcdsFeatureFlag.common]\r | |
6a238fa8 | 271 | gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r |
6f5872b1 | 272 | \r |
6f5872b1 MC |
273 | gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE\r |
274 | \r | |
d3644741 VS |
275 | [PcdsFeatureFlag.AARCH64]\r |
276 | #\r | |
277 | # Activate AcpiSdtProtocol\r | |
278 | #\r | |
279 | gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r | |
280 | \r | |
6f5872b1 | 281 | [PcdsFixedAtBuild.common]\r |
6f5872b1 MC |
282 | gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r |
283 | gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r | |
284 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r | |
285 | gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r | |
6f5872b1 MC |
286 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r |
287 | \r | |
288 | # DEBUG_ASSERT_ENABLED 0x01\r | |
289 | # DEBUG_PRINT_ENABLED 0x02\r | |
290 | # DEBUG_CODE_ENABLED 0x04\r | |
291 | # CLEAR_MEMORY_ENABLED 0x08\r | |
292 | # ASSERT_BREAKPOINT_ENABLED 0x10\r | |
293 | # ASSERT_DEADLOOP_ENABLED 0x20\r | |
294 | !if $(TARGET) == RELEASE\r | |
295 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21\r | |
296 | !else\r | |
297 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r | |
298 | !endif\r | |
299 | \r | |
300 | # DEBUG_INIT 0x00000001 // Initialization\r | |
301 | # DEBUG_WARN 0x00000002 // Warnings\r | |
302 | # DEBUG_LOAD 0x00000004 // Load events\r | |
303 | # DEBUG_FS 0x00000008 // EFI File system\r | |
ba4bcd7e LE |
304 | # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r |
305 | # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r | |
d301991c LE |
306 | # DEBUG_INFO 0x00000040 // Informational debug messages\r |
307 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r | |
6f5872b1 MC |
308 | # DEBUG_VARIABLE 0x00000100 // Variable\r |
309 | # DEBUG_BM 0x00000400 // Boot Manager\r | |
310 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r | |
ba4bcd7e | 311 | # DEBUG_NET 0x00004000 // SNP Driver\r |
6f5872b1 | 312 | # DEBUG_UNDI 0x00010000 // UNDI Driver\r |
ba4bcd7e | 313 | # DEBUG_LOADFILE 0x00020000 // LoadFile\r |
6f5872b1 MC |
314 | # DEBUG_EVENT 0x00080000 // Event messages\r |
315 | # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r | |
316 | # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r | |
d301991c LE |
317 | # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r |
318 | # // significantly impact boot performance\r | |
6f5872b1 | 319 | # DEBUG_ERROR 0x80000000 // Error\r |
cf837845 | 320 | !if $(TARGET) != RELEASE\r |
d301991c | 321 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)\r |
cf837845 | 322 | !endif\r |
6f5872b1 | 323 | \r |
6f5872b1 MC |
324 | #\r |
325 | # Optional feature to help prevent EFI memory map fragments\r | |
326 | # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r | |
327 | # Values are in EFI Pages (4K). DXE Core will make sure that\r | |
328 | # at least this much of each type of memory can be allocated\r | |
329 | # from a single memory range. This way you only end up with\r | |
7a908953 | 330 | # maximum of two fragments for each type in the memory map\r |
6f5872b1 MC |
331 | # (the memory used, and the free memory that was prereserved\r |
332 | # but not used).\r | |
333 | #\r | |
334 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r | |
335 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r | |
336 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r | |
e0bb8ad9 AB |
337 | !if $(SECURE_BOOT_ENABLE) == TRUE\r |
338 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|600\r | |
339 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|400\r | |
340 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1500\r | |
341 | !else\r | |
c1993157 AB |
342 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|300\r |
343 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|150\r | |
344 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1000\r | |
e0bb8ad9 | 345 | !endif\r |
2f71ad11 | 346 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|12000\r |
6f5872b1 MC |
347 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20\r |
348 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r | |
349 | \r | |
7b30036b AB |
350 | #\r |
351 | # Enable strict image permissions for all images. (This applies\r | |
352 | # only to images that were built with >= 4 KB section alignment.)\r | |
353 | #\r | |
354 | gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x3\r | |
355 | \r | |
1acd7c54 AB |
356 | #\r |
357 | # Enable NX memory protection for all non-code regions, including OEM and OS\r | |
358 | # reserved ones, with the exception of LoaderData regions, of which OS loaders\r | |
359 | # (i.e., GRUB) may assume that its contents are executable.\r | |
360 | #\r | |
361 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy|0xC000000000007FD1\r | |
362 | \r | |
6f5872b1 | 363 | [Components.common]\r |
d3644741 VS |
364 | #\r |
365 | # Ramdisk support\r | |
366 | #\r | |
367 | MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r | |
368 | \r | |
da1ce6f8 LE |
369 | #\r |
370 | # UEFI application (Shell Embedded Boot Loader)\r | |
371 | #\r | |
59fcf070 RN |
372 | ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r |
373 | <PcdsFixedAtBuild>\r | |
374 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
375 | }\r | |
da1ce6f8 LE |
376 | ShellPkg/Application/Shell/Shell.inf {\r |
377 | <LibraryClasses>\r | |
378 | ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r | |
379 | NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r | |
380 | NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r | |
381 | NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r | |
382 | NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r | |
383 | NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r | |
384 | NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r | |
385 | NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r | |
ae08ea24 LE |
386 | !if $(NETWORK_IP6_ENABLE) == TRUE\r |
387 | NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r | |
388 | !endif\r | |
da1ce6f8 | 389 | HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r |
da1ce6f8 LE |
390 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r |
391 | BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r | |
392 | \r | |
393 | <PcdsFixedAtBuild>\r | |
394 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r | |
395 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
396 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r | |
397 | }\r | |
fde03c80 VS |
398 | \r |
399 | [Components.AARCH64]\r | |
400 | #\r | |
401 | # ACPI Support\r | |
402 | #\r | |
3a2c1548 LE |
403 | MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf {\r |
404 | <LibraryClasses>\r | |
405 | NULL|EmbeddedPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.inf\r | |
406 | }\r | |
407 | \r | |
408 | #\r | |
409 | # EBC support\r | |
410 | #\r | |
81d9f86f | 411 | MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r |