]>
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 | |
08c65f7c | 6 | # Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR>\r |
d49fe0ca | 7 | # Copyright (c) Microsoft Corporation.\r |
04af8bf2 DG |
8 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r |
9 | #\r | |
10 | ##\r | |
11 | \r | |
12 | ################################################################################\r | |
13 | #\r | |
14 | # Defines Section - statements that will be processed to create a Makefile.\r | |
15 | #\r | |
16 | ################################################################################\r | |
17 | [Defines]\r | |
18 | PLATFORM_NAME = UefiPayloadPkg\r | |
19 | PLATFORM_GUID = F71608AB-D63D-4491-B744-A99998C8CD96\r | |
20 | PLATFORM_VERSION = 0.1\r | |
21 | DSC_SPECIFICATION = 0x00010005\r | |
22 | SUPPORTED_ARCHITECTURES = IA32|X64\r | |
23 | BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r | |
24 | SKUID_IDENTIFIER = DEFAULT\r | |
25 | OUTPUT_DIRECTORY = Build/UefiPayloadPkgX64\r | |
26 | FLASH_DEFINITION = UefiPayloadPkg/UefiPayloadPkg.fdf\r | |
be282b14 | 27 | PCD_DYNAMIC_AS_DYNAMICEX = TRUE\r |
04af8bf2 DG |
28 | \r |
29 | DEFINE SOURCE_DEBUG_ENABLE = FALSE\r | |
33a32936 | 30 | DEFINE PS2_KEYBOARD_ENABLE = FALSE\r |
d60915b7 ZL |
31 | DEFINE RAM_DISK_ENABLE = FALSE\r |
32 | DEFINE SIO_BUS_ENABLE = FALSE\r | |
82f727c4 | 33 | DEFINE UNIVERSAL_PAYLOAD = FALSE\r |
19ee56c4 | 34 | DEFINE SECURITY_STUB_ENABLE = TRUE\r |
b80c17b6 | 35 | DEFINE SMM_SUPPORT = FALSE\r |
55637a28 | 36 | DEFINE PLATFORM_BOOT_TIMEOUT = 3\r |
091b6a11 | 37 | DEFINE ABOVE_4G_MEMORY = TRUE\r |
af74efe4 | 38 | DEFINE BOOT_MANAGER_ESCAPE = FALSE\r |
79a705fb | 39 | DEFINE SD_MMC_TIMEOUT = 1000000\r |
04af8bf2 DG |
40 | #\r |
41 | # SBL: UEFI payload for Slim Bootloader\r | |
42 | # COREBOOT: UEFI payload for coreboot\r | |
43 | #\r | |
b80c17b6 | 44 | DEFINE BOOTLOADER = SBL\r |
04af8bf2 DG |
45 | \r |
46 | #\r | |
47 | # CPU options\r | |
48 | #\r | |
442e46d3 | 49 | DEFINE MAX_LOGICAL_PROCESSORS = 256\r |
04af8bf2 DG |
50 | \r |
51 | #\r | |
52 | # PCI options\r | |
53 | #\r | |
3900a63e | 54 | DEFINE PCIE_BASE_SUPPORT = TRUE\r |
04af8bf2 DG |
55 | \r |
56 | #\r | |
57 | # Serial port set up\r | |
58 | #\r | |
59 | DEFINE BAUD_RATE = 115200\r | |
60 | DEFINE SERIAL_CLOCK_RATE = 1843200\r | |
61 | DEFINE SERIAL_LINE_CONTROL = 3 # 8-bits, no parity\r | |
62 | DEFINE SERIAL_HARDWARE_FLOW_CONTROL = FALSE\r | |
63 | DEFINE SERIAL_DETECT_CABLE = FALSE\r | |
64 | DEFINE SERIAL_FIFO_CONTROL = 7 # Enable FIFO\r | |
04af8bf2 DG |
65 | DEFINE UART_DEFAULT_BAUD_RATE = $(BAUD_RATE)\r |
66 | DEFINE UART_DEFAULT_DATA_BITS = 8\r | |
67 | DEFINE UART_DEFAULT_PARITY = 1\r | |
68 | DEFINE UART_DEFAULT_STOP_BITS = 1\r | |
69 | DEFINE DEFAULT_TERMINAL_TYPE = 0\r | |
70 | \r | |
48aa2edf PR |
71 | # Enabling the serial terminal will slow down the boot menu redering!\r |
72 | DEFINE DISABLE_SERIAL_TERMINAL = FALSE\r | |
73 | \r | |
04af8bf2 DG |
74 | #\r |
75 | # typedef struct {\r | |
76 | # UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.\r | |
77 | # UINT16 DeviceId; ///< Device ID to match the PCI device\r | |
78 | # UINT32 ClockRate; ///< UART clock rate. Set to 0 for default clock rate of 1843200 Hz\r | |
79 | # UINT64 Offset; ///< The byte offset into to the BAR\r | |
80 | # UINT8 BarIndex; ///< Which BAR to get the UART base address\r | |
81 | # UINT8 RegisterStride; ///< UART register stride in bytes. Set to 0 for default register stride of 1 byte.\r | |
82 | # UINT16 ReceiveFifoDepth; ///< UART receive FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.\r | |
83 | # UINT16 TransmitFifoDepth; ///< UART transmit FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.\r | |
84 | # UINT8 Reserved[2];\r | |
85 | # } PCI_SERIAL_PARAMETER;\r | |
86 | #\r | |
87 | # Vendor FFFF Device 0000 Prog Interface 1, BAR #0, Offset 0, Stride = 1, Clock 1843200 (0x1c2000)\r | |
88 | #\r | |
89 | # [Vendor] [Device] [----ClockRate---] [------------Offset-----------] [Bar] [Stride] [RxFifo] [TxFifo] [Rsvd] [Vendor]\r | |
90 | 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 | |
91 | \r | |
92 | #\r | |
93 | # Shell options: [BUILD_SHELL, MIN_BIN, NONE, UEFI_BIN]\r | |
94 | #\r | |
95 | DEFINE SHELL_TYPE = BUILD_SHELL\r | |
96 | \r | |
b80c17b6 GD |
97 | #\r |
98 | # EMU: UEFI payload with EMU variable\r | |
99 | # SPI: UEFI payload with SPI NV variable support\r | |
100 | # NONE: UEFI payload with no variable modules\r | |
101 | #\r | |
102 | DEFINE VARIABLE_SUPPORT = EMU\r | |
103 | \r | |
2db0ed93 | 104 | DEFINE DISABLE_RESET_SYSTEM = FALSE\r |
d248516b | 105 | DEFINE NETWORK_DRIVER_ENABLE = FALSE\r |
2db0ed93 | 106 | \r |
b40bdd6e ZL |
107 | # Dfine the maximum size of the capsule image without a reset flag that the platform can support.\r |
108 | DEFINE MAX_SIZE_NON_POPULATE_CAPSULE = 0xa00000\r | |
109 | \r | |
110 | # Define RTC related register.\r | |
111 | DEFINE RTC_INDEX_REGISTER = 0x70\r | |
112 | DEFINE RTC_TARGET_REGISTER = 0x71\r | |
113 | \r | |
672bd1c7 | 114 | DEFINE SERIAL_DRIVER_ENABLE = TRUE\r |
2527723d | 115 | DEFINE PERFORMANCE_MEASUREMENT_ENABLE = FALSE\r |
672bd1c7 | 116 | \r |
a867f3a7 ZL |
117 | # For recent X86 CPU, 0x15 CPUID instruction will return Time Stamp Counter Frequence.\r |
118 | # This is how BaseCpuTimerLib works, and a recommended way to get Frequence, so set the default value as TRUE.\r | |
119 | # Note: for emulation platform such as QEMU, this may not work and should set it as FALSE\r | |
120 | DEFINE CPU_TIMER_LIB_ENABLE = TRUE\r | |
58019100 | 121 | \r |
04af8bf2 DG |
122 | [BuildOptions]\r |
123 | *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r | |
124 | GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG\r | |
125 | GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r | |
126 | INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r | |
127 | MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r | |
128 | \r | |
7c4ab1c2 GD |
129 | [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r |
130 | GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r | |
131 | XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000\r | |
132 | XCODE:*_*_*_MTOC_FLAGS = -align 0x1000\r | |
133 | CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096\r | |
134 | MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096\r | |
04af8bf2 DG |
135 | \r |
136 | ################################################################################\r | |
137 | #\r | |
138 | # SKU Identification section - list of all SKU IDs supported by this Platform.\r | |
139 | #\r | |
140 | ################################################################################\r | |
141 | [SkuIds]\r | |
142 | 0|DEFAULT\r | |
143 | \r | |
144 | ################################################################################\r | |
145 | #\r | |
146 | # Library Class section - list of all Library Classes needed by this Platform.\r | |
147 | #\r | |
148 | ################################################################################\r | |
08c65f7c DB |
149 | \r |
150 | !include MdePkg/MdeLibs.dsc.inc\r | |
151 | \r | |
04af8bf2 DG |
152 | [LibraryClasses]\r |
153 | #\r | |
154 | # Entry point\r | |
155 | #\r | |
04af8bf2 DG |
156 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r |
157 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r | |
158 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
159 | \r | |
160 | #\r | |
161 | # Basic\r | |
162 | #\r | |
163 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r | |
164 | BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r | |
165 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r | |
166 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
167 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r | |
168 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r | |
3900a63e | 169 | !if $(PCIE_BASE_SUPPORT) == FALSE\r |
04af8bf2 DG |
170 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r |
171 | PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r | |
172 | !else\r | |
173 | PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r | |
174 | PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r | |
175 | !endif\r | |
3900a63e RN |
176 | PciSegmentLib|MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf\r |
177 | PciSegmentInfoLib|UefiPayloadPkg/Library/PciSegmentInfoLibAcpiBoardInfo/PciSegmentInfoLibAcpiBoardInfo.inf\r | |
04af8bf2 DG |
178 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r |
179 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
180 | CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r | |
6d95eff8 | 181 | SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r |
82f727c4 | 182 | DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLib/DxeHobListLib.inf\r |
d248516b S |
183 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r |
184 | TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r | |
185 | IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r | |
186 | OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r | |
187 | RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf\r | |
82f727c4 | 188 | HobLib|UefiPayloadPkg/Library/DxeHobLib/DxeHobLib.inf\r |
04af8bf2 DG |
189 | \r |
190 | #\r | |
191 | # UEFI & PI\r | |
192 | #\r | |
193 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r | |
194 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
195 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r | |
196 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
197 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r | |
198 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
199 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
200 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
04af8bf2 DG |
201 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r |
202 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r | |
203 | UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r | |
204 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r | |
205 | \r | |
206 | #\r | |
207 | # Generic Modules\r | |
208 | #\r | |
209 | UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r | |
210 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r | |
211 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
212 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r | |
213 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r | |
214 | UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r | |
215 | CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r | |
216 | FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r | |
217 | \r | |
218 | #\r | |
219 | # CPU\r | |
220 | #\r | |
221 | MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r | |
222 | LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r | |
83c7f817 | 223 | MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf\r |
04af8bf2 DG |
224 | \r |
225 | #\r | |
226 | # Platform\r | |
227 | #\r | |
a867f3a7 | 228 | !if $(CPU_TIMER_LIB_ENABLE) == TRUE && $(UNIVERSAL_PAYLOAD) == TRUE\r |
2527723d ZL |
229 | TimerLib|UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf\r |
230 | !else\r | |
04af8bf2 | 231 | TimerLib|UefiPayloadPkg/Library/AcpiTimerLib/AcpiTimerLib.inf\r |
2527723d | 232 | !endif\r |
04af8bf2 DG |
233 | ResetSystemLib|UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.inf\r |
234 | SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf\r | |
235 | PlatformHookLib|UefiPayloadPkg/Library/PlatformHookLib/PlatformHookLib.inf\r | |
236 | PlatformBootManagerLib|UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r | |
237 | IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf\r | |
238 | \r | |
239 | #\r | |
240 | # Misc\r | |
241 | #\r | |
3e130e40 | 242 | DebugPrintErrorLevelLib|UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/DebugPrintErrorLevelLibHob.inf\r |
04af8bf2 DG |
243 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r |
244 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r | |
245 | PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r | |
246 | DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r | |
247 | !else\r | |
248 | PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r | |
249 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r | |
250 | !endif\r | |
251 | PlatformSupportLib|UefiPayloadPkg/Library/PlatformSupportLibNull/PlatformSupportLibNull.inf\r | |
6b69f73b ZL |
252 | !if $(UNIVERSAL_PAYLOAD) == FALSE\r |
253 | !if $(BOOTLOADER) == "COREBOOT"\r | |
254 | BlParseLib|UefiPayloadPkg/Library/CbParseLib/CbParseLib.inf\r | |
255 | !else\r | |
256 | BlParseLib|UefiPayloadPkg/Library/SblParseLib/SblParseLib.inf\r | |
257 | !endif\r | |
04af8bf2 DG |
258 | !endif\r |
259 | \r | |
0023e35c | 260 | DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r |
04af8bf2 DG |
261 | LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf\r |
262 | FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r | |
263 | AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r | |
b80c17b6 | 264 | !if $(VARIABLE_SUPPORT) == "EMU"\r |
04af8bf2 | 265 | TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r |
b80c17b6 GD |
266 | !elseif $(VARIABLE_SUPPORT) == "SPI"\r |
267 | PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r | |
268 | TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r | |
269 | S3BootScriptLib|MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf\r | |
270 | MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf\r | |
271 | !endif\r | |
04af8bf2 | 272 | VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r |
d49fe0ca BB |
273 | VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf\r |
274 | VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf\r | |
b80c17b6 | 275 | VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf\r |
0023e35c | 276 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r |
04af8bf2 | 277 | \r |
7c4ab1c2 | 278 | [LibraryClasses.common.SEC]\r |
82f727c4 | 279 | HobLib|UefiPayloadPkg/Library/PayloadEntryHobLib/HobLib.inf\r |
04af8bf2 | 280 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r |
82f727c4 | 281 | DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.inf\r |
0023e35c | 282 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r |
04af8bf2 DG |
283 | \r |
284 | [LibraryClasses.common.DXE_CORE]\r | |
82f727c4 | 285 | DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.inf\r |
04af8bf2 DG |
286 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r |
287 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r | |
288 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r | |
289 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
290 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
291 | !if $(SOURCE_DEBUG_ENABLE)\r | |
292 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r | |
293 | !endif\r | |
294 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r | |
2527723d ZL |
295 | !if $(PERFORMANCE_MEASUREMENT_ENABLE)\r |
296 | PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r | |
297 | !endif\r | |
04af8bf2 DG |
298 | \r |
299 | [LibraryClasses.common.DXE_DRIVER]\r | |
300 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
04af8bf2 DG |
301 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r |
302 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
303 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
304 | !if $(SOURCE_DEBUG_ENABLE)\r | |
305 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r | |
306 | !endif\r | |
307 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r | |
308 | MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r | |
2527723d ZL |
309 | !if $(PERFORMANCE_MEASUREMENT_ENABLE)\r |
310 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
311 | !endif\r | |
04af8bf2 DG |
312 | \r |
313 | [LibraryClasses.common.DXE_RUNTIME_DRIVER]\r | |
314 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
04af8bf2 DG |
315 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r |
316 | ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r | |
d49fe0ca | 317 | VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf\r |
2527723d ZL |
318 | !if $(PERFORMANCE_MEASUREMENT_ENABLE)\r |
319 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
320 | !endif\r | |
04af8bf2 DG |
321 | \r |
322 | [LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]\r | |
323 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
324 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
325 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
2527723d ZL |
326 | !if $(PERFORMANCE_MEASUREMENT_ENABLE)\r |
327 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
328 | !endif\r | |
04af8bf2 | 329 | \r |
b80c17b6 GD |
330 | [LibraryClasses.common.SMM_CORE]\r |
331 | !if $(SMM_SUPPORT) == TRUE\r | |
332 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
333 | SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r | |
334 | \r | |
335 | MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r | |
336 | SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r | |
337 | SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r | |
338 | ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r | |
2527723d ZL |
339 | !if $(PERFORMANCE_MEASUREMENT_ENABLE)\r |
340 | PerformanceLib|MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf\r | |
341 | !endif\r | |
b80c17b6 GD |
342 | !endif\r |
343 | \r | |
344 | [LibraryClasses.common.DXE_SMM_DRIVER]\r | |
345 | !if $(SMM_SUPPORT) == TRUE\r | |
346 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
347 | \r | |
348 | MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r | |
349 | SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r | |
350 | SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r | |
351 | MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r | |
0023e35c | 352 | DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r |
b80c17b6 GD |
353 | SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r |
354 | SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r | |
355 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r | |
356 | ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r | |
2527723d ZL |
357 | !if $(PERFORMANCE_MEASUREMENT_ENABLE)\r |
358 | PerformanceLib|MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf\r | |
359 | !endif\r | |
b80c17b6 GD |
360 | !endif\r |
361 | !if $(VARIABLE_SUPPORT) == "SPI"\r | |
362 | SpiFlashLib|UefiPayloadPkg/Library/SpiFlashLib/SpiFlashLib.inf\r | |
363 | FlashDeviceLib|UefiPayloadPkg/Library/FlashDeviceLib/FlashDeviceLib.inf\r | |
364 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r | |
365 | !endif\r | |
366 | \r | |
04af8bf2 DG |
367 | ################################################################################\r |
368 | #\r | |
369 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r | |
370 | #\r | |
371 | ################################################################################\r | |
372 | [PcdsFeatureFlag]\r | |
04af8bf2 DG |
373 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE\r |
374 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r | |
375 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r | |
3eb72b30 ZL |
376 | ## This PCD specified whether ACPI SDT protocol is installed.\r |
377 | gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r | |
ac6e5d6b ZL |
378 | gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r |
379 | gEfiMdeModulePkgTokenSpaceGuid.PcdPciDegradeResourceForOptionRom|FALSE\r | |
b80c17b6 | 380 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE\r |
04af8bf2 DG |
381 | \r |
382 | [PcdsFixedAtBuild]\r | |
0023e35c | 383 | gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|1\r |
04af8bf2 DG |
384 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000\r |
385 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000\r | |
386 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000\r | |
b80c17b6 GD |
387 | !if $(VARIABLE_SUPPORT) == "EMU"\r |
388 | gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable |TRUE\r | |
389 | !else\r | |
390 | gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable |FALSE\r | |
391 | !endif\r | |
04af8bf2 DG |
392 | \r |
393 | gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r | |
763e0f0a | 394 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE\r |
04af8bf2 | 395 | gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE\r |
04af8bf2 | 396 | \r |
27cb64ff | 397 | gUefiPayloadPkgTokenSpaceGuid.PcdPcdDriverFile|{ 0x57, 0x72, 0xcf, 0x80, 0xab, 0x87, 0xf9, 0x47, 0xa3, 0xfe, 0xD5, 0x0B, 0x76, 0xd8, 0x95, 0x41 }\r |
04af8bf2 DG |
398 | \r |
399 | !if $(SOURCE_DEBUG_ENABLE)\r | |
400 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r | |
401 | !endif\r | |
b80c17b6 | 402 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000\r |
2527723d ZL |
403 | gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly| TRUE\r |
404 | !if $(PERFORMANCE_MEASUREMENT_ENABLE)\r | |
405 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask | 0x1\r | |
406 | !endif\r | |
79a705fb | 407 | gEfiMdeModulePkgTokenSpaceGuid.PcdSdMmcGenericTimeoutValue|$(SD_MMC_TIMEOUT)\r |
04af8bf2 | 408 | \r |
091b6a11 | 409 | gUefiPayloadPkgTokenSpaceGuid.PcdDispatchModuleAbove4GMemory|$(ABOVE_4G_MEMORY)\r |
af74efe4 | 410 | gUefiPayloadPkgTokenSpaceGuid.PcdBootManagerEscape|$(BOOT_MANAGER_ESCAPE)\r |
091b6a11 | 411 | \r |
bda3546c TD |
412 | [PcdsPatchableInModule.X64]\r |
413 | gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|$(RTC_INDEX_REGISTER)\r | |
414 | gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|$(RTC_TARGET_REGISTER)\r | |
76191052 | 415 | !if $(NETWORK_DRIVER_ENABLE) == TRUE\r |
bda3546c | 416 | gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE\r |
76191052 | 417 | !endif\r |
bda3546c | 418 | \r |
04af8bf2 | 419 | [PcdsPatchableInModule.common]\r |
19a541d7 | 420 | gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r |
04af8bf2 DG |
421 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7\r |
422 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r | |
423 | !if $(SOURCE_DEBUG_ENABLE)\r | |
424 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r | |
425 | !else\r | |
426 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r | |
427 | !endif\r | |
b40bdd6e | 428 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|$(MAX_SIZE_NON_POPULATE_CAPSULE)\r |
04af8bf2 DG |
429 | #\r |
430 | # The following parameters are set by Library/PlatformHookLib\r | |
431 | #\r | |
432 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE\r | |
317d84ab | 433 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0\r |
04af8bf2 DG |
434 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|$(BAUD_RATE)\r |
435 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1\r | |
436 | \r | |
437 | #\r | |
438 | # Enable these parameters to be set on the command line\r | |
439 | #\r | |
440 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|$(SERIAL_CLOCK_RATE)\r | |
441 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|$(SERIAL_LINE_CONTROL)\r | |
442 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|$(SERIAL_HARDWARE_FLOW_CONTROL)\r | |
443 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|$(SERIAL_DETECT_CABLE)\r | |
444 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|$(SERIAL_FIFO_CONTROL)\r | |
04af8bf2 | 445 | \r |
04af8bf2 DG |
446 | gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|$(PCI_SERIAL_PARAMETERS)\r |
447 | \r | |
448 | gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)\r | |
ac6e5d6b | 449 | gUefiCpuPkgTokenSpaceGuid.PcdCpuNumberOfReservedVariableMtrrs|0\r |
422e5d2f | 450 | gUefiPayloadPkgTokenSpaceGuid.PcdBootloaderParameter|0\r |
04af8bf2 DG |
451 | \r |
452 | ################################################################################\r | |
453 | #\r | |
fa24b6ed | 454 | # Pcd DynamicEx Section - list of all EDK II PCD Entries defined by this Platform\r |
04af8bf2 DG |
455 | #\r |
456 | ################################################################################\r | |
457 | \r | |
fa24b6ed | 458 | [PcdsDynamicExDefault]\r |
d497eace ZL |
459 | gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|$(UART_DEFAULT_BAUD_RATE)\r |
460 | gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|$(UART_DEFAULT_DATA_BITS)\r | |
461 | gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|$(UART_DEFAULT_PARITY)\r | |
462 | gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|$(UART_DEFAULT_STOP_BITS)\r | |
463 | gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|$(DEFAULT_TERMINAL_TYPE)\r | |
464 | gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport\r | |
465 | gEfiMdeModulePkgTokenSpaceGuid.PcdMrIovSupport\r | |
466 | gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport\r | |
467 | gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSystemPageSize\r | |
468 | gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds\r | |
469 | gUefiCpuPkgTokenSpaceGuid.PcdCpuApLoopMode\r | |
470 | gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchAddress\r | |
471 | gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize\r | |
472 | !if $(TARGET) == DEBUG\r | |
473 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE\r | |
474 | !else\r | |
475 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r | |
476 | !endif\r | |
caa139fe | 477 | gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r |
04af8bf2 DG |
478 | gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r |
479 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r | |
480 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r | |
481 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r | |
55637a28 | 482 | gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|$(PLATFORM_BOOT_TIMEOUT)\r |
b80c17b6 GD |
483 | !if $(VARIABLE_SUPPORT) == "SPI"\r |
484 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize |0\r | |
485 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0\r | |
486 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize |0\r | |
487 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase |0\r | |
488 | !endif\r | |
489 | # Disable SMM S3 script\r | |
490 | gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r | |
04af8bf2 DG |
491 | \r |
492 | ## This PCD defines the video horizontal resolution.\r | |
493 | # This PCD could be set to 0 then video resolution could be at highest resolution.\r | |
494 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0\r | |
495 | ## This PCD defines the video vertical resolution.\r | |
496 | # This PCD could be set to 0 then video resolution could be at highest resolution.\r | |
497 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0\r | |
498 | \r | |
499 | ## The PCD is used to specify the video horizontal resolution of text setup.\r | |
500 | gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|0\r | |
501 | ## The PCD is used to specify the video vertical resolution of text setup.\r | |
502 | gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|0\r | |
503 | \r | |
504 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31\r | |
505 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100\r | |
3900a63e | 506 | gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0\r |
8028b290 | 507 | gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseSize|0\r |
fa24b6ed ZL |
508 | gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0\r |
509 | gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed|FALSE\r | |
510 | gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0\r | |
99de2e7e | 511 | gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE\r |
04af8bf2 DG |
512 | \r |
513 | ################################################################################\r | |
514 | #\r | |
515 | # Components Section - list of all EDK II Modules needed by this Platform.\r | |
516 | #\r | |
517 | ################################################################################\r | |
04af8bf2 | 518 | \r |
f0fe55bc | 519 | !if "IA32" in "$(ARCH)"\r |
7c4ab1c2 | 520 | [Components.IA32]\r |
6b69f73b ZL |
521 | !if $(UNIVERSAL_PAYLOAD) == TRUE\r |
522 | UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf\r | |
523 | !else\r | |
7c4ab1c2 | 524 | UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf\r |
6b69f73b | 525 | !endif\r |
7c4ab1c2 GD |
526 | !else\r |
527 | [Components.X64]\r | |
6b69f73b ZL |
528 | !if $(UNIVERSAL_PAYLOAD) == TRUE\r |
529 | UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf\r | |
530 | !else\r | |
7c4ab1c2 | 531 | UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf\r |
6b69f73b | 532 | !endif\r |
7c4ab1c2 | 533 | !endif\r |
04af8bf2 | 534 | \r |
d248516b S |
535 | #\r |
536 | # UEFI network modules\r | |
537 | #\r | |
538 | !if $(NETWORK_DRIVER_ENABLE) == TRUE\r | |
76191052 GD |
539 | [Defines]\r |
540 | DEFINE PLATFORMX64_ENABLE = TRUE\r | |
d248516b S |
541 | !include NetworkPkg/Network.dsc.inc\r |
542 | !endif\r | |
543 | \r | |
04af8bf2 DG |
544 | [Components.X64]\r |
545 | #\r | |
546 | # DXE Core\r | |
547 | #\r | |
548 | MdeModulePkg/Core/Dxe/DxeMain.inf {\r | |
549 | <LibraryClasses>\r | |
550 | NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r | |
551 | }\r | |
552 | \r | |
553 | #\r | |
554 | # Components that produce the architectural protocols\r | |
555 | #\r | |
19ee56c4 | 556 | !if $(SECURITY_STUB_ENABLE) == TRUE\r |
04af8bf2 | 557 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r |
19ee56c4 | 558 | !endif\r |
04af8bf2 DG |
559 | UefiCpuPkg/CpuDxe/CpuDxe.inf\r |
560 | MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r | |
561 | MdeModulePkg/Application/UiApp/UiApp.inf {\r | |
562 | <LibraryClasses>\r | |
563 | NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r | |
564 | NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r | |
565 | NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r | |
566 | }\r | |
96529213 FN |
567 | MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf {\r |
568 | <LibraryClasses>\r | |
569 | NULL|UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r | |
570 | }\r | |
04af8bf2 DG |
571 | PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf\r |
572 | MdeModulePkg/Universal/Metronome/Metronome.inf\r | |
573 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r | |
574 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r | |
575 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r | |
576 | MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r | |
2db0ed93 | 577 | !if $(DISABLE_RESET_SYSTEM) == FALSE\r |
04af8bf2 | 578 | MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r |
2db0ed93 | 579 | !endif\r |
04af8bf2 | 580 | PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r |
2db0ed93 | 581 | !if $(EMU_VARIABLE_ENABLE) == TRUE\r |
04af8bf2 | 582 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r |
2db0ed93 | 583 | !endif\r |
04af8bf2 DG |
584 | #\r |
585 | # Following are the DXE drivers\r | |
586 | #\r | |
587 | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r | |
588 | <LibraryClasses>\r | |
589 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
590 | }\r | |
591 | \r | |
592 | MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r | |
593 | MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r | |
594 | UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r | |
595 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r | |
596 | MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r | |
04af8bf2 DG |
597 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r |
598 | MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r | |
599 | MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r | |
851785ea S |
600 | MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf\r |
601 | MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r | |
04af8bf2 DG |
602 | \r |
603 | UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf\r | |
604 | \r | |
605 | #\r | |
606 | # SMBIOS Support\r | |
607 | #\r | |
608 | MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r | |
609 | \r | |
610 | #\r | |
611 | # ACPI Support\r | |
612 | #\r | |
613 | MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r | |
614 | \r | |
615 | #\r | |
616 | # PCI Support\r | |
617 | #\r | |
618 | MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r | |
619 | MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r | |
620 | <LibraryClasses>\r | |
621 | PciHostBridgeLib|UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r | |
622 | }\r | |
623 | \r | |
624 | #\r | |
625 | # SCSI/ATA/IDE/DISK Support\r | |
626 | #\r | |
627 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r | |
628 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r | |
629 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r | |
630 | FatPkg/EnhancedFatDxe/Fat.inf\r | |
631 | MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf\r | |
632 | MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r | |
633 | MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r | |
634 | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r | |
635 | MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r | |
cf4cbe19 | 636 | MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r |
04af8bf2 | 637 | \r |
d60915b7 ZL |
638 | !if $(RAM_DISK_ENABLE) == TRUE\r |
639 | MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r | |
640 | !endif\r | |
04af8bf2 DG |
641 | #\r |
642 | # SD/eMMC Support\r | |
643 | #\r | |
644 | MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf\r | |
645 | MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf\r | |
646 | MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf\r | |
647 | \r | |
648 | #\r | |
649 | # Usb Support\r | |
650 | #\r | |
651 | MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r | |
652 | MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r | |
653 | MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r | |
654 | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r | |
655 | MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r | |
656 | MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r | |
851785ea | 657 | MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf\r |
04af8bf2 DG |
658 | \r |
659 | #\r | |
660 | # ISA Support\r | |
661 | #\r | |
672bd1c7 | 662 | !if $(SERIAL_DRIVER_ENABLE) == TRUE\r |
04af8bf2 | 663 | MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r |
672bd1c7 | 664 | !endif\r |
d60915b7 | 665 | !if $(SIO_BUS_ENABLE) == TRUE\r |
33a32936 | 666 | OvmfPkg/SioBusDxe/SioBusDxe.inf\r |
d60915b7 ZL |
667 | !endif\r |
668 | !if $(PS2_KEYBOARD_ENABLE) == TRUE\r | |
33a32936 DG |
669 | MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r |
670 | !endif\r | |
851785ea | 671 | MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf\r |
04af8bf2 DG |
672 | \r |
673 | #\r | |
674 | # Console Support\r | |
675 | #\r | |
676 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r | |
677 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r | |
678 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r | |
d9a40845 | 679 | !if $(DISABLE_SERIAL_TERMINAL) == FALSE\r |
04af8bf2 | 680 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r |
d9a40845 | 681 | !endif\r |
04af8bf2 | 682 | UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf\r |
2527723d ZL |
683 | !if $(PERFORMANCE_MEASUREMENT_ENABLE)\r |
684 | MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf\r | |
685 | !endif\r | |
b80c17b6 GD |
686 | #\r |
687 | # SMM Support\r | |
688 | #\r | |
689 | !if $(SMM_SUPPORT) == TRUE\r | |
690 | UefiPayloadPkg/SmmAccessDxe/SmmAccessDxe.inf\r | |
691 | UefiPayloadPkg/SmmControlRuntimeDxe/SmmControlRuntimeDxe.inf\r | |
692 | UefiPayloadPkg/BlSupportSmm/BlSupportSmm.inf\r | |
693 | MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r | |
694 | MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r | |
695 | UefiPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.inf\r | |
696 | UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf\r | |
697 | UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r | |
2527723d ZL |
698 | !if $(PERFORMANCE_MEASUREMENT_ENABLE)\r |
699 | MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.inf\r | |
700 | !endif\r | |
b80c17b6 GD |
701 | !endif\r |
702 | \r | |
703 | !if $(VARIABLE_SUPPORT) == "EMU"\r | |
704 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r | |
705 | !elseif $(VARIABLE_SUPPORT) == "SPI"\r | |
706 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r | |
707 | <LibraryClasses>\r | |
708 | NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r | |
709 | NULL|MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLib.inf\r | |
710 | NULL|MdeModulePkg/Library/VarCheckPcdLib/VarCheckPcdLib.inf\r | |
711 | NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf\r | |
712 | }\r | |
713 | \r | |
714 | UefiPayloadPkg/FvbRuntimeDxe/FvbSmm.inf\r | |
715 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r | |
716 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r | |
717 | !endif\r | |
718 | \r | |
04af8bf2 DG |
719 | #------------------------------\r |
720 | # Build the shell\r | |
721 | #------------------------------\r | |
722 | \r | |
723 | !if $(SHELL_TYPE) == BUILD_SHELL\r | |
724 | \r | |
725 | #\r | |
726 | # Shell Lib\r | |
727 | #\r | |
728 | [LibraryClasses]\r | |
729 | BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r | |
730 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
731 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r | |
732 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r | |
005a5f2d | 733 | !include NetworkPkg/NetworkLibs.dsc.inc\r |
04af8bf2 DG |
734 | \r |
735 | [Components.X64]\r | |
736 | ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r | |
737 | <PcdsFixedAtBuild>\r | |
738 | ## This flag is used to control initialization of the shell library\r | |
739 | # This should be FALSE for compiling the dynamic command.\r | |
740 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
741 | }\r | |
742 | ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {\r | |
743 | <PcdsFixedAtBuild>\r | |
744 | ## This flag is used to control initialization of the shell library\r | |
745 | # This should be FALSE for compiling the dynamic command.\r | |
746 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
747 | }\r | |
748 | ShellPkg/Application/Shell/Shell.inf {\r | |
749 | <PcdsFixedAtBuild>\r | |
750 | ## This flag is used to control initialization of the shell library\r | |
751 | # This should be FALSE for compiling the shell application itself only.\r | |
752 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
753 | \r | |
754 | #------------------------------\r | |
755 | # Basic commands\r | |
756 | #------------------------------\r | |
757 | \r | |
758 | <LibraryClasses>\r | |
759 | NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r | |
760 | NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r | |
761 | NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r | |
762 | NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r | |
763 | NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r | |
764 | NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r | |
765 | \r | |
766 | #------------------------------\r | |
767 | # Networking commands\r | |
768 | #------------------------------\r | |
769 | \r | |
770 | <LibraryClasses>\r | |
771 | NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r | |
772 | \r | |
773 | #------------------------------\r | |
774 | # Support libraries\r | |
775 | #------------------------------\r | |
776 | \r | |
777 | <LibraryClasses>\r | |
04af8bf2 DG |
778 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r |
779 | HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r | |
ef03e726 | 780 | OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r |
04af8bf2 DG |
781 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r |
782 | ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r | |
783 | ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r | |
784 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r | |
785 | }\r | |
786 | \r | |
787 | !endif\r |