]>
Commit | Line | Data |
---|---|---|
04af8bf2 DG |
1 | ## @file\r |
2 | # Bootloader Payload Package\r | |
3 | #\r | |
4 | # Provides drivers and definitions to create uefi payload for bootloaders.\r | |
5 | #\r | |
08c65f7c | 6 | # Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR>\r |
d49fe0ca | 7 | # Copyright (c) Microsoft Corporation.\r |
04af8bf2 DG |
8 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r |
9 | #\r | |
10 | ##\r | |
11 | \r | |
12 | ################################################################################\r | |
13 | #\r | |
14 | # Defines Section - statements that will be processed to create a Makefile.\r | |
15 | #\r | |
16 | ################################################################################\r | |
17 | [Defines]\r | |
18 | PLATFORM_NAME = UefiPayloadPkg\r | |
19 | PLATFORM_GUID = F71608AB-D63D-4491-B744-A99998C8CD96\r | |
20 | PLATFORM_VERSION = 0.1\r | |
21 | DSC_SPECIFICATION = 0x00010005\r | |
22 | SUPPORTED_ARCHITECTURES = IA32|X64\r | |
23 | BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r | |
24 | SKUID_IDENTIFIER = DEFAULT\r | |
25 | OUTPUT_DIRECTORY = Build/UefiPayloadPkgX64\r | |
26 | FLASH_DEFINITION = UefiPayloadPkg/UefiPayloadPkg.fdf\r | |
be282b14 | 27 | PCD_DYNAMIC_AS_DYNAMICEX = TRUE\r |
04af8bf2 DG |
28 | \r |
29 | DEFINE SOURCE_DEBUG_ENABLE = FALSE\r | |
33a32936 | 30 | DEFINE PS2_KEYBOARD_ENABLE = FALSE\r |
d60915b7 ZL |
31 | DEFINE RAM_DISK_ENABLE = FALSE\r |
32 | DEFINE SIO_BUS_ENABLE = FALSE\r | |
82f727c4 | 33 | DEFINE UNIVERSAL_PAYLOAD = FALSE\r |
19ee56c4 | 34 | DEFINE SECURITY_STUB_ENABLE = TRUE\r |
b80c17b6 | 35 | DEFINE SMM_SUPPORT = FALSE\r |
04af8bf2 DG |
36 | #\r |
37 | # SBL: UEFI payload for Slim Bootloader\r | |
38 | # COREBOOT: UEFI payload for coreboot\r | |
39 | #\r | |
b80c17b6 | 40 | DEFINE BOOTLOADER = SBL\r |
04af8bf2 DG |
41 | \r |
42 | #\r | |
43 | # CPU options\r | |
44 | #\r | |
442e46d3 | 45 | DEFINE MAX_LOGICAL_PROCESSORS = 256\r |
04af8bf2 DG |
46 | \r |
47 | #\r | |
48 | # PCI options\r | |
49 | #\r | |
3900a63e | 50 | DEFINE PCIE_BASE_SUPPORT = TRUE\r |
04af8bf2 DG |
51 | \r |
52 | #\r | |
53 | # Serial port set up\r | |
54 | #\r | |
55 | DEFINE BAUD_RATE = 115200\r | |
56 | DEFINE SERIAL_CLOCK_RATE = 1843200\r | |
57 | DEFINE SERIAL_LINE_CONTROL = 3 # 8-bits, no parity\r | |
58 | DEFINE SERIAL_HARDWARE_FLOW_CONTROL = FALSE\r | |
59 | DEFINE SERIAL_DETECT_CABLE = FALSE\r | |
60 | DEFINE SERIAL_FIFO_CONTROL = 7 # Enable FIFO\r | |
61 | DEFINE SERIAL_EXTENDED_TX_FIFO_SIZE = 16\r | |
62 | DEFINE UART_DEFAULT_BAUD_RATE = $(BAUD_RATE)\r | |
63 | DEFINE UART_DEFAULT_DATA_BITS = 8\r | |
64 | DEFINE UART_DEFAULT_PARITY = 1\r | |
65 | DEFINE UART_DEFAULT_STOP_BITS = 1\r | |
66 | DEFINE DEFAULT_TERMINAL_TYPE = 0\r | |
67 | \r | |
48aa2edf PR |
68 | # Enabling the serial terminal will slow down the boot menu redering!\r |
69 | DEFINE DISABLE_SERIAL_TERMINAL = FALSE\r | |
70 | \r | |
04af8bf2 DG |
71 | #\r |
72 | # typedef struct {\r | |
73 | # UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.\r | |
74 | # UINT16 DeviceId; ///< Device ID to match the PCI device\r | |
75 | # UINT32 ClockRate; ///< UART clock rate. Set to 0 for default clock rate of 1843200 Hz\r | |
76 | # UINT64 Offset; ///< The byte offset into to the BAR\r | |
77 | # UINT8 BarIndex; ///< Which BAR to get the UART base address\r | |
78 | # UINT8 RegisterStride; ///< UART register stride in bytes. Set to 0 for default register stride of 1 byte.\r | |
79 | # UINT16 ReceiveFifoDepth; ///< UART receive FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.\r | |
80 | # UINT16 TransmitFifoDepth; ///< UART transmit FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.\r | |
81 | # UINT8 Reserved[2];\r | |
82 | # } PCI_SERIAL_PARAMETER;\r | |
83 | #\r | |
84 | # Vendor FFFF Device 0000 Prog Interface 1, BAR #0, Offset 0, Stride = 1, Clock 1843200 (0x1c2000)\r | |
85 | #\r | |
86 | # [Vendor] [Device] [----ClockRate---] [------------Offset-----------] [Bar] [Stride] [RxFifo] [TxFifo] [Rsvd] [Vendor]\r | |
87 | DEFINE PCI_SERIAL_PARAMETERS = {0xff,0xff, 0x00,0x00, 0x0,0x20,0x1c,0x00, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x00, 0x01, 0x0,0x0, 0x0,0x0, 0x0,0x0, 0xff,0xff}\r | |
88 | \r | |
89 | #\r | |
90 | # Shell options: [BUILD_SHELL, MIN_BIN, NONE, UEFI_BIN]\r | |
91 | #\r | |
92 | DEFINE SHELL_TYPE = BUILD_SHELL\r | |
93 | \r | |
b80c17b6 GD |
94 | #\r |
95 | # EMU: UEFI payload with EMU variable\r | |
96 | # SPI: UEFI payload with SPI NV variable support\r | |
97 | # NONE: UEFI payload with no variable modules\r | |
98 | #\r | |
99 | DEFINE VARIABLE_SUPPORT = EMU\r | |
100 | \r | |
2db0ed93 | 101 | DEFINE DISABLE_RESET_SYSTEM = FALSE\r |
d248516b | 102 | DEFINE NETWORK_DRIVER_ENABLE = FALSE\r |
2db0ed93 | 103 | \r |
b40bdd6e ZL |
104 | # Dfine the maximum size of the capsule image without a reset flag that the platform can support.\r |
105 | DEFINE MAX_SIZE_NON_POPULATE_CAPSULE = 0xa00000\r | |
106 | \r | |
107 | # Define RTC related register.\r | |
108 | DEFINE RTC_INDEX_REGISTER = 0x70\r | |
109 | DEFINE RTC_TARGET_REGISTER = 0x71\r | |
110 | \r | |
672bd1c7 ZL |
111 | DEFINE SERIAL_DRIVER_ENABLE = TRUE\r |
112 | \r | |
04af8bf2 DG |
113 | [BuildOptions]\r |
114 | *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r | |
115 | GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG\r | |
116 | GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r | |
117 | INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r | |
118 | MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r | |
119 | \r | |
7c4ab1c2 GD |
120 | [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r |
121 | GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r | |
122 | XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000\r | |
123 | XCODE:*_*_*_MTOC_FLAGS = -align 0x1000\r | |
124 | CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096\r | |
125 | MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096\r | |
04af8bf2 DG |
126 | \r |
127 | ################################################################################\r | |
128 | #\r | |
129 | # SKU Identification section - list of all SKU IDs supported by this Platform.\r | |
130 | #\r | |
131 | ################################################################################\r | |
132 | [SkuIds]\r | |
133 | 0|DEFAULT\r | |
134 | \r | |
135 | ################################################################################\r | |
136 | #\r | |
137 | # Library Class section - list of all Library Classes needed by this Platform.\r | |
138 | #\r | |
139 | ################################################################################\r | |
08c65f7c DB |
140 | \r |
141 | !include MdePkg/MdeLibs.dsc.inc\r | |
142 | \r | |
04af8bf2 DG |
143 | [LibraryClasses]\r |
144 | #\r | |
145 | # Entry point\r | |
146 | #\r | |
04af8bf2 DG |
147 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r |
148 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r | |
149 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
150 | \r | |
151 | #\r | |
152 | # Basic\r | |
153 | #\r | |
154 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r | |
155 | BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r | |
156 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r | |
157 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
158 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r | |
159 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r | |
3900a63e | 160 | !if $(PCIE_BASE_SUPPORT) == FALSE\r |
04af8bf2 DG |
161 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r |
162 | PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r | |
163 | !else\r | |
164 | PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r | |
165 | PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r | |
166 | !endif\r | |
3900a63e RN |
167 | PciSegmentLib|MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf\r |
168 | PciSegmentInfoLib|UefiPayloadPkg/Library/PciSegmentInfoLibAcpiBoardInfo/PciSegmentInfoLibAcpiBoardInfo.inf\r | |
04af8bf2 DG |
169 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r |
170 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
171 | CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r | |
6d95eff8 | 172 | SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r |
82f727c4 | 173 | DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLib/DxeHobListLib.inf\r |
d248516b S |
174 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r |
175 | TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r | |
176 | IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r | |
177 | OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r | |
178 | RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf\r | |
82f727c4 | 179 | HobLib|UefiPayloadPkg/Library/DxeHobLib/DxeHobLib.inf\r |
04af8bf2 DG |
180 | \r |
181 | #\r | |
182 | # UEFI & PI\r | |
183 | #\r | |
184 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r | |
185 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
186 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r | |
187 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
188 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r | |
189 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
190 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
191 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
04af8bf2 DG |
192 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r |
193 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r | |
194 | UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r | |
195 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r | |
196 | \r | |
197 | #\r | |
198 | # Generic Modules\r | |
199 | #\r | |
200 | UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r | |
201 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r | |
202 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
203 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r | |
204 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r | |
205 | UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r | |
206 | CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r | |
207 | FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r | |
208 | \r | |
209 | #\r | |
210 | # CPU\r | |
211 | #\r | |
212 | MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r | |
213 | LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r | |
83c7f817 | 214 | MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf\r |
04af8bf2 DG |
215 | \r |
216 | #\r | |
217 | # Platform\r | |
218 | #\r | |
219 | TimerLib|UefiPayloadPkg/Library/AcpiTimerLib/AcpiTimerLib.inf\r | |
220 | ResetSystemLib|UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.inf\r | |
221 | SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf\r | |
222 | PlatformHookLib|UefiPayloadPkg/Library/PlatformHookLib/PlatformHookLib.inf\r | |
223 | PlatformBootManagerLib|UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r | |
224 | IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf\r | |
225 | \r | |
226 | #\r | |
227 | # Misc\r | |
228 | #\r | |
229 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r | |
230 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
231 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r | |
232 | PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r | |
233 | DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r | |
234 | !else\r | |
235 | PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r | |
236 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r | |
237 | !endif\r | |
238 | PlatformSupportLib|UefiPayloadPkg/Library/PlatformSupportLibNull/PlatformSupportLibNull.inf\r | |
6b69f73b ZL |
239 | !if $(UNIVERSAL_PAYLOAD) == FALSE\r |
240 | !if $(BOOTLOADER) == "COREBOOT"\r | |
241 | BlParseLib|UefiPayloadPkg/Library/CbParseLib/CbParseLib.inf\r | |
242 | !else\r | |
243 | BlParseLib|UefiPayloadPkg/Library/SblParseLib/SblParseLib.inf\r | |
244 | !endif\r | |
04af8bf2 DG |
245 | !endif\r |
246 | \r | |
247 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
248 | LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf\r | |
249 | FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r | |
250 | AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r | |
b80c17b6 | 251 | !if $(VARIABLE_SUPPORT) == "EMU"\r |
04af8bf2 | 252 | TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r |
b80c17b6 GD |
253 | !elseif $(VARIABLE_SUPPORT) == "SPI"\r |
254 | PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r | |
255 | TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r | |
256 | S3BootScriptLib|MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf\r | |
257 | MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf\r | |
258 | !endif\r | |
04af8bf2 | 259 | VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r |
d49fe0ca BB |
260 | VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf\r |
261 | VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf\r | |
b80c17b6 | 262 | VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf\r |
04af8bf2 | 263 | \r |
7c4ab1c2 | 264 | [LibraryClasses.common.SEC]\r |
82f727c4 | 265 | HobLib|UefiPayloadPkg/Library/PayloadEntryHobLib/HobLib.inf\r |
04af8bf2 | 266 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r |
82f727c4 | 267 | DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.inf\r |
04af8bf2 DG |
268 | \r |
269 | [LibraryClasses.common.DXE_CORE]\r | |
82f727c4 | 270 | DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.inf\r |
04af8bf2 DG |
271 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r |
272 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r | |
273 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r | |
274 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
275 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
276 | !if $(SOURCE_DEBUG_ENABLE)\r | |
277 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r | |
278 | !endif\r | |
279 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r | |
280 | \r | |
281 | [LibraryClasses.common.DXE_DRIVER]\r | |
282 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
04af8bf2 DG |
283 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r |
284 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
285 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
286 | !if $(SOURCE_DEBUG_ENABLE)\r | |
287 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r | |
288 | !endif\r | |
289 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r | |
290 | MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r | |
291 | \r | |
292 | [LibraryClasses.common.DXE_RUNTIME_DRIVER]\r | |
293 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
04af8bf2 DG |
294 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r |
295 | ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r | |
d49fe0ca | 296 | VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf\r |
04af8bf2 DG |
297 | \r |
298 | [LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]\r | |
299 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
300 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
301 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
04af8bf2 | 302 | \r |
b80c17b6 GD |
303 | [LibraryClasses.common.SMM_CORE]\r |
304 | !if $(SMM_SUPPORT) == TRUE\r | |
305 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
306 | SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r | |
307 | \r | |
308 | MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r | |
309 | SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r | |
310 | SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r | |
311 | ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r | |
312 | !endif\r | |
313 | \r | |
314 | [LibraryClasses.common.DXE_SMM_DRIVER]\r | |
315 | !if $(SMM_SUPPORT) == TRUE\r | |
316 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
317 | \r | |
318 | MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r | |
319 | SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r | |
320 | SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r | |
321 | MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r | |
322 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
323 | SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r | |
324 | SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r | |
325 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r | |
326 | ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r | |
327 | !endif\r | |
328 | !if $(VARIABLE_SUPPORT) == "SPI"\r | |
329 | SpiFlashLib|UefiPayloadPkg/Library/SpiFlashLib/SpiFlashLib.inf\r | |
330 | FlashDeviceLib|UefiPayloadPkg/Library/FlashDeviceLib/FlashDeviceLib.inf\r | |
331 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r | |
332 | !endif\r | |
333 | \r | |
04af8bf2 DG |
334 | ################################################################################\r |
335 | #\r | |
336 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r | |
337 | #\r | |
338 | ################################################################################\r | |
339 | [PcdsFeatureFlag]\r | |
04af8bf2 DG |
340 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE\r |
341 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r | |
342 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r | |
3eb72b30 ZL |
343 | ## This PCD specified whether ACPI SDT protocol is installed.\r |
344 | gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r | |
ac6e5d6b ZL |
345 | gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r |
346 | gEfiMdeModulePkgTokenSpaceGuid.PcdPciDegradeResourceForOptionRom|FALSE\r | |
b80c17b6 | 347 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE\r |
04af8bf2 DG |
348 | \r |
349 | [PcdsFixedAtBuild]\r | |
350 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000\r | |
351 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000\r | |
352 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000\r | |
b80c17b6 GD |
353 | !if $(VARIABLE_SUPPORT) == "EMU"\r |
354 | gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable |TRUE\r | |
355 | !else\r | |
356 | gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable |FALSE\r | |
357 | !endif\r | |
04af8bf2 DG |
358 | \r |
359 | gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r | |
763e0f0a | 360 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE\r |
04af8bf2 | 361 | gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE\r |
04af8bf2 | 362 | \r |
27cb64ff | 363 | gUefiPayloadPkgTokenSpaceGuid.PcdPcdDriverFile|{ 0x57, 0x72, 0xcf, 0x80, 0xab, 0x87, 0xf9, 0x47, 0xa3, 0xfe, 0xD5, 0x0B, 0x76, 0xd8, 0x95, 0x41 }\r |
04af8bf2 DG |
364 | \r |
365 | !if $(SOURCE_DEBUG_ENABLE)\r | |
366 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r | |
367 | !endif\r | |
b80c17b6 | 368 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000\r |
04af8bf2 | 369 | \r |
bda3546c TD |
370 | [PcdsPatchableInModule.X64]\r |
371 | gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|$(RTC_INDEX_REGISTER)\r | |
372 | gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|$(RTC_TARGET_REGISTER)\r | |
373 | gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE\r | |
374 | \r | |
04af8bf2 | 375 | [PcdsPatchableInModule.common]\r |
19a541d7 | 376 | gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r |
04af8bf2 DG |
377 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7\r |
378 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r | |
379 | !if $(SOURCE_DEBUG_ENABLE)\r | |
380 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r | |
381 | !else\r | |
382 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r | |
383 | !endif\r | |
b40bdd6e | 384 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|$(MAX_SIZE_NON_POPULATE_CAPSULE)\r |
04af8bf2 DG |
385 | #\r |
386 | # The following parameters are set by Library/PlatformHookLib\r | |
387 | #\r | |
388 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE\r | |
317d84ab | 389 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0\r |
04af8bf2 DG |
390 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|$(BAUD_RATE)\r |
391 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1\r | |
392 | \r | |
393 | #\r | |
394 | # Enable these parameters to be set on the command line\r | |
395 | #\r | |
396 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|$(SERIAL_CLOCK_RATE)\r | |
397 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|$(SERIAL_LINE_CONTROL)\r | |
398 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|$(SERIAL_HARDWARE_FLOW_CONTROL)\r | |
399 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|$(SERIAL_DETECT_CABLE)\r | |
400 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|$(SERIAL_FIFO_CONTROL)\r | |
401 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSize|$(SERIAL_EXTENDED_TX_FIFO_SIZE)\r | |
402 | \r | |
04af8bf2 DG |
403 | gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|$(PCI_SERIAL_PARAMETERS)\r |
404 | \r | |
405 | gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)\r | |
ac6e5d6b | 406 | gUefiCpuPkgTokenSpaceGuid.PcdCpuNumberOfReservedVariableMtrrs|0\r |
422e5d2f | 407 | gUefiPayloadPkgTokenSpaceGuid.PcdBootloaderParameter|0\r |
04af8bf2 DG |
408 | \r |
409 | ################################################################################\r | |
410 | #\r | |
fa24b6ed | 411 | # Pcd DynamicEx Section - list of all EDK II PCD Entries defined by this Platform\r |
04af8bf2 DG |
412 | #\r |
413 | ################################################################################\r | |
414 | \r | |
fa24b6ed | 415 | [PcdsDynamicExDefault]\r |
d497eace ZL |
416 | gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|$(UART_DEFAULT_BAUD_RATE)\r |
417 | gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|$(UART_DEFAULT_DATA_BITS)\r | |
418 | gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|$(UART_DEFAULT_PARITY)\r | |
419 | gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|$(UART_DEFAULT_STOP_BITS)\r | |
420 | gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|$(DEFAULT_TERMINAL_TYPE)\r | |
421 | gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport\r | |
422 | gEfiMdeModulePkgTokenSpaceGuid.PcdMrIovSupport\r | |
423 | gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport\r | |
424 | gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSystemPageSize\r | |
425 | gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds\r | |
426 | gUefiCpuPkgTokenSpaceGuid.PcdCpuApLoopMode\r | |
427 | gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchAddress\r | |
428 | gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize\r | |
429 | !if $(TARGET) == DEBUG\r | |
430 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE\r | |
431 | !else\r | |
432 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r | |
433 | !endif\r | |
caa139fe | 434 | gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r |
04af8bf2 DG |
435 | gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r |
436 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r | |
437 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r | |
438 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r | |
439 | gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3\r | |
b80c17b6 GD |
440 | !if $(VARIABLE_SUPPORT) == "SPI"\r |
441 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize |0\r | |
442 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0\r | |
443 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize |0\r | |
444 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase |0\r | |
445 | !endif\r | |
446 | # Disable SMM S3 script\r | |
447 | gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r | |
04af8bf2 DG |
448 | \r |
449 | ## This PCD defines the video horizontal resolution.\r | |
450 | # This PCD could be set to 0 then video resolution could be at highest resolution.\r | |
451 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0\r | |
452 | ## This PCD defines the video vertical resolution.\r | |
453 | # This PCD could be set to 0 then video resolution could be at highest resolution.\r | |
454 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0\r | |
455 | \r | |
456 | ## The PCD is used to specify the video horizontal resolution of text setup.\r | |
457 | gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|0\r | |
458 | ## The PCD is used to specify the video vertical resolution of text setup.\r | |
459 | gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|0\r | |
460 | \r | |
461 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31\r | |
462 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100\r | |
3900a63e | 463 | gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0\r |
8028b290 | 464 | gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseSize|0\r |
fa24b6ed ZL |
465 | gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0\r |
466 | gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed|FALSE\r | |
467 | gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0\r | |
99de2e7e | 468 | gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE\r |
04af8bf2 DG |
469 | \r |
470 | ################################################################################\r | |
471 | #\r | |
472 | # Components Section - list of all EDK II Modules needed by this Platform.\r | |
473 | #\r | |
474 | ################################################################################\r | |
04af8bf2 | 475 | \r |
f0fe55bc | 476 | !if "IA32" in "$(ARCH)"\r |
7c4ab1c2 | 477 | [Components.IA32]\r |
6b69f73b ZL |
478 | !if $(UNIVERSAL_PAYLOAD) == TRUE\r |
479 | UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf\r | |
480 | !else\r | |
7c4ab1c2 | 481 | UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf\r |
6b69f73b | 482 | !endif\r |
7c4ab1c2 GD |
483 | !else\r |
484 | [Components.X64]\r | |
6b69f73b ZL |
485 | !if $(UNIVERSAL_PAYLOAD) == TRUE\r |
486 | UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf\r | |
487 | !else\r | |
7c4ab1c2 | 488 | UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf\r |
6b69f73b | 489 | !endif\r |
7c4ab1c2 | 490 | !endif\r |
04af8bf2 | 491 | \r |
d248516b S |
492 | #\r |
493 | # UEFI network modules\r | |
494 | #\r | |
495 | !if $(NETWORK_DRIVER_ENABLE) == TRUE\r | |
496 | !include NetworkPkg/Network.dsc.inc\r | |
497 | !endif\r | |
498 | \r | |
04af8bf2 DG |
499 | [Components.X64]\r |
500 | #\r | |
501 | # DXE Core\r | |
502 | #\r | |
503 | MdeModulePkg/Core/Dxe/DxeMain.inf {\r | |
504 | <LibraryClasses>\r | |
505 | NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r | |
506 | }\r | |
507 | \r | |
508 | #\r | |
509 | # Components that produce the architectural protocols\r | |
510 | #\r | |
19ee56c4 | 511 | !if $(SECURITY_STUB_ENABLE) == TRUE\r |
04af8bf2 | 512 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r |
19ee56c4 | 513 | !endif\r |
04af8bf2 DG |
514 | UefiCpuPkg/CpuDxe/CpuDxe.inf\r |
515 | MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r | |
516 | MdeModulePkg/Application/UiApp/UiApp.inf {\r | |
517 | <LibraryClasses>\r | |
518 | NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r | |
519 | NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r | |
520 | NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r | |
521 | }\r | |
851785ea | 522 | MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf\r |
04af8bf2 DG |
523 | \r |
524 | PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf\r | |
525 | MdeModulePkg/Universal/Metronome/Metronome.inf\r | |
526 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r | |
527 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r | |
528 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r | |
529 | MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r | |
2db0ed93 | 530 | !if $(DISABLE_RESET_SYSTEM) == FALSE\r |
04af8bf2 | 531 | MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r |
2db0ed93 | 532 | !endif\r |
04af8bf2 | 533 | PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r |
2db0ed93 | 534 | !if $(EMU_VARIABLE_ENABLE) == TRUE\r |
04af8bf2 | 535 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r |
2db0ed93 | 536 | !endif\r |
04af8bf2 DG |
537 | #\r |
538 | # Following are the DXE drivers\r | |
539 | #\r | |
540 | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r | |
541 | <LibraryClasses>\r | |
542 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
543 | }\r | |
544 | \r | |
545 | MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r | |
546 | MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r | |
547 | UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r | |
548 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r | |
549 | MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r | |
04af8bf2 DG |
550 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r |
551 | MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r | |
552 | MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r | |
851785ea S |
553 | MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf\r |
554 | MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r | |
04af8bf2 DG |
555 | \r |
556 | UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf\r | |
557 | \r | |
558 | #\r | |
559 | # SMBIOS Support\r | |
560 | #\r | |
561 | MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r | |
562 | \r | |
563 | #\r | |
564 | # ACPI Support\r | |
565 | #\r | |
566 | MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r | |
567 | \r | |
568 | #\r | |
569 | # PCI Support\r | |
570 | #\r | |
571 | MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r | |
572 | MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r | |
573 | <LibraryClasses>\r | |
574 | PciHostBridgeLib|UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r | |
575 | }\r | |
576 | \r | |
577 | #\r | |
578 | # SCSI/ATA/IDE/DISK Support\r | |
579 | #\r | |
580 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r | |
581 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r | |
582 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r | |
583 | FatPkg/EnhancedFatDxe/Fat.inf\r | |
584 | MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf\r | |
585 | MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r | |
586 | MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r | |
587 | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r | |
588 | MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r | |
cf4cbe19 | 589 | MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r |
04af8bf2 | 590 | \r |
d60915b7 ZL |
591 | !if $(RAM_DISK_ENABLE) == TRUE\r |
592 | MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r | |
593 | !endif\r | |
04af8bf2 DG |
594 | #\r |
595 | # SD/eMMC Support\r | |
596 | #\r | |
597 | MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf\r | |
598 | MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf\r | |
599 | MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf\r | |
600 | \r | |
601 | #\r | |
602 | # Usb Support\r | |
603 | #\r | |
604 | MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r | |
605 | MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r | |
606 | MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r | |
607 | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r | |
608 | MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r | |
609 | MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r | |
851785ea | 610 | MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf\r |
04af8bf2 DG |
611 | \r |
612 | #\r | |
613 | # ISA Support\r | |
614 | #\r | |
672bd1c7 | 615 | !if $(SERIAL_DRIVER_ENABLE) == TRUE\r |
04af8bf2 | 616 | MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r |
672bd1c7 | 617 | !endif\r |
d60915b7 | 618 | !if $(SIO_BUS_ENABLE) == TRUE\r |
33a32936 | 619 | OvmfPkg/SioBusDxe/SioBusDxe.inf\r |
d60915b7 ZL |
620 | !endif\r |
621 | !if $(PS2_KEYBOARD_ENABLE) == TRUE\r | |
33a32936 DG |
622 | MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r |
623 | !endif\r | |
851785ea | 624 | MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf\r |
04af8bf2 DG |
625 | \r |
626 | #\r | |
627 | # Console Support\r | |
628 | #\r | |
629 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r | |
630 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r | |
631 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r | |
d9a40845 | 632 | !if $(DISABLE_SERIAL_TERMINAL) == FALSE\r |
04af8bf2 | 633 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r |
d9a40845 | 634 | !endif\r |
04af8bf2 DG |
635 | UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf\r |
636 | \r | |
b80c17b6 GD |
637 | #\r |
638 | # SMM Support\r | |
639 | #\r | |
640 | !if $(SMM_SUPPORT) == TRUE\r | |
641 | UefiPayloadPkg/SmmAccessDxe/SmmAccessDxe.inf\r | |
642 | UefiPayloadPkg/SmmControlRuntimeDxe/SmmControlRuntimeDxe.inf\r | |
643 | UefiPayloadPkg/BlSupportSmm/BlSupportSmm.inf\r | |
644 | MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r | |
645 | MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r | |
646 | UefiPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.inf\r | |
647 | UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf\r | |
648 | UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r | |
649 | !endif\r | |
650 | \r | |
651 | !if $(VARIABLE_SUPPORT) == "EMU"\r | |
652 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r | |
653 | !elseif $(VARIABLE_SUPPORT) == "SPI"\r | |
654 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r | |
655 | <LibraryClasses>\r | |
656 | NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r | |
657 | NULL|MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLib.inf\r | |
658 | NULL|MdeModulePkg/Library/VarCheckPcdLib/VarCheckPcdLib.inf\r | |
659 | NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf\r | |
660 | }\r | |
661 | \r | |
662 | UefiPayloadPkg/FvbRuntimeDxe/FvbSmm.inf\r | |
663 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r | |
664 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r | |
665 | !endif\r | |
666 | \r | |
04af8bf2 DG |
667 | #------------------------------\r |
668 | # Build the shell\r | |
669 | #------------------------------\r | |
670 | \r | |
671 | !if $(SHELL_TYPE) == BUILD_SHELL\r | |
672 | \r | |
673 | #\r | |
674 | # Shell Lib\r | |
675 | #\r | |
676 | [LibraryClasses]\r | |
677 | BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r | |
678 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
679 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r | |
680 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r | |
005a5f2d | 681 | !include NetworkPkg/NetworkLibs.dsc.inc\r |
04af8bf2 DG |
682 | \r |
683 | [Components.X64]\r | |
684 | ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r | |
685 | <PcdsFixedAtBuild>\r | |
686 | ## This flag is used to control initialization of the shell library\r | |
687 | # This should be FALSE for compiling the dynamic command.\r | |
688 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
689 | }\r | |
690 | ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {\r | |
691 | <PcdsFixedAtBuild>\r | |
692 | ## This flag is used to control initialization of the shell library\r | |
693 | # This should be FALSE for compiling the dynamic command.\r | |
694 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
695 | }\r | |
696 | ShellPkg/Application/Shell/Shell.inf {\r | |
697 | <PcdsFixedAtBuild>\r | |
698 | ## This flag is used to control initialization of the shell library\r | |
699 | # This should be FALSE for compiling the shell application itself only.\r | |
700 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
701 | \r | |
702 | #------------------------------\r | |
703 | # Basic commands\r | |
704 | #------------------------------\r | |
705 | \r | |
706 | <LibraryClasses>\r | |
707 | NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r | |
708 | NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r | |
709 | NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r | |
710 | NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r | |
711 | NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r | |
712 | NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r | |
713 | \r | |
714 | #------------------------------\r | |
715 | # Networking commands\r | |
716 | #------------------------------\r | |
717 | \r | |
718 | <LibraryClasses>\r | |
719 | NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r | |
720 | \r | |
721 | #------------------------------\r | |
722 | # Support libraries\r | |
723 | #------------------------------\r | |
724 | \r | |
725 | <LibraryClasses>\r | |
726 | DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r | |
727 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
728 | HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r | |
ef03e726 | 729 | OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r |
04af8bf2 DG |
730 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r |
731 | ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r | |
732 | ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r | |
733 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r | |
734 | }\r | |
735 | \r | |
736 | !endif\r |