]> git.proxmox.com Git - mirror_edk2.git/blame - CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc
CorebootPayloadPkg: Make serial I/O configurable
[mirror_edk2.git] / CorebootPayloadPkg / CorebootPayloadPkgIa32X64.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
9c228fb0 27 SUPPORTED_ARCHITECTURES = IA32|X64\r
090b856b 28 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
9c228fb0 29 SKUID_IDENTIFIER = DEFAULT\r
08fc1818 30 OUTPUT_DIRECTORY = Build/CorebootPayloadPkgX64\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
ab28ec2b
LL
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
d3f5d598
LL
70 #
71 # Shell options: [BUILD_SHELL, FULL_BIN, MIN_BIN, NONE, UEFI]
72 #
73 DEFINE SHELL_TYPE = FULL_BIN
74
9c228fb0 75[BuildOptions]\r
d3f5d598
LL
76 GCC:DEBUG_*_*_CC_FLAGS = -Og -flto
77 GCC:DEBUG_*_*_DLINK_FLAGS = -flto
9c228fb0
MM
78 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
79 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
80 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
81 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
82\r
83################################################################################\r
84#\r
85# SKU Identification section - list of all SKU IDs supported by this Platform.\r
86#\r
87################################################################################\r
88[SkuIds]\r
89 0|DEFAULT\r
90\r
91################################################################################\r
92#\r
93# Library Class section - list of all Library Classes needed by this Platform.\r
94#\r
95################################################################################\r
96[LibraryClasses]\r
97 #\r
98 # Entry point\r
99 #\r
100 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
101 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
102 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
103 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
104 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
105\r
106 #\r
107 # Basic\r
108 #\r
13986b69 109 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
9c228fb0
MM
110 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
111 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
112 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
113 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
114 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
115 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
116 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
117 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
118 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
119 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
13986b69 120
9c228fb0
MM
121 #\r
122 # UEFI & PI\r
123 #\r
124 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
125 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
126 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
127 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
128 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
129 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
130 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
131 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
132 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
133 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
134 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
135 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
136 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
13986b69 137
9c228fb0
MM
138 #\r
139 # Generic Modules\r
140 #\r
141 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
142 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
143 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
144 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
145 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
146 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
147 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
13986b69 148
9c228fb0
MM
149 #\r
150 # CPU\r
151 #\r
152 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
13986b69
LL
153 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
154
9c228fb0
MM
155 #\r
156 # Platform\r
157 #\r
158 TimerLib|CorebootPayloadPkg/Library/AcpiTimerLib/AcpiTimerLib.inf\r
159 ResetSystemLib|CorebootPayloadPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
bae5ddc0
SZ
160 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf\r
161 PlatformHookLib|CorebootPayloadPkg/Library/PlatformHookLib/PlatformHookLib.inf\r
9c228fb0 162 PlatformBdsLib|CorebootPayloadPkg/Library/PlatformBdsLib/PlatformBdsLib.inf\r
13986b69 163
9c228fb0
MM
164 #\r
165 # Misc\r
166 #\r
167 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
168 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
169 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
170!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
171 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
172 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
173!else\r
174 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
13986b69 175 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
9c228fb0
MM
176!endif\r
177 CbParseLib|CorebootModulePkg/Library/CbParseLib/CbParseLib.inf\r
178 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
179 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf\r
180\r
181[LibraryClasses.IA32.SEC]\r
182 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
183 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
184 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
185 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
186 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
187 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
188\r
189[LibraryClasses.IA32.PEI_CORE, LibraryClasses.IA32.PEIM]\r
190 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
191 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
192 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
193 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
194 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
195!if $(SOURCE_DEBUG_ENABLE)\r
196 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
197!endif\r
198\r
199[LibraryClasses.common.DXE_CORE]\r
200 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
201 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
202 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
203 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
13986b69 204 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
9c228fb0
MM
205!if $(SOURCE_DEBUG_ENABLE)\r
206 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
13986b69 207!endif
9c228fb0
MM
208 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
209\r
13986b69 210[LibraryClasses.common.DXE_DRIVER]
9c228fb0
MM
211 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
212 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
213 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
214 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
215 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
216 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
13986b69 217
9c228fb0
MM
218[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
219 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
220 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
221 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
222 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
13986b69 223
9c228fb0
MM
224[LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]\r
225 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
226 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
227 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
13986b69
LL
228 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
229
9c228fb0
MM
230################################################################################\r
231#\r
232# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
233#\r
234################################################################################\r
235[PcdsFeatureFlag]\r
236 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE\r
237 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE\r
238 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE\r
239 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
240 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
241\r
242[PcdsFixedAtBuild]\r
9c228fb0
MM
243 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000\r
244 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000\r
245 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000\r
13986b69
LL
246
247 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
8e0fdb3a 248 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE\r
9c228fb0
MM
249\r
250!if $(SOURCE_DEBUG_ENABLE)\r
251 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
252!endif\r
253\r
bae5ddc0 254[PcdsPatchableInModule.common]\r
ab28ec2b
LL
255 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7
256
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
9c228fb0
MM
289################################################################################\r
290#\r
291# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
292#\r
293################################################################################\r
294\r
295[PcdsDynamicDefault]\r
296 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
297 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
298 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
299 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
300\r
301\r
302################################################################################\r
303#\r
304# Components Section - list of all EDK II Modules needed by this Platform.\r
305#\r
306################################################################################\r
307[Components.IA32]\r
308 #\r
309 # SEC Core\r
310 #\r
311 CorebootModulePkg/SecCore/SecCore.inf\r
13986b69 312
9c228fb0
MM
313 #\r
314 # PEI Core\r
315 #\r
316 MdeModulePkg/Core/Pei/PeiMain.inf\r
13986b69 317
9c228fb0
MM
318 #\r
319 # PEIM\r
320 #\r
321 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
322 <LibraryClasses>\r
323 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
324 }\r
325 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
13986b69
LL
326
327 CorebootModulePkg/CbSupportPei/CbSupportPei.inf
9c228fb0
MM
328 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
329\r
330[Components.X64]\r
331 #\r
332 # DXE Core\r
333 #\r
334 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
335 <LibraryClasses>\r
336 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
337 }\r
13986b69 338
9c228fb0
MM
339 #\r
340 # Components that produce the architectural protocols\r
341 #\r
342 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
343 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
344 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf\r
345 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
346 MdeModulePkg/Universal/Metronome/Metronome.inf\r
347 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
348 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
349 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
350 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
13986b69
LL
351 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
352 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
9c228fb0 353 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf\r
13986b69 354
9c228fb0 355 #\r
13986b69 356 # Following are the DXE drivers
9c228fb0
MM
357 #\r
358 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
359 <LibraryClasses>\r
360 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
361 }\r
13986b69 362
9c228fb0
MM
363 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf\r
364 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
365 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
366 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
13986b69 367 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
9c228fb0 368 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
13986b69 369 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
9c228fb0 370 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
13986b69
LL
371
372 CorebootModulePkg/CbSupportDxe/CbSupportDxe.inf
373
9c228fb0
MM
374 #\r
375 # SMBIOS Support\r
376 #\r
377 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
13986b69 378
9c228fb0
MM
379 #\r
380 # ACPI Support\r
381 #\r
13986b69
LL
382 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
383
9c228fb0
MM
384 #\r
385 # PCI Support\r
13986b69 386 #
81a23a0f
LL
387 CorebootModulePkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
388 CorebootModulePkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
13986b69 389
9c228fb0
MM
390 #\r
391 # SCSI/ATA/IDE/DISK Support\r
392 #\r
393 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
394 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
395 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
eeb69ffc 396 FatPkg/EnhancedFatDxe/Fat.inf
81a23a0f 397 CorebootModulePkg/SataControllerDxe/SataControllerDxe.inf
9c228fb0 398 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
13986b69 399 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
9c228fb0
MM
400 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
401 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
13986b69 402
9c228fb0
MM
403 #\r
404 # Usb Support\r
405 #\r
406 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
407 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
408 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
409 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
410 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
411 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
13986b69 412
9c228fb0
MM
413 #\r
414 # ISA Support\r
415 #\r
bae5ddc0 416 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r
13986b69 417
9c228fb0
MM
418 #\r
419 # Console Support\r
420 #\r
421 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
422 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
423 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
424 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
13986b69
LL
425
426
9c228fb0 427 #\r
13986b69 428 # Framebuffer Gop
9c228fb0
MM
429 #\r
430 CorebootPayloadPkg/FbGop/FbGop.inf\r
d3f5d598
LL
431
432 #------------------------------
433 # Build the shell
434 #------------------------------
435
436!if $(SHELL_TYPE) == BUILD_SHELL
437
438[PcdsFixedAtBuild]
439 ## This flag is used to control initialization of the shell library
440 # This should be FALSE for compiling the shell application itself only.
441 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
442
443 #
444 # Shell Lib
445 #
446[LibraryClasses]
447 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
448 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
449 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
450
451[Components.X64]
452 ShellPkg/Application/Shell/Shell.inf {
453
454 #------------------------------
455 # Basic commands
456 #------------------------------
457
458 <LibraryClasses>
459 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
460 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
461 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
462 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
463 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
464 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
465
466 #------------------------------
467 # Networking commands
468 #------------------------------
469
470 <LibraryClasses>
471 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
472 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
473
474 #------------------------------
475 # Performance command
476 #------------------------------
477
478 <LibraryClasses>
479 NULL|ShellPkg/Library/UefiDpLib/UefiDpLib.inf
480
481 #------------------------------
482 # Support libraries
483 #------------------------------
484
485 <LibraryClasses>
486 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
487 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
488 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
489 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
490 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
491 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
492 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
493 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
494 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
495 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
496 }
497
498!endif