2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
\r
4 # Copyright (c) 2006 - 2009, Intel Corporation
\r
6 # All rights reserved. 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
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
16 ################################################################################
\r
18 # Defines Section - statements that will be processed to create a Makefile.
\r
20 ################################################################################
\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/OvmfPkg.fdf
\r
32 ################################################################################
\r
34 # SKU Identification section - list of all SKU IDs supported by this Platform.
\r
36 ################################################################################
\r
40 ################################################################################
\r
42 # Library Class section - list of all Library Classes needed by this Platform.
\r
44 ################################################################################
\r
45 [LibraryClasses.common]
\r
46 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
\r
47 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
\r
48 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
\r
49 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
\r
50 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
\r
51 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
\r
52 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
\r
53 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
\r
54 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
\r
55 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
\r
56 PciIncompatibleDeviceSupportLib|IntelFrameworkModulePkg/Library/PciIncompatibleDeviceSupportLib/PciIncompatibleDeviceSupportLib.inf
\r
57 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
\r
58 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
\r
59 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
\r
60 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
\r
61 S3Lib|MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.inf
\r
62 RecoveryLib|MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.inf
\r
63 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
\r
64 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
\r
65 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
\r
66 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
\r
67 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
\r
68 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
\r
69 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
\r
70 OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
\r
71 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
\r
72 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
\r
73 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
\r
74 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
\r
75 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
\r
76 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
\r
77 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
\r
78 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
\r
80 [LibraryClasses.common.SEC]
\r
81 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
\r
82 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
\r
84 [LibraryClasses.common.PEI_CORE]
\r
85 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
\r
86 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
\r
87 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
\r
88 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
\r
89 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
\r
90 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
\r
91 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
\r
92 OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
\r
93 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
\r
94 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
\r
95 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
\r
97 [LibraryClasses.common.PEIM]
\r
98 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
\r
99 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
\r
100 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
\r
101 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
\r
102 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
\r
103 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
\r
104 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
\r
105 OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
\r
106 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
\r
107 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
\r
108 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
\r
109 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
\r
110 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
\r
112 [LibraryClasses.common.DXE_CORE]
\r
113 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
\r
114 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
\r
115 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
\r
116 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
\r
117 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
\r
118 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
\r
119 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
\r
121 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
\r
122 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
\r
123 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
\r
124 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
\r
125 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/SmmRuntimeDxeReportStatusCodeLibFramework.inf
\r
126 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
\r
127 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
\r
128 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
\r
129 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
\r
130 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
\r
132 [LibraryClasses.common.UEFI_DRIVER]
\r
133 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
\r
134 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
\r
135 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
\r
136 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
\r
137 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
\r
138 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
\r
139 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
\r
140 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
\r
142 [LibraryClasses.common.DXE_DRIVER]
\r
143 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
\r
144 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
\r
145 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
\r
146 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
\r
147 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
\r
148 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
\r
149 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
\r
150 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
\r
151 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
\r
152 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
\r
153 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
\r
154 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
\r
156 [LibraryClasses.common.UEFI_APPLICATION]
\r
157 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
\r
158 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
\r
159 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
\r
161 ################################################################################
\r
163 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
\r
165 ################################################################################
\r
166 [PcdsFeatureFlag.common]
\r
167 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseHardSerial|TRUE
\r
168 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
\r
170 [PcdsFixedAtBuild.common]
\r
171 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
\r
172 gEfiSioTokenSpaceGuid.PcdSerialRegisterBase|0x3F8
\r
173 gEfiSioTokenSpaceGuid.PcdSerialLineControl|0x07
\r
174 gEfiSioTokenSpaceGuid.PcdSerialBoudRate|115200
\r
176 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize|0x200000
\r
177 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize|0x10000
\r
178 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashFvRecoveryBase|0xFFE00000
\r
179 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashFvRecoverySize|0x00200000
\r
181 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
\r
182 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
\r
183 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
\r
184 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400
\r
185 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
\r
186 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000
\r
188 gEfiEdkModulePkgTokenSpaceGuid.PcdDxePcdDatabaseTraverseEnabled|TRUE
\r
189 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
\r
191 [PcdsFeatureFlag.common]
\r
192 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
\r
193 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
\r
195 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
\r
196 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
\r
197 gOptionRomPkgTokenSpaceGuid.PcdSupportGop|TRUE
\r
198 gOptionRomPkgTokenSpaceGuid.PcdSupportUga|FALSE
\r
200 [PcdsFixedAtBuild.common]
\r
201 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
\r
202 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
\r
203 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
\r
205 [PcdsDynamicDefault.common.DEFAULT]
\r
206 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|0
\r
208 ################################################################################
\r
210 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
\r
212 ################################################################################
\r
214 [PcdsDynamicDefault.common.DEFAULT]
\r
216 ################################################################################
\r
218 # Components Section - list of all EDK II Modules needed by this Platform.
\r
220 ################################################################################
\r
221 [Components.common]
\r
223 # SEC Phase modules
\r
225 OvmfPkg/Sec/SecMain.inf
\r
228 # PEI Phase modules
\r
230 MdeModulePkg/Core/Pei/PeiMain.inf
\r
231 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
\r
233 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
\r
235 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
\r
236 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
\r
238 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
\r
240 OvmfPkg/PlatformPei/PlatformPei.inf
\r
243 # DXE Phase modules
\r
245 MdeModulePkg/Core/Dxe/DxeMain.inf {
\r
247 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
\r
250 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
\r
251 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
\r
253 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
\r
256 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
\r
257 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
\r
258 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
\r
259 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
\r
260 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
\r
261 UefiCpuPkg/CpuIoDxe/CpuIo.inf
\r
262 UefiCpuPkg/CpuDxe/CpuDxe.inf
\r
263 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
\r
264 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
\r
265 IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
\r
266 PcAtChipsetPkg/KbcResetDxe/Reset.inf
\r
267 MdeModulePkg/Universal/Metronome/Metronome.inf {
\r
269 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
\r
272 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf {
\r
274 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
\r
277 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
\r
279 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
\r
282 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
\r
283 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
\r
284 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
\r
285 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
\r
286 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
\r
287 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
\r
288 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
\r
289 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
\r
290 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
\r
291 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
\r
292 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
\r
293 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
\r
294 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
\r
295 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
\r
296 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
\r
297 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
\r
298 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
\r
299 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
\r
300 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
\r
302 OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430Dxe.inf
\r
307 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
\r
308 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
\r
309 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
\r
310 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
\r
311 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
\r
316 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
\r
317 MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
\r
318 OvmfPkg/AcpiTables/AcpiTables.inf
\r