#/** @file | |
# EFI/Framework Open Virtual Machine Firmware (OVMF) platform | |
# | |
# Copyright (c) 2006 - 2009, Intel Corporation | |
# | |
# All rights reserved. This program and the accompanying materials | |
# are licensed and made available under the terms and conditions of the BSD License | |
# which accompanies this distribution. The full text of the license may be found at | |
# http://opensource.org/licenses/bsd-license.php | |
# | |
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. | |
# | |
#**/ | |
################################################################################ | |
# | |
# Defines Section - statements that will be processed to create a Makefile. | |
# | |
################################################################################ | |
[Defines] | |
PLATFORM_NAME = Ovmf | |
PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b | |
PLATFORM_VERSION = 0.1 | |
DSC_ SPECIFICATION = 0x00010005 | |
OUTPUT_DIRECTORY = Build/Ovmf3264 | |
SUPPORTED_ARCHITECTURES = IA32|X64 | |
BUILD_TARGETS = DEBUG|RELEASE | |
SKUID_IDENTIFIER = DEFAULT | |
FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32X64.fdf | |
################################################################################ | |
# | |
# SKU Identification section - list of all SKU IDs supported by this Platform. | |
# | |
################################################################################ | |
[SkuIds] | |
0|DEFAULT | |
################################################################################ | |
# | |
# Library Class section - list of all Library Classes needed by this Platform. | |
# | |
################################################################################ | |
[LibraryClasses.common] | |
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf | |
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf | |
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf | |
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf | |
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf | |
CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf | |
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf | |
PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf | |
PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf | |
CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf | |
UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf | |
UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf | |
HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf | |
S3Lib|MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.inf | |
RecoveryLib|MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.inf | |
GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf | |
CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf | |
DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf | |
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf | |
PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf | |
IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf | |
OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf | |
SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf | |
MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf | |
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf | |
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf | |
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf | |
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf | |
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf | |
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf | |
[LibraryClasses.common.SEC] | |
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf | |
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf | |
[LibraryClasses.common.PEI_CORE] | |
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf | |
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf | |
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf | |
PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf | |
MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf | |
PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf | |
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf | |
OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf | |
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf | |
PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf | |
[LibraryClasses.common.PEIM] | |
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf | |
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf | |
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf | |
PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf | |
MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf | |
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf | |
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf | |
OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf | |
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf | |
PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf | |
PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf | |
ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf | |
[LibraryClasses.common.DXE_CORE] | |
HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf | |
DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf | |
MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf | |
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf | |
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf | |
[LibraryClasses.common.DXE_RUNTIME_DRIVER] | |
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf | |
DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf | |
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/SmmRuntimeDxeReportStatusCodeLibFramework.inf | |
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf | |
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf | |
ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf | |
UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf | |
DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf | |
[LibraryClasses.common.UEFI_DRIVER] | |
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf | |
DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf | |
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf | |
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf | |
UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf | |
[LibraryClasses.common.DXE_DRIVER] | |
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf | |
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf | |
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf | |
UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf | |
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf | |
NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf | |
IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf | |
UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf | |
DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf | |
PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf | |
[LibraryClasses.common.UEFI_APPLICATION] | |
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf | |
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf | |
################################################################################ | |
# | |
# Pcd Section - list of all EDK II PCD Entries defined by this Platform. | |
# | |
################################################################################ | |
[PcdsFeatureFlag.common] | |
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseHardSerial|TRUE | |
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE | |
[PcdsFixedAtBuild.common] | |
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1 | |
gEfiSioTokenSpaceGuid.PcdSerialRegisterBase|0x3F8 | |
gEfiSioTokenSpaceGuid.PcdSerialLineControl|0x07 | |
gEfiSioTokenSpaceGuid.PcdSerialBoudRate|115200 | |
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize|0x200000 | |
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize|0x10000 | |
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashFvRecoveryBase|0xFFE00000 | |
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashFvRecoverySize|0x00200000 | |
gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10 | |
gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6 | |
gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32 | |
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400 | |
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000 | |
gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000 | |
gEfiEdkModulePkgTokenSpaceGuid.PcdDxePcdDatabaseTraverseEnabled|TRUE | |
gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0 | |
[PcdsFeatureFlag.common] | |
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE | |
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE | |
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE | |
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE | |
gOptionRomPkgTokenSpaceGuid.PcdSupportGop|TRUE | |
gOptionRomPkgTokenSpaceGuid.PcdSupportUga|FALSE | |
[PcdsFixedAtBuild.common] | |
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07 | |
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F | |
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F | |
[PcdsDynamicDefault.common.DEFAULT] | |
gEfiMdePkgTokenSpaceGuid.PcdFSBClock|0 | |
################################################################################ | |
# | |
# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform | |
# | |
################################################################################ | |
[PcdsDynamicDefault.common.DEFAULT] | |
################################################################################ | |
# | |
# Components Section - list of all EDK II Modules needed by this Platform. | |
# | |
################################################################################ | |
[Components.IA32] | |
# | |
# SEC Phase modules | |
# | |
OvmfPkg/Sec/SecMain.inf | |
# | |
# PEI Phase modules | |
# | |
MdeModulePkg/Core/Pei/PeiMain.inf | |
MdeModulePkg/Universal/PCD/Pei/Pcd.inf { | |
<LibraryClasses> | |
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
} | |
IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf | |
MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf { | |
<LibraryClasses> | |
NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf | |
} | |
OvmfPkg/PlatformPei/PlatformPei.inf | |
[Components.X64] | |
# | |
# DXE Phase modules | |
# | |
MdeModulePkg/Core/Dxe/DxeMain.inf { | |
<LibraryClasses> | |
NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf | |
} | |
IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf | |
MdeModulePkg/Universal/PCD/Dxe/Pcd.inf { | |
<LibraryClasses> | |
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
} | |
MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf | |
MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf | |
IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf | |
MdeModulePkg/Universal/EbcDxe/EbcDxe.inf | |
PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf | |
UefiCpuPkg/CpuIoDxe/CpuIo.inf | |
UefiCpuPkg/CpuDxe/CpuDxe.inf | |
PcAtChipsetPkg/8254TimerDxe/8254Timer.inf | |
PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf | |
IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf | |
PcAtChipsetPkg/KbcResetDxe/Reset.inf | |
MdeModulePkg/Universal/Metronome/Metronome.inf { | |
<LibraryClasses> | |
TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf | |
} | |
PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf { | |
<LibraryClasses> | |
TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf | |
} | |
IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf { | |
<LibraryClasses> | |
TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf | |
} | |
MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf | |
MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf | |
MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf | |
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf | |
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf | |
MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf | |
MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf | |
MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf | |
MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf | |
MdeModulePkg/Universal/PrintDxe/PrintDxe.inf | |
MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf | |
MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf | |
MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf | |
MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf | |
MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf | |
IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf | |
PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf | |
MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf | |
MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf | |
OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430Dxe.inf | |
# | |
# ISA Support | |
# | |
PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf | |
IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf | |
IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf | |
IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf | |
IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf | |
# | |
# ACPI Support | |
# | |
MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf | |
MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf | |
OvmfPkg/AcpiTables/AcpiTables.inf | |