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