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