]> git.proxmox.com Git - mirror_edk2.git/blame - UefiPayloadPkg/UefiPayloadPkgIa32.dsc
RedfishPkg: Use DSC include file
[mirror_edk2.git] / UefiPayloadPkg / UefiPayloadPkgIa32.dsc
CommitLineData
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
763e0f0a 6# Copyright (c) 2014 - 2020, Intel Corporation. All rights reserved.<BR>\r
04af8bf2
DG
7# SPDX-License-Identifier: BSD-2-Clause-Patent\r
8#\r
9##\r
10\r
11################################################################################\r
12#\r
13# Defines Section - statements that will be processed to create a Makefile.\r
14#\r
15################################################################################\r
16[Defines]\r
17 PLATFORM_NAME = UefiPayloadPkg\r
18 PLATFORM_GUID = F71608AB-D63D-4491-B744-A99998C8CD96\r
19 PLATFORM_VERSION = 0.1\r
20 DSC_SPECIFICATION = 0x00010005\r
21 SUPPORTED_ARCHITECTURES = IA32\r
22 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
23 SKUID_IDENTIFIER = DEFAULT\r
24 OUTPUT_DIRECTORY = Build/UefiPayloadPkgIA32\r
25 FLASH_DEFINITION = UefiPayloadPkg/UefiPayloadPkg.fdf\r
26\r
27 DEFINE SOURCE_DEBUG_ENABLE = FALSE\r
28\r
29 #\r
30 # SBL: UEFI payload for Slim Bootloader\r
31 # COREBOOT: UEFI payload for coreboot\r
32 #\r
33 DEFINE BOOTLOADER = SBL\r
34\r
35 #\r
36 # CPU options\r
37 #\r
38 DEFINE MAX_LOGICAL_PROCESSORS = 64\r
39\r
40 #\r
41 # PCI options\r
42 #\r
3900a63e 43 DEFINE PCIE_BASE_SUPPORT = TRUE\r
04af8bf2
DG
44\r
45 #\r
46 # Serial port set up\r
47 #\r
48 DEFINE BAUD_RATE = 115200\r
49 DEFINE SERIAL_CLOCK_RATE = 1843200\r
50 DEFINE SERIAL_LINE_CONTROL = 3 # 8-bits, no parity\r
51 DEFINE SERIAL_HARDWARE_FLOW_CONTROL = FALSE\r
52 DEFINE SERIAL_DETECT_CABLE = FALSE\r
53 DEFINE SERIAL_FIFO_CONTROL = 7 # Enable FIFO\r
54 DEFINE SERIAL_EXTENDED_TX_FIFO_SIZE = 16\r
55 DEFINE UART_DEFAULT_BAUD_RATE = $(BAUD_RATE)\r
56 DEFINE UART_DEFAULT_DATA_BITS = 8\r
57 DEFINE UART_DEFAULT_PARITY = 1\r
58 DEFINE UART_DEFAULT_STOP_BITS = 1\r
59 DEFINE DEFAULT_TERMINAL_TYPE = 0\r
60\r
48aa2edf
PR
61 # Enabling the serial terminal will slow down the boot menu redering!\r
62 DEFINE DISABLE_SERIAL_TERMINAL = FALSE\r
63\r
04af8bf2
DG
64 #\r
65 # typedef struct {\r
66 # UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.\r
67 # UINT16 DeviceId; ///< Device ID to match the PCI device\r
68 # UINT32 ClockRate; ///< UART clock rate. Set to 0 for default clock rate of 1843200 Hz\r
69 # UINT64 Offset; ///< The byte offset into to the BAR\r
70 # UINT8 BarIndex; ///< Which BAR to get the UART base address\r
71 # UINT8 RegisterStride; ///< UART register stride in bytes. Set to 0 for default register stride of 1 byte.\r
72 # UINT16 ReceiveFifoDepth; ///< UART receive FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.\r
73 # UINT16 TransmitFifoDepth; ///< UART transmit FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.\r
74 # UINT8 Reserved[2];\r
75 # } PCI_SERIAL_PARAMETER;\r
76 #\r
77 # Vendor FFFF Device 0000 Prog Interface 1, BAR #0, Offset 0, Stride = 1, Clock 1843200 (0x1c2000)\r
78 #\r
79 # [Vendor] [Device] [----ClockRate---] [------------Offset-----------] [Bar] [Stride] [RxFifo] [TxFifo] [Rsvd] [Vendor]\r
80 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
81\r
82 #\r
83 # Shell options: [BUILD_SHELL, MIN_BIN, NONE, UEFI_BIN]\r
84 #\r
85 DEFINE SHELL_TYPE = BUILD_SHELL\r
86\r
87[BuildOptions]\r
88 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r
89 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
90 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
91 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
92 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
93\r
94\r
95################################################################################\r
96#\r
97# SKU Identification section - list of all SKU IDs supported by this Platform.\r
98#\r
99################################################################################\r
100[SkuIds]\r
101 0|DEFAULT\r
102\r
103################################################################################\r
104#\r
105# Library Class section - list of all Library Classes needed by this Platform.\r
106#\r
107################################################################################\r
108[LibraryClasses]\r
109 #\r
110 # Entry point\r
111 #\r
112 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
113 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
114 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
115 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
116 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
117\r
118 #\r
119 # Basic\r
120 #\r
121 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
122 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
123 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
124 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
125 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
126 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
3900a63e 127!if $(PCIE_BASE_SUPPORT) == FALSE\r
04af8bf2
DG
128 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
129 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
130!else\r
131 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
132 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
133!endif\r
3900a63e
RN
134 PciSegmentLib|MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf\r
135 PciSegmentInfoLib|UefiPayloadPkg/Library/PciSegmentInfoLibAcpiBoardInfo/PciSegmentInfoLibAcpiBoardInfo.inf\r
04af8bf2
DG
136 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
137 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
138 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
139\r
140 #\r
141 # UEFI & PI\r
142 #\r
143 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
144 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
145 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
146 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
147 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
148 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
149 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
150 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
151 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
152 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
153 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
154 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
155 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
156 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
157\r
158 #\r
159 # Generic Modules\r
160 #\r
161 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
162 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
163 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
164 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
165 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
166 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
167 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
168 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
169\r
170 #\r
171 # CPU\r
172 #\r
173 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
174 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
175\r
176 #\r
177 # Platform\r
178 #\r
179 TimerLib|UefiPayloadPkg/Library/AcpiTimerLib/AcpiTimerLib.inf\r
180 ResetSystemLib|UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
181 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf\r
182 PlatformHookLib|UefiPayloadPkg/Library/PlatformHookLib/PlatformHookLib.inf\r
183 PlatformBootManagerLib|UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
184 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf\r
185\r
186 #\r
187 # Misc\r
188 #\r
189 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
190 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
191!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
192 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
193 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
194!else\r
195 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
196 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
197!endif\r
198 PlatformSupportLib|UefiPayloadPkg/Library/PlatformSupportLibNull/PlatformSupportLibNull.inf\r
199!if $(BOOTLOADER) == "COREBOOT"\r
200 BlParseLib|UefiPayloadPkg/Library/CbParseLib/CbParseLib.inf\r
201!else\r
202 BlParseLib|UefiPayloadPkg/Library/SblParseLib/SblParseLib.inf\r
203!endif\r
204\r
205 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
206 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf\r
207 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
208 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
209 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
210 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
211\r
212[LibraryClasses.IA32.SEC]\r
213 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
214 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
215 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
216 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
217 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
218 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
219\r
220[LibraryClasses.IA32.PEI_CORE, LibraryClasses.IA32.PEIM]\r
221 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
222 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
223 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
224 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
225 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
226!if $(SOURCE_DEBUG_ENABLE)\r
227 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
228!endif\r
229\r
230[LibraryClasses.common.DXE_CORE]\r
231 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
232 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
233 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
234 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
235 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
236!if $(SOURCE_DEBUG_ENABLE)\r
237 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
238!endif\r
239 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
3a4a6ead 240 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf\r
04af8bf2
DG
241\r
242[LibraryClasses.common.DXE_DRIVER]\r
243 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
244 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
245 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
246 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
247 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
248!if $(SOURCE_DEBUG_ENABLE)\r
249 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
250!endif\r
251 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
252 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
3a4a6ead 253 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf\r
04af8bf2
DG
254\r
255[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
256 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
257 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
258 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
259 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
260\r
261[LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]\r
262 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
263 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
264 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
265 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
266\r
267################################################################################\r
268#\r
269# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
270#\r
271################################################################################\r
272[PcdsFeatureFlag]\r
04af8bf2
DG
273 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
274 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
275 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
276\r
277[PcdsFixedAtBuild]\r
278 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000\r
279 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000\r
280 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000\r
281 #\r
282 # Make VariableRuntimeDxe work at emulated non-volatile variable mode.\r
283 #\r
284 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|TRUE\r
285\r
286 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
763e0f0a
MT
287!if $(TARGET) == DEBUG\r
288 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE\r
289!else\r
290 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
291!endif\r
292 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE\r
04af8bf2
DG
293 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
294\r
295 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|$(PCIE_BASE)\r
296\r
297!if $(SOURCE_DEBUG_ENABLE)\r
298 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
299!endif\r
300\r
301[PcdsPatchableInModule.common]\r
302 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7\r
303 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
304!if $(SOURCE_DEBUG_ENABLE)\r
305 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
306!else\r
307 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
308!endif\r
309\r
310 #\r
311 # The following parameters are set by Library/PlatformHookLib\r
312 #\r
313 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE\r
317d84ab 314 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0\r
04af8bf2
DG
315 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|$(BAUD_RATE)\r
316 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1\r
317\r
318 #\r
319 # Enable these parameters to be set on the command line\r
320 #\r
321 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|$(SERIAL_CLOCK_RATE)\r
322 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|$(SERIAL_LINE_CONTROL)\r
323 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|$(SERIAL_HARDWARE_FLOW_CONTROL)\r
324 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|$(SERIAL_DETECT_CABLE)\r
325 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|$(SERIAL_FIFO_CONTROL)\r
326 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSize|$(SERIAL_EXTENDED_TX_FIFO_SIZE)\r
327\r
328 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE\r
329 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|$(UART_DEFAULT_BAUD_RATE)\r
330 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|$(UART_DEFAULT_DATA_BITS)\r
331 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|$(UART_DEFAULT_PARITY)\r
332 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|$(UART_DEFAULT_STOP_BITS)\r
333 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|$(DEFAULT_TERMINAL_TYPE)\r
334 gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|$(PCI_SERIAL_PARAMETERS)\r
335\r
336 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)\r
337\r
338\r
339################################################################################\r
340#\r
341# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
342#\r
343################################################################################\r
344\r
345[PcdsDynamicDefault]\r
346 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
347 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
348 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
349 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
350 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3\r
351\r
352 ## This PCD defines the video horizontal resolution.\r
353 # This PCD could be set to 0 then video resolution could be at highest resolution.\r
354 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0\r
355 ## This PCD defines the video vertical resolution.\r
356 # This PCD could be set to 0 then video resolution could be at highest resolution.\r
357 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0\r
358\r
359 ## The PCD is used to specify the video horizontal resolution of text setup.\r
360 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|0\r
361 ## The PCD is used to specify the video vertical resolution of text setup.\r
362 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|0\r
363\r
364 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31\r
365 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100\r
3900a63e 366 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0\r
04af8bf2
DG
367\r
368################################################################################\r
369#\r
370# Components Section - list of all EDK II Modules needed by this Platform.\r
371#\r
372################################################################################\r
373[Components.IA32]\r
374 #\r
375 # SEC Core\r
376 #\r
377 UefiPayloadPkg/SecCore/SecCore.inf\r
378\r
379 #\r
380 # PEI Core\r
381 #\r
382 MdeModulePkg/Core/Pei/PeiMain.inf\r
383\r
384 #\r
385 # PEIM\r
386 #\r
387 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
388 <LibraryClasses>\r
389 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
390 }\r
391 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r
392 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf\r
393\r
394 UefiPayloadPkg/BlSupportPei/BlSupportPei.inf\r
395 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
396\r
397[Components.IA32]\r
398 #\r
399 # DXE Core\r
400 #\r
401 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
402 <LibraryClasses>\r
403 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
404 }\r
405\r
406 #\r
407 # Components that produce the architectural protocols\r
408 #\r
409 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
410 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
411 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r
412 MdeModulePkg/Application/UiApp/UiApp.inf {\r
413 <LibraryClasses>\r
414 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
415 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
416 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
417 }\r
418\r
419 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf\r
420 MdeModulePkg/Universal/Metronome/Metronome.inf\r
421 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
422 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
423 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
424 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
425 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
426 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
427 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r
428\r
429 #\r
430 # Following are the DXE drivers\r
431 #\r
432 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
433 <LibraryClasses>\r
434 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
435 }\r
436\r
437 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
438 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
439 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
440 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
441 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
04af8bf2
DG
442 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
443 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
444 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
445\r
446 UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf\r
447\r
448 #\r
449 # SMBIOS Support\r
450 #\r
451 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
452\r
453 #\r
454 # ACPI Support\r
455 #\r
456 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
457\r
458 #\r
459 # PCI Support\r
460 #\r
461 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r
462 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
463 <LibraryClasses>\r
464 PciHostBridgeLib|UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
465 }\r
466\r
467 #\r
468 # SCSI/ATA/IDE/DISK Support\r
469 #\r
470 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
471 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
472 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
473 FatPkg/EnhancedFatDxe/Fat.inf\r
474 MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf\r
475 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
476 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
477 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
478 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
479\r
480 #\r
481 # SD/eMMC Support\r
482 #\r
483 MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf\r
484 MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf\r
485 MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf\r
486\r
487 #\r
488 # Usb Support\r
489 #\r
490 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
491 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
492 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
493 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
494 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
495 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
496\r
497 #\r
498 # ISA Support\r
499 #\r
500 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r
33a32936
DG
501!if $(PS2_KEYBOARD_ENABLE) == TRUE\r
502 OvmfPkg/SioBusDxe/SioBusDxe.inf\r
503 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
504!endif\r
04af8bf2
DG
505\r
506 #\r
507 # Console Support\r
508 #\r
509 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
510 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
511 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
d9a40845 512!if $(DISABLE_SERIAL_TERMINAL) == FALSE\r
04af8bf2 513 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
d9a40845 514!endif\r
04af8bf2
DG
515 UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf\r
516\r
517 #------------------------------\r
518 # Build the shell\r
519 #------------------------------\r
520\r
521!if $(SHELL_TYPE) == BUILD_SHELL\r
522\r
523 #\r
524 # Shell Lib\r
525 #\r
526[LibraryClasses]\r
527 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
528 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
529 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
530 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
005a5f2d 531 !include NetworkPkg/NetworkLibs.dsc.inc\r
04af8bf2
DG
532\r
533[Components.IA32]\r
534 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
535 <PcdsFixedAtBuild>\r
536 ## This flag is used to control initialization of the shell library\r
537 # This should be FALSE for compiling the dynamic command.\r
538 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
539 }\r
540 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {\r
541 <PcdsFixedAtBuild>\r
542 ## This flag is used to control initialization of the shell library\r
543 # This should be FALSE for compiling the dynamic command.\r
544 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
545 }\r
546 ShellPkg/Application/Shell/Shell.inf {\r
547 <PcdsFixedAtBuild>\r
548 ## This flag is used to control initialization of the shell library\r
549 # This should be FALSE for compiling the shell application itself only.\r
550 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
551\r
552 #------------------------------\r
553 # Basic commands\r
554 #------------------------------\r
555\r
556 <LibraryClasses>\r
557 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
558 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
559 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
560 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
561 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
562 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
563\r
564 #------------------------------\r
565 # Networking commands\r
566 #------------------------------\r
567\r
568 <LibraryClasses>\r
569 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
570\r
571 #------------------------------\r
572 # Support libraries\r
573 #------------------------------\r
574\r
575 <LibraryClasses>\r
576 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
577 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
578 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
579 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
580 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
581 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
582 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
583 }\r
584\r
585!endif\r