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