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