]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgIa32.dsc
0237f4811a2b32de73a48557e29b9904da49014a
[mirror_edk2.git] / OvmfPkg / OvmfPkgIa32.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/OvmfIa32
27 SUPPORTED_ARCHITECTURES = IA32
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 PciIncompatibleDeviceSupportLib|IntelFrameworkModulePkg/Library/PciIncompatibleDeviceSupportLib/PciIncompatibleDeviceSupportLib.inf
57 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
58 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
59 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
60 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
61 S3Lib|MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.inf
62 RecoveryLib|MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.inf
63 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
64 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
65 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
66 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
67 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
68 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
69 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
70 OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
71 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
72 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
73 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
74 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
75 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
76 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
77 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
78 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
79
80 [LibraryClasses.common.SEC]
81 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
82 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
83
84 [LibraryClasses.common.PEI_CORE]
85 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
86 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
87 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
88 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
89 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
90 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
91 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
92 OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
93 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
94 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
95 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
96
97 [LibraryClasses.common.PEIM]
98 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
99 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
100 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
101 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
102 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
103 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
104 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
105 OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
106 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
107 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
108 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
109 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
110 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
111
112 [LibraryClasses.common.DXE_CORE]
113 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
114 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
115 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
116 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
117 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
118 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
119 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
120
121 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
122 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
123 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
124 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
125 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/SmmRuntimeDxeReportStatusCodeLibFramework.inf
126 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
127 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
128 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
129 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
130 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
131
132 [LibraryClasses.common.UEFI_DRIVER]
133 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
134 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
135 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
136 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
137 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
138 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
139 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
140 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
141
142 [LibraryClasses.common.DXE_DRIVER]
143 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
144 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
145 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
146 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
147 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
148 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
149 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
150 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
151 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
152 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
153 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
154 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
155
156 [LibraryClasses.common.UEFI_APPLICATION]
157 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
158 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
159 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
160
161 ################################################################################
162 #
163 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
164 #
165 ################################################################################
166 [PcdsFeatureFlag.common]
167 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseHardSerial|TRUE
168 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
169
170 [PcdsFixedAtBuild.common]
171 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
172 gEfiSioTokenSpaceGuid.PcdSerialRegisterBase|0x3F8
173 gEfiSioTokenSpaceGuid.PcdSerialLineControl|0x07
174 gEfiSioTokenSpaceGuid.PcdSerialBoudRate|115200
175
176 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize|0x200000
177 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize|0x10000
178 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashFvRecoveryBase|0xFFE00000
179 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashFvRecoverySize|0x00200000
180
181 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
182 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
183 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
184 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400
185 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
186 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000
187
188 gEfiEdkModulePkgTokenSpaceGuid.PcdDxePcdDatabaseTraverseEnabled|TRUE
189 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
190
191 [PcdsFeatureFlag.common]
192 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
193 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
194
195 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
196 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
197 gOptionRomPkgTokenSpaceGuid.PcdSupportGop|TRUE
198 gOptionRomPkgTokenSpaceGuid.PcdSupportUga|FALSE
199
200 [PcdsFixedAtBuild.common]
201 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
202 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
203 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
204
205 [PcdsDynamicDefault.common.DEFAULT]
206 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|0
207
208 ################################################################################
209 #
210 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
211 #
212 ################################################################################
213
214 [PcdsDynamicDefault.common.DEFAULT]
215
216 ################################################################################
217 #
218 # Components Section - list of all EDK II Modules needed by this Platform.
219 #
220 ################################################################################
221 [Components.common]
222 #
223 # SEC Phase modules
224 #
225 OvmfPkg/Sec/SecMain.inf
226
227 #
228 # PEI Phase modules
229 #
230 MdeModulePkg/Core/Pei/PeiMain.inf
231 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
232 <LibraryClasses>
233 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
234 }
235 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
236 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
237 <LibraryClasses>
238 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
239 }
240 OvmfPkg/PlatformPei/PlatformPei.inf
241
242 #
243 # DXE Phase modules
244 #
245 MdeModulePkg/Core/Dxe/DxeMain.inf {
246 <LibraryClasses>
247 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
248 }
249
250 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
251 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
252 <LibraryClasses>
253 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
254 }
255
256 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
257 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
258 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
259 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
260 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
261 UefiCpuPkg/CpuIoDxe/CpuIo.inf
262 UefiCpuPkg/CpuDxe/CpuDxe.inf
263 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
264 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
265 IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
266 PcAtChipsetPkg/KbcResetDxe/Reset.inf
267 MdeModulePkg/Universal/Metronome/Metronome.inf {
268 <LibraryClasses>
269 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
270 }
271
272 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf {
273 <LibraryClasses>
274 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
275 }
276
277 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
278 <LibraryClasses>
279 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
280 }
281
282 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
283 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
284 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
285 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
286 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
287 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
288 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
289 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
290 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
291 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
292 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
293 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
294 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
295 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
296 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
297 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
298 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
299 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
300 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
301
302 OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430Dxe.inf
303
304 #
305 # ISA Support
306 #
307 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
308 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
309 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
310 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
311 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
312
313 #
314 # ACPI Support
315 #
316 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
317 MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
318 OvmfPkg/AcpiTables/AcpiTables.inf
319