]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/OvmfPkgIa32.dsc
PcAtChipsetPkg/PciHostBridgeDxe/PciRootBridgeIo.c: rewrap code, strip trailing ws
[mirror_edk2.git] / OvmfPkg / OvmfPkgIa32.dsc
... / ...
CommitLineData
1## @file\r
2# EFI/Framework Open Virtual Machine Firmware (OVMF) platform\r
3#\r
4# Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
5#\r
6# This program and the accompanying materials\r
7# are licensed and made available under the terms and conditions of the BSD License\r
8# which accompanies this distribution. The full text of the license may be found at\r
9# http://opensource.org/licenses/bsd-license.php\r
10#\r
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13#\r
14##\r
15\r
16################################################################################\r
17#\r
18# Defines Section - statements that will be processed to create a Makefile.\r
19#\r
20################################################################################\r
21[Defines]\r
22 PLATFORM_NAME = Ovmf\r
23 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b\r
24 PLATFORM_VERSION = 0.1\r
25 DSC_SPECIFICATION = 0x00010005\r
26 OUTPUT_DIRECTORY = Build/OvmfIa32\r
27 SUPPORTED_ARCHITECTURES = IA32\r
28 BUILD_TARGETS = DEBUG|RELEASE\r
29 SKUID_IDENTIFIER = DEFAULT\r
30 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32.fdf\r
31\r
32 #\r
33 # Defines for default states. These can be changed on the command line.\r
34 # -D FLAG=VALUE\r
35 #\r
36 DEFINE SECURE_BOOT_ENABLE = FALSE\r
37 DEFINE NETWORK_IP6_ENABLE = FALSE\r
38\r
39[BuildOptions]\r
40 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
41 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
42 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
43 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
44 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse\r
45\r
46################################################################################\r
47#\r
48# SKU Identification section - list of all SKU IDs supported by this Platform.\r
49#\r
50################################################################################\r
51[SkuIds]\r
52 0|DEFAULT\r
53\r
54################################################################################\r
55#\r
56# Library Class section - list of all Library Classes needed by this Platform.\r
57#\r
58################################################################################\r
59[LibraryClasses]\r
60 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
61 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r
62 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
63 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
64 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
65 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
66 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
67 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
68 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
69 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
70 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
71 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
72 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
73 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
74 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
75 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
76 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
77 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
78 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
79 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
80 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
81 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
82 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r
83 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
84 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
85 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
86 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
87 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
88 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
89 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
90 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf\r
91 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
92 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
93 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
94 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
95 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
96 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
97 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
98 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
99 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf\r
100 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf\r
101 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
102 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf\r
103 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf\r
104 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
105\r
106!ifdef $(SOURCE_DEBUG_ENABLE)\r
107 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
108 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
109!else\r
110 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
111 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
112!endif\r
113\r
114 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
115 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf\r
116 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
117\r
118!if $(SECURE_BOOT_ENABLE) == TRUE\r
119 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r
120 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
121 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
122 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
123 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
124!if $(NETWORK_IP6_ENABLE) == TRUE\r
125 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf\r
126!endif\r
127!else\r
128 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
129 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
130!endif\r
131\r
132 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
133 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
134 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
135 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf\r
136\r
137[LibraryClasses.common]\r
138!if $(SECURE_BOOT_ENABLE) == TRUE\r
139 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
140!endif\r
141\r
142[LibraryClasses.common.SEC]\r
143 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf\r
144 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf\r
145!ifdef $(DEBUG_ON_SERIAL_PORT)\r
146 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
147!else\r
148 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
149!endif\r
150 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
151 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
152!ifdef $(SOURCE_DEBUG_ENABLE)\r
153 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
154!endif\r
155 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
156 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
157 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
158 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
159 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
160\r
161[LibraryClasses.common.PEI_CORE]\r
162 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
163 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
164 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
165 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
166 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
167 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
168 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
169 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
170!ifdef $(DEBUG_ON_SERIAL_PORT)\r
171 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
172!else\r
173 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
174!endif\r
175 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
176\r
177[LibraryClasses.common.PEIM]\r
178 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
179 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
180 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
181 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
182 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
183 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
184 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
185 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
186!ifdef $(DEBUG_ON_SERIAL_PORT)\r
187 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
188!else\r
189 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
190!endif\r
191 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
192 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
193 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
194!ifdef $(SOURCE_DEBUG_ENABLE)\r
195 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
196!endif\r
197\r
198[LibraryClasses.common.DXE_CORE]\r
199 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
200 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
201 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
202 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
203!ifdef $(DEBUG_ON_SERIAL_PORT)\r
204 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
205!else\r
206 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
207!endif\r
208 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
209!ifdef $(SOURCE_DEBUG_ENABLE)\r
210 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
211!endif\r
212 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
213\r
214[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
215 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
216 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
217 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
218 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
219 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
220 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
221!ifdef $(DEBUG_ON_SERIAL_PORT)\r
222 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
223!else\r
224 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
225!endif\r
226 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
227!if $(SECURE_BOOT_ENABLE) == TRUE\r
228 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
229!endif\r
230\r
231[LibraryClasses.common.UEFI_DRIVER]\r
232 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
233 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
234 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
235 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
236 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
237 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
238!ifdef $(DEBUG_ON_SERIAL_PORT)\r
239 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
240!else\r
241 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
242!endif\r
243 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
244\r
245[LibraryClasses.common.DXE_DRIVER]\r
246 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
247 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
248 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
249 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
250 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
251 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
252!ifdef $(DEBUG_ON_SERIAL_PORT)\r
253 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
254!else\r
255 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
256!endif\r
257 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
258 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
259 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
260 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
261 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf\r
262 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
263 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r
264!ifdef $(SOURCE_DEBUG_ENABLE)\r
265 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
266!endif\r
267 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
268\r
269[LibraryClasses.common.UEFI_APPLICATION]\r
270 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
271 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
272 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
273 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
274!ifdef $(DEBUG_ON_SERIAL_PORT)\r
275 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
276!else\r
277 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
278!endif\r
279\r
280[LibraryClasses.common.DXE_SMM_DRIVER]\r
281 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
282 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
283\r
284[LibraryClasses.common.SMM_CORE]\r
285 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
286 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
287\r
288################################################################################\r
289#\r
290# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
291#\r
292################################################################################\r
293[PcdsFeatureFlag]\r
294 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
295 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
296 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
297 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
298 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
299 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
300!if $(SECURE_BOOT_ENABLE) == TRUE\r
301 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE\r
302!endif\r
303\r
304[PcdsFixedAtBuild]\r
305 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
306 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
307 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
308 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6\r
309 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32\r
310 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
311 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000\r
312 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
313\r
314 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
315\r
316 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
317 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
318!ifdef $(SOURCE_DEBUG_ENABLE)\r
319 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
320!else\r
321 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
322!endif\r
323\r
324!ifdef $(SOURCE_DEBUG_ENABLE)\r
325 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
326!endif\r
327\r
328!ifndef $(USE_OLD_SHELL)\r
329 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
330!endif\r
331\r
332!if $(SECURE_BOOT_ENABLE) == TRUE\r
333 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot\r
334 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04\r
335 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04\r
336 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04\r
337!endif\r
338\r
339 # IRQs 5, 9, 10, 11 are level-triggered\r
340 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
341\r
342################################################################################\r
343#\r
344# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
345#\r
346################################################################################\r
347\r
348[PcdsDynamicDefault]\r
349 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
350 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
351 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
352 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
353 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE\r
354 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
355 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
356 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
357\r
358 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
359\r
360 # Set video resolution for text setup.\r
361 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
362 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
363\r
364 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
365\r
366################################################################################\r
367#\r
368# Components Section - list of all EDK II Modules needed by this Platform.\r
369#\r
370################################################################################\r
371[Components]\r
372 OvmfPkg/ResetVector/ResetVector.inf\r
373\r
374 #\r
375 # SEC Phase modules\r
376 #\r
377 OvmfPkg/Sec/SecMain.inf {\r
378 <LibraryClasses>\r
379 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
380 }\r
381\r
382 #\r
383 # PEI Phase modules\r
384 #\r
385 MdeModulePkg/Core/Pei/PeiMain.inf\r
386 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
387 <LibraryClasses>\r
388 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
389 }\r
390 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
391 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
392\r
393 OvmfPkg/PlatformPei/PlatformPei.inf {\r
394 <LibraryClasses>\r
395 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
396 }\r
397 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
398 <LibraryClasses>\r
399 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
400 }\r
401\r
402 #\r
403 # DXE Phase modules\r
404 #\r
405 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
406 <LibraryClasses>\r
407 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
408 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
409 }\r
410\r
411 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf\r
412 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
413 <LibraryClasses>\r
414 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
415 }\r
416\r
417 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
418\r
419!if $(SECURE_BOOT_ENABLE) == TRUE\r
420 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
421 <LibraryClasses>\r
422 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
423 }\r
424!else\r
425 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
426!endif\r
427\r
428 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
429 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
430 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
431 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
432 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
433 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf\r
434 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
435 <LibraryClasses>\r
436 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
437 }\r
438 PcAtChipsetPkg/KbcResetDxe/Reset.inf\r
439 MdeModulePkg/Universal/Metronome/Metronome.inf\r
440 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
441 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
442 <LibraryClasses>\r
443!ifdef $(CSM_ENABLE)\r
444 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
445!endif\r
446 }\r
447\r
448 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf\r
449 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
450 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
451 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
452 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
453 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
454 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
455 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
456 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
457 <LibraryClasses>\r
458 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
459 }\r
460 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
461 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r
462 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
463 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
464 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
465 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
466 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
467 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
468 <LibraryClasses>\r
469 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
470 }\r
471 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
472 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
473 <LibraryClasses>\r
474 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
475 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
476 }\r
477 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
478 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
479 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
480 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
481 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
482 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
483 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
484 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf\r
485 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
486 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
487 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
488 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
489\r
490 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {\r
491 <LibraryClasses>\r
492 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
493 }\r
494\r
495 #\r
496 # ISA Support\r
497 #\r
498 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
499 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
500 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
501 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
502 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
503\r
504 #\r
505 # SMBIOS Support\r
506 #\r
507 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
508 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
509\r
510 #\r
511 # ACPI Support\r
512 #\r
513 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
514 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
515 OvmfPkg/AcpiTables/AcpiTables.inf\r
516 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf\r
517 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
518 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
519\r
520 #\r
521 # Network Support\r
522 #\r
523 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf\r
524 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
525 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
526 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
527 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
528 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
529 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
530 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
531 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
532!if $(NETWORK_IP6_ENABLE) == TRUE\r
533 NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
534 NetworkPkg/TcpDxe/TcpDxe.inf\r
535 NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
536 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
537 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
538 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
539!if $(SECURE_BOOT_ENABLE) == TRUE\r
540 NetworkPkg/IScsiDxe/IScsiDxe.inf\r
541!else\r
542 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
543!endif\r
544!else\r
545 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
546 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
547 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
548!endif\r
549 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
550\r
551 #\r
552 # Usb Support\r
553 #\r
554 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
555 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
556 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
557 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
558 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
559 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
560\r
561!ifdef $(CSM_ENABLE)\r
562 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
563 <LibraryClasses>\r
564 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
565 }\r
566 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
567 OvmfPkg/Csm/Csm16/Csm16.inf\r
568!endif\r
569\r
570!ifndef $(USE_OLD_SHELL)\r
571 ShellPkg/Application/Shell/Shell.inf {\r
572 <LibraryClasses>\r
573 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
574 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
575 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
576 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
577 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
578 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
579 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
580 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
581 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
582 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
583 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
584 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
585 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
586# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r
587# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r
588 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
589\r
590 <PcdsFixedAtBuild>\r
591 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
592 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
593 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
594 }\r
595!endif\r
596\r
597!if $(SECURE_BOOT_ENABLE) == TRUE\r
598 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
599!endif\r
600\r
601 OvmfPkg/PlatformDxe/Platform.inf\r