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