]> git.proxmox.com Git - mirror_edk2.git/blame - CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc
CorebootPayloadPkg: Use serial drivers with PlatformHookLib
[mirror_edk2.git] / CorebootPayloadPkg / CorebootPayloadPkgIa32.dsc
CommitLineData
9c228fb0
MM
1## @file\r
2# Coreboot Payload Package\r
3#\r
13986b69 4# Provides drivers and definitions to create uefi payload for coreboot.
9c228fb0 5#\r
eeb69ffc 6# Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
13986b69
LL
7# This program and the accompanying materials are licensed and made available under
8# the terms and conditions of the BSD License that accompanies this distribution.
9c228fb0 9# The full text of the license may be found at\r
13986b69
LL
10# http://opensource.org/licenses/bsd-license.php.
11#
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
9c228fb0
MM
14#\r
15##\r
16\r
17################################################################################\r
18#\r
19# Defines Section - statements that will be processed to create a Makefile.\r
20#\r
21################################################################################\r
22[Defines]\r
23 PLATFORM_NAME = CorebootPayloadPkg\r
24 PLATFORM_GUID = F71608AB-D63D-4491-B744-A99998C8CD96\r
25 PLATFORM_VERSION = 0.1\r
13986b69 26 DSC_SPECIFICATION = 0x00010005
410952bf 27 SUPPORTED_ARCHITECTURES = IA32\r
090b856b 28 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
9c228fb0 29 SKUID_IDENTIFIER = DEFAULT\r
08fc1818 30 OUTPUT_DIRECTORY = Build/CorebootPayloadPkgIA32\r
9c228fb0 31 FLASH_DEFINITION = CorebootPayloadPkg/CorebootPayloadPkg.fdf\r
13986b69 32
9c228fb0
MM
33 DEFINE SECURE_BOOT_ENABLE = FALSE\r
34 DEFINE SOURCE_DEBUG_ENABLE = FALSE\r
13986b69 35
109df3fa
LL
36 #
37 # CPU options
38 #
39 DEFINE MAX_LOGICAL_PROCESSORS = 64
40
ab28ec2b
LL
41 #
42 # Serial port set up
43 #
44 DEFINE BAUD_RATE = 115200
45 DEFINE SERIAL_CLOCK_RATE = 1843200
46 DEFINE SERIAL_LINE_CONTROL = 3 # 8-bits, no parity
47 DEFINE SERIAL_HARDWARE_FLOW_CONTROL = FALSE
48 DEFINE SERIAL_DETECT_CABLE = FALSE
49 DEFINE SERIAL_FIFO_CONTROL = 7 # Enable FIFO
50 DEFINE SERIAL_EXTENDED_TX_FIFO_SIZE = 16
51 DEFINE UART_DEFAULT_BAUD_RATE = $(BAUD_RATE)
52 DEFINE UART_DEFAULT_DATA_BITS = 8
53 DEFINE UART_DEFAULT_PARITY = 1
54 DEFINE UART_DEFAULT_STOP_BITS = 1
55 DEFINE DEFAULT_TERMINAL_TYPE = 0
56
57 #
58 # typedef struct {
59 # UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.
60 # UINT16 DeviceId; ///< Device ID to match the PCI device
61 # UINT32 ClockRate; ///< UART clock rate. Set to 0 for default clock rate of 1843200 Hz
62 # UINT64 Offset; ///< The byte offset into to the BAR
63 # UINT8 BarIndex; ///< Which BAR to get the UART base address
64 # UINT8 RegisterStride; ///< UART register stride in bytes. Set to 0 for default register stride of 1 byte.
65 # UINT16 ReceiveFifoDepth; ///< UART receive FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
66 # UINT16 TransmitFifoDepth; ///< UART transmit FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
67 # UINT8 Reserved[2];
68 # } PCI_SERIAL_PARAMETER;
69 #
70 # Vendor 0000 Device 0000 Prog Interface 1, BAR #0, Offset 0, Stride = 1, Clock 1843200 (0x1c2000)
71 #
72 # [Vendor] [Device] [----ClockRate---] [------------Offset-----------] [Bar] [Stride] [RxFifo] [TxFifo] [Rsvd] [Vendor]
73 DEFINE PCI_SERIAL_PARAMETERS = {0x00,0x00, 0x00,0x00, 0x0,0x20,0x1c,0x00, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x00, 0x01, 0x0,0x0, 0x0,0x0, 0x0,0x0, 0xff,0xff}
74
d3f5d598
LL
75 #
76 # Shell options: [BUILD_SHELL, FULL_BIN, MIN_BIN, NONE, UEFI]
77 #
78 DEFINE SHELL_TYPE = FULL_BIN
79
9c228fb0
MM
80[BuildOptions]\r
81 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
82 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
83 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
84 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
85\r
86################################################################################\r
87#\r
88# SKU Identification section - list of all SKU IDs supported by this Platform.\r
89#\r
90################################################################################\r
91[SkuIds]\r
92 0|DEFAULT\r
93\r
94################################################################################\r
95#\r
96# Library Class section - list of all Library Classes needed by this Platform.\r
97#\r
98################################################################################\r
99[LibraryClasses]\r
100 #\r
101 # Entry point\r
102 #\r
103 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
104 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
105 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
106 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
107 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
108\r
109 #\r
110 # Basic\r
111 #\r
13986b69 112 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
9c228fb0
MM
113 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
114 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
115 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
116 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
117 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
118 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
119 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
120 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
121 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
122 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
13986b69 123
9c228fb0
MM
124 #\r
125 # UEFI & PI\r
126 #\r
127 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
128 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
129 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
130 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
131 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
132 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
133 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
134 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
135 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
136 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
137 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
138 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
139 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
13986b69 140
9c228fb0
MM
141 #\r
142 # Generic Modules\r
143 #\r
144 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
145 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
146 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
147 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
148 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
149 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
150 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
13986b69 151
9c228fb0
MM
152 #\r
153 # CPU\r
154 #\r
155 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
13986b69
LL
156 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
157
9c228fb0
MM
158 #\r
159 # Platform\r
160 #\r
161 TimerLib|CorebootPayloadPkg/Library/AcpiTimerLib/AcpiTimerLib.inf\r
162 ResetSystemLib|CorebootPayloadPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
bae5ddc0
SZ
163 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf\r
164 PlatformHookLib|CorebootPayloadPkg/Library/PlatformHookLib/PlatformHookLib.inf\r
9c228fb0 165 PlatformBdsLib|CorebootPayloadPkg/Library/PlatformBdsLib/PlatformBdsLib.inf\r
13986b69 166
9c228fb0
MM
167 #\r
168 # Misc\r
169 #\r
170 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
171 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
172 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
173!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
174 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
175 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
176!else\r
177 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
13986b69 178 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
9c228fb0
MM
179!endif\r
180 CbParseLib|CorebootModulePkg/Library/CbParseLib/CbParseLib.inf\r
181 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
182\r
183[LibraryClasses.IA32.SEC]\r
184 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
185 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
186 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
187 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
188 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
189 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
190\r
191[LibraryClasses.IA32.PEI_CORE, LibraryClasses.IA32.PEIM]\r
192 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
193 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
194 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
195 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
196 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
197!if $(SOURCE_DEBUG_ENABLE)\r
198 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
199!endif\r
200\r
201[LibraryClasses.common.DXE_CORE]\r
202 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
203 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
204 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
205 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
13986b69 206 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
9c228fb0
MM
207!if $(SOURCE_DEBUG_ENABLE)\r
208 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
13986b69 209!endif
9c228fb0
MM
210 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
211\r
13986b69 212[LibraryClasses.common.DXE_DRIVER]
9c228fb0
MM
213 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
214 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
215 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
216 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
217 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
218 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
13986b69 219
9c228fb0
MM
220[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
221 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
222 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
223 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
224 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
13986b69 225
9c228fb0
MM
226[LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]\r
227 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
228 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
229 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
13986b69
LL
230 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
231
9c228fb0
MM
232################################################################################\r
233#\r
234# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
235#\r
236################################################################################\r
237[PcdsFeatureFlag]\r
238 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE\r
239 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE\r
240 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
241 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
242 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
243\r
244[PcdsFixedAtBuild]\r
9c228fb0
MM
245 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000\r
246 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000\r
247 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000\r
13986b69
LL
248
249 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
9c228fb0
MM
250\r
251!if $(SOURCE_DEBUG_ENABLE)\r
252 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
253!endif\r
254\r
bae5ddc0 255[PcdsPatchableInModule.common]\r
ab28ec2b
LL
256 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7
257 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
258!if $(SOURCE_DEBUG_ENABLE)
259 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
260!else
261 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
262!endif
263
264 #
265 # The following parameters are set by Library/PlatformHookLib
266 #
bae5ddc0 267 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE\r
ab28ec2b
LL
268 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x3f8
269 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|$(BAUD_RATE)
270 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1
271
272 #
273 # Enable these parameters to be set on the command line
274 #
275 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|$(SERIAL_CLOCK_RATE)
276 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|$(SERIAL_LINE_CONTROL)
277 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|$(SERIAL_HARDWARE_FLOW_CONTROL)
278 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|$(SERIAL_DETECT_CABLE)
279 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|$(SERIAL_FIFO_CONTROL)
280 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSize|$(SERIAL_EXTENDED_TX_FIFO_SIZE)
281
282 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|$(UART_DEFAULT_BAUD_RATE)
283 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|$(UART_DEFAULT_DATA_BITS)
284 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|$(UART_DEFAULT_PARITY)
285 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|$(UART_DEFAULT_STOP_BITS)
286 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|$(DEFAULT_TERMINAL_TYPE)
287 gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|$(PCI_SERIAL_PARAMETERS)
bae5ddc0 288\r
109df3fa
LL
289 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)
290
9c228fb0
MM
291################################################################################\r
292#\r
293# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
294#\r
295################################################################################\r
296\r
297[PcdsDynamicDefault]\r
298 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
299 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
300 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
301 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
302\r
303\r
304################################################################################\r
305#\r
306# Components Section - list of all EDK II Modules needed by this Platform.\r
307#\r
308################################################################################\r
309[Components.IA32]\r
310 #\r
311 # SEC Core\r
312 #\r
313 CorebootModulePkg/SecCore/SecCore.inf\r
13986b69 314
9c228fb0
MM
315 #\r
316 # PEI Core\r
317 #\r
318 MdeModulePkg/Core/Pei/PeiMain.inf\r
13986b69 319
9c228fb0
MM
320 #\r
321 # PEIM\r
322 #\r
323 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
324 <LibraryClasses>\r
325 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
326 }\r
327 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
13986b69
LL
328
329 CorebootModulePkg/CbSupportPei/CbSupportPei.inf
9c228fb0
MM
330 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
331\r
332[Components.IA32]\r
333 #\r
334 # DXE Core\r
335 #\r
336 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
337 <LibraryClasses>\r
338 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
339 }\r
13986b69 340
9c228fb0
MM
341 #\r
342 # Components that produce the architectural protocols\r
343 #\r
344 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
345 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
346 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf\r
347 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
348 MdeModulePkg/Universal/Metronome/Metronome.inf\r
349 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
350 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
351 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
352 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
13986b69
LL
353 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
354 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
9c228fb0 355 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf\r
13986b69 356
9c228fb0 357 #\r
13986b69 358 # Following are the DXE drivers
9c228fb0
MM
359 #\r
360 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
361 <LibraryClasses>\r
362 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
363 }\r
13986b69 364
9c228fb0
MM
365 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf\r
366 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
367 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
368 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
13986b69 369 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
9c228fb0 370 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
13986b69 371 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
9c228fb0 372 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
13986b69
LL
373
374 CorebootModulePkg/CbSupportDxe/CbSupportDxe.inf
375
9c228fb0
MM
376 #\r
377 # SMBIOS Support\r
378 #\r
379 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
13986b69 380
9c228fb0
MM
381 #\r
382 # ACPI Support\r
383 #\r
13986b69
LL
384 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
385
9c228fb0
MM
386 #\r
387 # PCI Support\r
388 #\r
81a23a0f
LL
389 CorebootModulePkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
390 CorebootModulePkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
89ecd4cf 391 CorebootModulePkg/PciSioSerialDxe/PciSioSerialDxe.inf
13986b69 392
9c228fb0
MM
393 #\r
394 # SCSI/ATA/IDE/DISK Support\r
395 #\r
396 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
397 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
398 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
eeb69ffc 399 FatPkg/EnhancedFatDxe/Fat.inf
81a23a0f 400 CorebootModulePkg/SataControllerDxe/SataControllerDxe.inf
9c228fb0 401 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
13986b69 402 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
9c228fb0
MM
403 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
404 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
13986b69 405
9c228fb0
MM
406 #\r
407 # Usb Support\r
408 #\r
409 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
410 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
411 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
412 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
413 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
414 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
13986b69 415
9c228fb0
MM
416 #\r
417 # ISA Support\r
418 #\r
89ecd4cf 419 CorebootModulePkg/SerialDxe/SerialDxe.inf
13986b69 420
9c228fb0
MM
421 #\r
422 # Console Support\r
423 #\r
424 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
425 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
426 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
427 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
13986b69
LL
428
429
9c228fb0 430 #\r
13986b69 431 # Framebuffer Gop
9c228fb0
MM
432 #\r
433 CorebootPayloadPkg/FbGop/FbGop.inf\r
d3f5d598
LL
434
435 #------------------------------
436 # Build the shell
437 #------------------------------
438
439!if $(SHELL_TYPE) == BUILD_SHELL
440
441[PcdsFixedAtBuild]
442 ## This flag is used to control initialization of the shell library
443 # This should be FALSE for compiling the shell application itself only.
444 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
445
446 #
447 # Shell Lib
448 #
449[LibraryClasses]
450 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
451 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
452 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
453
454[Components.IA32]
455 ShellPkg/Application/Shell/Shell.inf {
456
457 #------------------------------
458 # Basic commands
459 #------------------------------
460
461 <LibraryClasses>
462 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
463 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
464 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
465 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
466 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
467 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
468
469 #------------------------------
470 # Networking commands
471 #------------------------------
472
473 <LibraryClasses>
474 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
475 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
476
477 #------------------------------
478 # Performance command
479 #------------------------------
480
481 <LibraryClasses>
482 NULL|ShellPkg/Library/UefiDpLib/UefiDpLib.inf
483
484 #------------------------------
485 # Support libraries
486 #------------------------------
487
488 <LibraryClasses>
489 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
490 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
491 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
492 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
493 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
494 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
495 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
496 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
497 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
498 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
499 }
500
501!endif