]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgX64.dsc
Retired PciIncompatibleDeviceSupportLib from IntelFrameworkModulePkg.
[mirror_edk2.git] / OvmfPkg / OvmfPkgX64.dsc
1 #/** @file
2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
3 #
4 # Copyright (c) 2006 - 2009, Intel Corporation
5 #
6 # All rights reserved. This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 #**/
15
16 ################################################################################
17 #
18 # Defines Section - statements that will be processed to create a Makefile.
19 #
20 ################################################################################
21 [Defines]
22 PLATFORM_NAME = Ovmf
23 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
24 PLATFORM_VERSION = 0.1
25 DSC_ SPECIFICATION = 0x00010005
26 OUTPUT_DIRECTORY = Build/OvmfX64
27 SUPPORTED_ARCHITECTURES = X64
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30 FLASH_DEFINITION = OvmfPkg/OvmfPkg.fdf
31
32 ################################################################################
33 #
34 # SKU Identification section - list of all SKU IDs supported by this Platform.
35 #
36 ################################################################################
37 [SkuIds]
38 0|DEFAULT
39
40 ################################################################################
41 #
42 # Library Class section - list of all Library Classes needed by this Platform.
43 #
44 ################################################################################
45 [LibraryClasses.common]
46 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
47 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
48 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
49 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
50 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
51 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
52 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
53 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
54 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
55 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
56 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
57 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
58 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
59 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
60 S3Lib|MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.inf
61 RecoveryLib|MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.inf
62 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
63 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
64 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
65 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
66 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
67 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
68 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
69 OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
70 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
71 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
72 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
73 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
74 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
75 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
76 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
77 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
78
79 [LibraryClasses.common.SEC]
80 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
81 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
82
83 [LibraryClasses.common.PEI_CORE]
84 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
85 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
86 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
87 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
88 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
89 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
90 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
91 OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
92 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
93 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
94 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
95
96 [LibraryClasses.common.PEIM]
97 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
98 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
99 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
100 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
101 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
102 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
103 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
104 OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
105 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
106 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
107 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
108 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
109 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
110
111 [LibraryClasses.common.DXE_CORE]
112 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
113 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
114 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
115 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
116 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
117 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
118 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
119
120 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
121 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
122 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
123 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
124 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/SmmRuntimeDxeReportStatusCodeLibFramework.inf
125 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
126 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
127 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
128 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
129 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
130
131 [LibraryClasses.common.UEFI_DRIVER]
132 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
133 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
134 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
135 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
136 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
137 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
138 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
139 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
140
141 [LibraryClasses.common.DXE_DRIVER]
142 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
143 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
144 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
145 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
146 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
147 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
148 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
149 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
150 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
151 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
152 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
153 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
154
155 [LibraryClasses.common.UEFI_APPLICATION]
156 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
157 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
158 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
159
160 ################################################################################
161 #
162 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
163 #
164 ################################################################################
165 [PcdsFeatureFlag.common]
166 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseHardSerial|TRUE
167 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
168
169 [PcdsFixedAtBuild.common]
170 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
171 gEfiSioTokenSpaceGuid.PcdSerialRegisterBase|0x3F8
172 gEfiSioTokenSpaceGuid.PcdSerialLineControl|0x07
173 gEfiSioTokenSpaceGuid.PcdSerialBoudRate|115200
174
175 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize|0x200000
176 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize|0x10000
177 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashFvRecoveryBase|0xFFE00000
178 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashFvRecoverySize|0x00200000
179
180 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
181 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
182 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
183 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400
184 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
185 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000
186
187 gEfiEdkModulePkgTokenSpaceGuid.PcdDxePcdDatabaseTraverseEnabled|TRUE
188 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
189
190 [PcdsFeatureFlag.common]
191 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
192 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
193
194 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
195 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
196 gOptionRomPkgTokenSpaceGuid.PcdSupportGop|TRUE
197 gOptionRomPkgTokenSpaceGuid.PcdSupportUga|FALSE
198
199 [PcdsFixedAtBuild.common]
200 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
201 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
202 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
203
204 [PcdsDynamicDefault.common.DEFAULT]
205 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|0
206
207 ################################################################################
208 #
209 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
210 #
211 ################################################################################
212
213 [PcdsDynamicDefault.common.DEFAULT]
214
215 ################################################################################
216 #
217 # Components Section - list of all EDK II Modules needed by this Platform.
218 #
219 ################################################################################
220 [Components.common]
221 #
222 # SEC Phase modules
223 #
224 OvmfPkg/Sec/SecMain.inf
225
226 #
227 # PEI Phase modules
228 #
229 MdeModulePkg/Core/Pei/PeiMain.inf
230 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
231 <LibraryClasses>
232 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
233 }
234 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
235 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
236 <LibraryClasses>
237 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
238 }
239 OvmfPkg/PlatformPei/PlatformPei.inf
240
241 #
242 # DXE Phase modules
243 #
244 MdeModulePkg/Core/Dxe/DxeMain.inf {
245 <LibraryClasses>
246 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
247 }
248
249 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
250 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
251 <LibraryClasses>
252 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
253 }
254
255 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
256 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
257 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
258 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
259 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
260 UefiCpuPkg/CpuIoDxe/CpuIo.inf
261 UefiCpuPkg/CpuDxe/CpuDxe.inf
262 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
263 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
264 IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
265 PcAtChipsetPkg/KbcResetDxe/Reset.inf
266 MdeModulePkg/Universal/Metronome/Metronome.inf {
267 <LibraryClasses>
268 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
269 }
270
271 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf {
272 <LibraryClasses>
273 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
274 }
275
276 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
277 <LibraryClasses>
278 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
279 }
280
281 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
282 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
283 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
284 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
285 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
286 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
287 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
288 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
289 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
290 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
291 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
292 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
293 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
294 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
295 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
296 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
297 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
298 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
299 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
300
301 OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430Dxe.inf
302
303 #
304 # ISA Support
305 #
306 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
307 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
308 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
309 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
310 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
311
312 #
313 # ACPI Support
314 #
315 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
316 MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
317 OvmfPkg/AcpiTables/AcpiTables.inf
318