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