]> git.proxmox.com Git - mirror_edk2.git/blame - UefiPayloadPkg/UefiPayloadPkgIa32.dsc
Revert "BaseTools/PatchCheck.py: Add LicenseCheck"
[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
240\r
241[LibraryClasses.common.DXE_DRIVER]\r
242 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
243 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
244 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
245 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
246 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
247!if $(SOURCE_DEBUG_ENABLE)\r
248 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
249!endif\r
250 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
251 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
252\r
253[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
254 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
255 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
256 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
257 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
258\r
259[LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]\r
260 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
261 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
262 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
263 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
264\r
265################################################################################\r
266#\r
267# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
268#\r
269################################################################################\r
270[PcdsFeatureFlag]\r
04af8bf2
DG
271 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
272 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
273 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
274\r
275[PcdsFixedAtBuild]\r
276 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000\r
277 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000\r
278 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000\r
279 #\r
280 # Make VariableRuntimeDxe work at emulated non-volatile variable mode.\r
281 #\r
282 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|TRUE\r
283\r
284 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
763e0f0a
MT
285!if $(TARGET) == DEBUG\r
286 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE\r
287!else\r
288 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
289!endif\r
290 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE\r
04af8bf2
DG
291 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
292\r
293 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|$(PCIE_BASE)\r
294\r
295!if $(SOURCE_DEBUG_ENABLE)\r
296 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
297!endif\r
298\r
299[PcdsPatchableInModule.common]\r
300 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7\r
301 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
302!if $(SOURCE_DEBUG_ENABLE)\r
303 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
304!else\r
305 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
306!endif\r
307\r
308 #\r
309 # The following parameters are set by Library/PlatformHookLib\r
310 #\r
311 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE\r
312 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x3f8\r
313 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|$(BAUD_RATE)\r
314 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1\r
315\r
316 #\r
317 # Enable these parameters to be set on the command line\r
318 #\r
319 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|$(SERIAL_CLOCK_RATE)\r
320 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|$(SERIAL_LINE_CONTROL)\r
321 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|$(SERIAL_HARDWARE_FLOW_CONTROL)\r
322 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|$(SERIAL_DETECT_CABLE)\r
323 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|$(SERIAL_FIFO_CONTROL)\r
324 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSize|$(SERIAL_EXTENDED_TX_FIFO_SIZE)\r
325\r
326 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE\r
327 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|$(UART_DEFAULT_BAUD_RATE)\r
328 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|$(UART_DEFAULT_DATA_BITS)\r
329 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|$(UART_DEFAULT_PARITY)\r
330 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|$(UART_DEFAULT_STOP_BITS)\r
331 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|$(DEFAULT_TERMINAL_TYPE)\r
332 gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|$(PCI_SERIAL_PARAMETERS)\r
333\r
334 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)\r
335\r
336\r
337################################################################################\r
338#\r
339# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
340#\r
341################################################################################\r
342\r
343[PcdsDynamicDefault]\r
344 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
345 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
346 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
347 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
348 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3\r
349\r
350 ## This PCD defines the video horizontal resolution.\r
351 # This PCD could be set to 0 then video resolution could be at highest resolution.\r
352 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0\r
353 ## This PCD defines the video vertical resolution.\r
354 # This PCD could be set to 0 then video resolution could be at highest resolution.\r
355 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0\r
356\r
357 ## The PCD is used to specify the video horizontal resolution of text setup.\r
358 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|0\r
359 ## The PCD is used to specify the video vertical resolution of text setup.\r
360 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|0\r
361\r
362 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31\r
363 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100\r
3900a63e 364 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0\r
04af8bf2
DG
365\r
366################################################################################\r
367#\r
368# Components Section - list of all EDK II Modules needed by this Platform.\r
369#\r
370################################################################################\r
371[Components.IA32]\r
372 #\r
373 # SEC Core\r
374 #\r
375 UefiPayloadPkg/SecCore/SecCore.inf\r
376\r
377 #\r
378 # PEI Core\r
379 #\r
380 MdeModulePkg/Core/Pei/PeiMain.inf\r
381\r
382 #\r
383 # PEIM\r
384 #\r
385 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
386 <LibraryClasses>\r
387 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
388 }\r
389 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r
390 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf\r
391\r
392 UefiPayloadPkg/BlSupportPei/BlSupportPei.inf\r
393 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
394\r
395[Components.IA32]\r
396 #\r
397 # DXE Core\r
398 #\r
399 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
400 <LibraryClasses>\r
401 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
402 }\r
403\r
404 #\r
405 # Components that produce the architectural protocols\r
406 #\r
407 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
408 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
409 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r
410 MdeModulePkg/Application/UiApp/UiApp.inf {\r
411 <LibraryClasses>\r
412 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
413 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
414 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
415 }\r
416\r
417 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf\r
418 MdeModulePkg/Universal/Metronome/Metronome.inf\r
419 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
420 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
421 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
422 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
423 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
424 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
425 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r
426\r
427 #\r
428 # Following are the DXE drivers\r
429 #\r
430 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
431 <LibraryClasses>\r
432 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
433 }\r
434\r
435 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
436 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
437 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
438 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
439 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
04af8bf2
DG
440 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
441 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
442 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
443\r
444 UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf\r
445\r
446 #\r
447 # SMBIOS Support\r
448 #\r
449 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
450\r
451 #\r
452 # ACPI Support\r
453 #\r
454 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
455\r
456 #\r
457 # PCI Support\r
458 #\r
459 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r
460 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
461 <LibraryClasses>\r
462 PciHostBridgeLib|UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
463 }\r
464\r
465 #\r
466 # SCSI/ATA/IDE/DISK Support\r
467 #\r
468 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
469 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
470 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
471 FatPkg/EnhancedFatDxe/Fat.inf\r
472 MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf\r
473 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
474 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
475 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
476 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
477\r
478 #\r
479 # SD/eMMC Support\r
480 #\r
481 MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf\r
482 MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf\r
483 MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf\r
484\r
485 #\r
486 # Usb Support\r
487 #\r
488 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
489 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
490 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
491 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
492 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
493 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
494\r
495 #\r
496 # ISA Support\r
497 #\r
498 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r
33a32936
DG
499!if $(PS2_KEYBOARD_ENABLE) == TRUE\r
500 OvmfPkg/SioBusDxe/SioBusDxe.inf\r
501 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
502!endif\r
04af8bf2
DG
503\r
504 #\r
505 # Console Support\r
506 #\r
507 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
508 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
509 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
d9a40845 510!if $(DISABLE_SERIAL_TERMINAL) == FALSE\r
04af8bf2 511 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
d9a40845 512!endif\r
04af8bf2
DG
513 UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf\r
514\r
515 #------------------------------\r
516 # Build the shell\r
517 #------------------------------\r
518\r
519!if $(SHELL_TYPE) == BUILD_SHELL\r
520\r
521 #\r
522 # Shell Lib\r
523 #\r
524[LibraryClasses]\r
525 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
526 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
527 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
528 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
005a5f2d 529 !include NetworkPkg/NetworkLibs.dsc.inc\r
04af8bf2
DG
530\r
531[Components.IA32]\r
532 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
533 <PcdsFixedAtBuild>\r
534 ## This flag is used to control initialization of the shell library\r
535 # This should be FALSE for compiling the dynamic command.\r
536 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
537 }\r
538 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {\r
539 <PcdsFixedAtBuild>\r
540 ## This flag is used to control initialization of the shell library\r
541 # This should be FALSE for compiling the dynamic command.\r
542 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
543 }\r
544 ShellPkg/Application/Shell/Shell.inf {\r
545 <PcdsFixedAtBuild>\r
546 ## This flag is used to control initialization of the shell library\r
547 # This should be FALSE for compiling the shell application itself only.\r
548 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
549\r
550 #------------------------------\r
551 # Basic commands\r
552 #------------------------------\r
553\r
554 <LibraryClasses>\r
555 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
556 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
557 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
558 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
559 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
560 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
561\r
562 #------------------------------\r
563 # Networking commands\r
564 #------------------------------\r
565\r
566 <LibraryClasses>\r
567 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
568\r
569 #------------------------------\r
570 # Support libraries\r
571 #------------------------------\r
572\r
573 <LibraryClasses>\r
574 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
575 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
576 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
577 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
578 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
579 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
580 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
581 }\r
582\r
583!endif\r