[PATCH 1/4] OvmfPkg/Amdsev: Base commit to build encrypted boot specific OVMF


James Bottomley <jejb@...>
 

This commit represents the file copied from OvmfPkgX64 with minor
changes to change the build name.

This package will form the basis for adding Sev specific features.
Since everything must go into a single rom file for attestation, the
separated build of code and variables is eliminated.

Signed-off-by: James Bottomley <jejb@linux.ibm.com>
---
OvmfPkg/AmdSev/AmdSevX64.dsc | 1024 ++++++++++++++++++++++++++++++++++
OvmfPkg/AmdSev/AmdSevX64.fdf | 506 +++++++++++++++++
2 files changed, 1530 insertions(+)
create mode 100644 OvmfPkg/AmdSev/AmdSevX64.dsc
create mode 100644 OvmfPkg/AmdSev/AmdSevX64.fdf

diff --git a/OvmfPkg/AmdSev/AmdSevX64.dsc b/OvmfPkg/AmdSev/AmdSevX64.dsc
new file mode 100644
index 0000000000..d1dfb8742f
--- /dev/null
+++ b/OvmfPkg/AmdSev/AmdSevX64.dsc
@@ -0,0 +1,1024 @@
+## @file=0D
+# EFI/Framework Open Virtual Machine Firmware (OVMF) platform for SEV=0D
+#=0D
+# Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>=
=0D
+# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>=0D
+#=0D
+# SPDX-License-Identifier: BSD-2-Clause-Patent=0D
+#=0D
+##=0D
+=0D
+##########################################################################=
######=0D
+#=0D
+# Defines Section - statements that will be processed to create a Makefile=
.=0D
+#=0D
+##########################################################################=
######=0D
+[Defines]=0D
+ PLATFORM_NAME =3D Ovmf=0D
+ PLATFORM_GUID =3D 5a9e7754-d81b-49ea-85ad-69eaa7b1539b=
=0D
+ PLATFORM_VERSION =3D 0.1=0D
+ DSC_SPECIFICATION =3D 0x00010005=0D
+ OUTPUT_DIRECTORY =3D Build/AmdSev=0D
+ SUPPORTED_ARCHITECTURES =3D X64=0D
+ BUILD_TARGETS =3D NOOPT|DEBUG|RELEASE=0D
+ SKUID_IDENTIFIER =3D DEFAULT=0D
+ FLASH_DEFINITION =3D OvmfPkg/AmdSev/AmdSevX64.fdf=0D
+=0D
+ #=0D
+ # Defines for default states. These can be changed on the command line.=
=0D
+ # -D FLAG=3DVALUE=0D
+ #=0D
+ DEFINE SECURE_BOOT_ENABLE =3D FALSE=0D
+ DEFINE SMM_REQUIRE =3D FALSE=0D
+ DEFINE SOURCE_DEBUG_ENABLE =3D FALSE=0D
+ DEFINE TPM_ENABLE =3D FALSE=0D
+ DEFINE TPM_CONFIG_ENABLE =3D FALSE=0D
+=0D
+ #=0D
+ # Network definition=0D
+ #=0D
+ DEFINE NETWORK_TLS_ENABLE =3D FALSE=0D
+ DEFINE NETWORK_IP6_ENABLE =3D FALSE=0D
+ DEFINE NETWORK_HTTP_BOOT_ENABLE =3D FALSE=0D
+ DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS =3D TRUE=0D
+=0D
+!include NetworkPkg/NetworkDefines.dsc.inc=0D
+=0D
+ #=0D
+ # Device drivers=0D
+ #=0D
+ DEFINE PVSCSI_ENABLE =3D TRUE=0D
+ DEFINE MPT_SCSI_ENABLE =3D TRUE=0D
+ DEFINE LSI_SCSI_ENABLE =3D FALSE=0D
+=0D
+ #=0D
+ # Flash size selection. Setting FD_SIZE_IN_KB on the command line direct=
ly to=0D
+ # one of the supported values, in place of any of the convenience macros=
, is=0D
+ # permitted.=0D
+ #=0D
+!ifdef $(FD_SIZE_1MB)=0D
+ DEFINE FD_SIZE_IN_KB =3D 1024=0D
+!else=0D
+!ifdef $(FD_SIZE_2MB)=0D
+ DEFINE FD_SIZE_IN_KB =3D 2048=0D
+!else=0D
+!ifdef $(FD_SIZE_4MB)=0D
+ DEFINE FD_SIZE_IN_KB =3D 4096=0D
+!else=0D
+ DEFINE FD_SIZE_IN_KB =3D 4096=0D
+!endif=0D
+!endif=0D
+!endif=0D
+=0D
+[BuildOptions]=0D
+ GCC:RELEASE_*_*_CC_FLAGS =3D -DMDEPKG_NDEBUG=0D
+ INTEL:RELEASE_*_*_CC_FLAGS =3D /D MDEPKG_NDEBUG=0D
+ MSFT:RELEASE_*_*_CC_FLAGS =3D /D MDEPKG_NDEBUG=0D
+!if $(TOOL_CHAIN_TAG) !=3D "XCODE5" && $(TOOL_CHAIN_TAG) !=3D "CLANGPDB"=0D
+ GCC:*_*_*_CC_FLAGS =3D -mno-mmx -mno-sse=0D
+!endif=0D
+!if $(SOURCE_DEBUG_ENABLE) =3D=3D TRUE=0D
+ MSFT:*_*_X64_GENFW_FLAGS =3D --keepexceptiontable=0D
+ GCC:*_*_X64_GENFW_FLAGS =3D --keepexceptiontable=0D
+ INTEL:*_*_X64_GENFW_FLAGS =3D --keepexceptiontable=0D
+!endif=0D
+=0D
+ #=0D
+ # Disable deprecated APIs.=0D
+ #=0D
+ MSFT:*_*_*_CC_FLAGS =3D /D DISABLE_NEW_DEPRECATED_INTERFACES=0D
+ INTEL:*_*_*_CC_FLAGS =3D /D DISABLE_NEW_DEPRECATED_INTERFACES=0D
+ GCC:*_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTERFACES=0D
+=0D
+[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]=0D
+ GCC:*_*_*_DLINK_FLAGS =3D -z common-page-size=3D0x1000=0D
+ XCODE:*_*_*_DLINK_FLAGS =3D -seg1addr 0x1000 -segalign 0x1000=0D
+ XCODE:*_*_*_MTOC_FLAGS =3D -align 0x1000=0D
+ CLANGPDB:*_*_*_DLINK_FLAGS =3D /ALIGN:4096=0D
+=0D
+# Force PE/COFF sections to be aligned at 4KB boundaries to support page l=
evel=0D
+# protection of DXE_SMM_DRIVER/SMM_CORE modules=0D
+[BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_C=
ORE]=0D
+ GCC:*_*_*_DLINK_FLAGS =3D -z common-page-size=3D0x1000=0D
+ XCODE:*_*_*_DLINK_FLAGS =3D -seg1addr 0x1000 -segalign 0x1000=0D
+ XCODE:*_*_*_MTOC_FLAGS =3D -align 0x1000=0D
+ CLANGPDB:*_*_*_DLINK_FLAGS =3D /ALIGN:4096=0D
+=0D
+##########################################################################=
######=0D
+#=0D
+# SKU Identification section - list of all SKU IDs supported by this Platf=
orm.=0D
+#=0D
+##########################################################################=
######=0D
+[SkuIds]=0D
+ 0|DEFAULT=0D
+=0D
+##########################################################################=
######=0D
+#=0D
+# Library Class section - list of all Library Classes needed by this Platf=
orm.=0D
+#=0D
+##########################################################################=
######=0D
+[LibraryClasses]=0D
+ PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf=0D
+ TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf=0D
+ ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf=0D
+ PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf=0D
+ BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf=
=0D
+ BaseLib|MdePkg/Library/BaseLib/BaseLib.inf=0D
+ SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf=0D
+ BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.i=
nf=0D
+ SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchroniza=
tionLib.inf=0D
+ CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf=0D
+ PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibN=
ull.inf=0D
+ PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf=0D
+ CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMain=
tenanceLib.inf=0D
+ UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompres=
sLib.inf=0D
+ UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServic=
esLib.inf=0D
+ HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf=0D
+ SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf=0D
+ UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManag=
erLib.inf=0D
+ BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf=0D
+ FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf=
=0D
+ CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf=
=0D
+ DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf=0D
+ DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableL=
ib.inf=0D
+ PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC=
offGetEntryPointLib.inf=0D
+ PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf=0D
+ PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf=0D
+ PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf=0D
+ PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.i=
nf=0D
+ PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf=0D
+ PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPc=
iSegmentLib.inf=0D
+ PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf=
=0D
+ IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf=0D
+ OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHo=
okStatusCodeLibNull.inf=0D
+ SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf=0D
+ MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf=0D
+ UefiLib|MdePkg/Library/UefiLib/UefiLib.inf=0D
+ UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoo=
tServicesTableLib.inf=0D
+ UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/U=
efiRuntimeServicesTableLib.inf=0D
+ UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntry=
Point.inf=0D
+ UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiA=
pplicationEntryPoint.inf=0D
+ DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDev=
icePathLibDevicePathProtocol.inf=0D
+ NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf=0D
+ FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf=0D
+ UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf=0D
+ SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS=
ecurityManagementLib.inf=0D
+ UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf=0D
+ SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVar=
iablesLib.inf=0D
+ QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf=0D
+ QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFw=
CfgSimpleParserLib.inf=0D
+ VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf=0D
+ LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf=0D
+ MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevL=
ib.inf=0D
+!if $(SMM_REQUIRE) =3D=3D FALSE=0D
+ LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf=0D
+!endif=0D
+ CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Customize=
dDisplayLib.inf=0D
+ FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltL=
ib.inf=0D
+=0D
+!if $(SOURCE_DEBUG_ENABLE) =3D=3D TRUE=0D
+ PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDeb=
ug/PeCoffExtraActionLibDebug.inf=0D
+ DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibS=
erialPort/DebugCommunicationLibSerialPort.inf=0D
+!else=0D
+ PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeC=
offExtraActionLibNull.inf=0D
+ DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.i=
nf=0D
+!endif=0D
+=0D
+ LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.in=
f=0D
+ DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseD=
ebugPrintErrorLevelLib.inf=0D
+=0D
+ IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf=0D
+!if $(NETWORK_TLS_ENABLE) =3D=3D TRUE=0D
+ OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf=0D
+!else=0D
+ OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf=0D
+!endif=0D
+ RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf=0D
+=0D
+!if $(SECURE_BOOT_ENABLE) =3D=3D TRUE=0D
+ PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.in=
f=0D
+ AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf=
=0D
+!else=0D
+ AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLib=
Null.inf=0D
+!endif=0D
+ VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf=0D
+=0D
+=0D
+ #=0D
+ # Network libraries=0D
+ #=0D
+!include NetworkPkg/NetworkLibs.dsc.inc=0D
+=0D
+!if $(NETWORK_TLS_ENABLE) =3D=3D TRUE=0D
+ TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf=0D
+!endif=0D
+=0D
+ ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf=0D
+ ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.in=
f=0D
+ S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScrip=
tLib.inf=0D
+ SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf=0D
+ OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib=
/BaseOrderedCollectionRedBlackTreeLib.inf=0D
+ XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf=0D
+ XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf=0D
+=0D
+!if $(TPM_ENABLE) =3D=3D TRUE=0D
+ Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf=
=0D
+ Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf=0D
+ Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeT=
cg2PhysicalPresenceLib.inf=0D
+ Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibN=
ull.inf=0D
+ TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasure=
mentLib.inf=0D
+!else=0D
+ Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeT=
cg2PhysicalPresenceLib.inf=0D
+ TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurem=
entLibNull.inf=0D
+!endif=0D
+=0D
+[LibraryClasses.common]=0D
+ BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf=0D
+ VmgExitLib|OvmfPkg/Library/VmgExitLib/VmgExitLib.inf=0D
+=0D
+[LibraryClasses.common.SEC]=0D
+ TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf=0D
+ QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf=0D
+!ifdef $(DEBUG_ON_SERIAL_PORT)=0D
+ DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.in=
f=0D
+!else=0D
+ DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPor=
t.inf=0D
+!endif=0D
+ ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiRepor=
tStatusCodeLib.inf=0D
+ ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseE=
xtractGuidedSectionLib.inf=0D
+!if $(SOURCE_DEBUG_ENABLE) =3D=3D TRUE=0D
+ DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib=
.inf=0D
+!endif=0D
+ HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf=0D
+ PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf=0D
+ PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/=
PeiServicesTablePointerLibIdt.inf=0D
+ MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAlloc=
ationLib.inf=0D
+!if $(TOOL_CHAIN_TAG) =3D=3D "XCODE5"=0D
+ CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5S=
ecPeiCpuExceptionHandlerLib.inf=0D
+!else=0D
+ CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiC=
puExceptionHandlerLib.inf=0D
+!endif=0D
+=0D
+[LibraryClasses.common.PEI_CORE]=0D
+ HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf=0D
+ PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/=
PeiServicesTablePointerLibIdt.inf=0D
+ PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf=0D
+ MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAlloc=
ationLib.inf=0D
+ PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf=
=0D
+ ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiRepor=
tStatusCodeLib.inf=0D
+ OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHo=
okStatusCodeLibNull.inf=0D
+ PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC=
offGetEntryPointLib.inf=0D
+!ifdef $(DEBUG_ON_SERIAL_PORT)=0D
+ DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.in=
f=0D
+!else=0D
+ DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.i=
nf=0D
+!endif=0D
+ PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf=0D
+=0D
+[LibraryClasses.common.PEIM]=0D
+ HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf=0D
+ PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/=
PeiServicesTablePointerLibIdt.inf=0D
+ PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf=0D
+ MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAlloc=
ationLib.inf=0D
+ PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf=0D
+ ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiRepor=
tStatusCodeLib.inf=0D
+ OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHo=
okStatusCodeLibNull.inf=0D
+ PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC=
offGetEntryPointLib.inf=0D
+!ifdef $(DEBUG_ON_SERIAL_PORT)=0D
+ DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.in=
f=0D
+!else=0D
+ DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.i=
nf=0D
+!endif=0D
+ PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf=0D
+ ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResou=
rcePublicationLib.inf=0D
+ ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExt=
ractGuidedSectionLib.inf=0D
+!if $(SOURCE_DEBUG_ENABLE) =3D=3D TRUE=0D
+ DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib=
.inf=0D
+!endif=0D
+ CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuE=
xceptionHandlerLib.inf=0D
+ MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf=0D
+ QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf=
=0D
+ PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf=0D
+ QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf=0D
+=0D
+!if $(TPM_ENABLE) =3D=3D TRUE=0D
+ BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf=0D
+ Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm=
.inf=0D
+ Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.in=
f=0D
+!endif=0D
+=0D
+[LibraryClasses.common.DXE_CORE]=0D
+ HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf=0D
+ DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf=
=0D
+ MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeC=
oreMemoryAllocationLib.inf=0D
+ ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeRepor=
tStatusCodeLib.inf=0D
+!ifdef $(DEBUG_ON_SERIAL_PORT)=0D
+ DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.in=
f=0D
+!else=0D
+ DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.i=
nf=0D
+!endif=0D
+ ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExt=
ractGuidedSectionLib.inf=0D
+!if $(SOURCE_DEBUG_ENABLE) =3D=3D TRUE=0D
+ DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.in=
f=0D
+!endif=0D
+ CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuE=
xceptionHandlerLib.inf=0D
+ PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf=0D
+=0D
+[LibraryClasses.common.DXE_RUNTIME_DRIVER]=0D
+ PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf=0D
+ TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf=0D
+ ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf=0D
+ HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf=0D
+ DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf=
=0D
+ MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll=
ocationLib.inf=0D
+ ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/R=
untimeDxeReportStatusCodeLib.inf=0D
+!ifdef $(DEBUG_ON_SERIAL_PORT)=0D
+ DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.in=
f=0D
+!else=0D
+ DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.i=
nf=0D
+!endif=0D
+ UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf=0D
+ BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf=0D
+ PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf=0D
+ QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf=
=0D
+=0D
+[LibraryClasses.common.UEFI_DRIVER]=0D
+ PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf=0D
+ TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf=0D
+ ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf=0D
+ HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf=0D
+ DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf=
=0D
+ MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll=
ocationLib.inf=0D
+ ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeRepor=
tStatusCodeLib.inf=0D
+!ifdef $(DEBUG_ON_SERIAL_PORT)=0D
+ DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.in=
f=0D
+!else=0D
+ DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.i=
nf=0D
+!endif=0D
+ UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf=0D
+ PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf=0D
+=0D
+[LibraryClasses.common.DXE_DRIVER]=0D
+ PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf=0D
+ TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf=0D
+ ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf=0D
+ HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf=0D
+ MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll=
ocationLib.inf=0D
+ ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeRepor=
tStatusCodeLib.inf=0D
+ UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf=0D
+!ifdef $(DEBUG_ON_SERIAL_PORT)=0D
+ DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.in=
f=0D
+!else=0D
+ DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.i=
nf=0D
+!endif=0D
+ PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBo=
otManagerLib.inf=0D
+ PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrin=
tScLib.inf=0D
+ QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf=0D
+ CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuE=
xceptionHandlerLib.inf=0D
+!if $(SMM_REQUIRE) =3D=3D TRUE=0D
+ LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf=0D
+!else=0D
+ LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf=0D
+!endif=0D
+!if $(SOURCE_DEBUG_ENABLE) =3D=3D TRUE=0D
+ DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.in=
f=0D
+!endif=0D
+ PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf=0D
+ MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf=0D
+ QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf=
=0D
+ QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib=
.inf=0D
+!if $(TPM_ENABLE) =3D=3D TRUE=0D
+ Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.i=
nf=0D
+ Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.in=
f=0D
+!endif=0D
+=0D
+[LibraryClasses.common.UEFI_APPLICATION]=0D
+ PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf=0D
+ TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf=0D
+ ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf=0D
+ HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf=0D
+ MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll=
ocationLib.inf=0D
+ ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeRepor=
tStatusCodeLib.inf=0D
+!ifdef $(DEBUG_ON_SERIAL_PORT)=0D
+ DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.in=
f=0D
+!else=0D
+ DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.i=
nf=0D
+!endif=0D
+ PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf=0D
+=0D
+[LibraryClasses.common.DXE_SMM_DRIVER]=0D
+ PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf=0D
+ TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf=0D
+ ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf=0D
+ MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAlloc=
ationLib.inf=0D
+ ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeRepor=
tStatusCodeLib.inf=0D
+ HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf=0D
+ SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf=0D
+ MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.=
inf=0D
+ SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableL=
ib.inf=0D
+!ifdef $(DEBUG_ON_SERIAL_PORT)=0D
+ DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.in=
f=0D
+!else=0D
+ DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.i=
nf=0D
+!endif=0D
+ CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuE=
xceptionHandlerLib.inf=0D
+!if $(SOURCE_DEBUG_ENABLE) =3D=3D TRUE=0D
+ DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.in=
f=0D
+!endif=0D
+ BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf=0D
+ PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf=0D
+=0D
+[LibraryClasses.common.SMM_CORE]=0D
+ PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf=0D
+ TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf=0D
+ ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf=0D
+ SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/S=
mmCorePlatformHookLibNull.inf=0D
+ MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/Pi=
SmmCoreMemoryAllocationLib.inf=0D
+ ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeRepor=
tStatusCodeLib.inf=0D
+ HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf=0D
+ SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf=0D
+ SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/Pi=
SmmCoreSmmServicesTableLib.inf=0D
+!ifdef $(DEBUG_ON_SERIAL_PORT)=0D
+ DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.in=
f=0D
+!else=0D
+ DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.i=
nf=0D
+!endif=0D
+ PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf=0D
+=0D
+##########################################################################=
######=0D
+#=0D
+# Pcd Section - list of all EDK II PCD Entries defined by this Platform.=0D
+#=0D
+##########################################################################=
######=0D
+[PcdsFeatureFlag]=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE=0D
+!ifdef $(CSM_ENABLE)=0D
+ gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE=0D
+!endif=0D
+!if $(SMM_REQUIRE) =3D=3D TRUE=0D
+ gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE=0D
+ gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE=0D
+!endif=0D
+=0D
+[PcdsFixedAtBuild]=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1=0D
+!if $(SMM_REQUIRE) =3D=3D FALSE=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FAL=
SE=0D
+!endif=0D
+ gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10=0D
+!if ($(FD_SIZE_IN_KB) =3D=3D 1024) || ($(FD_SIZE_IN_KB) =3D=3D 2048)=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800=0D
+!if $(NETWORK_TLS_ENABLE) =3D=3D FALSE=0D
+ # match PcdFlashNvStorageVariableSize purely for convenience=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000=0D
+!endif=0D
+!endif=0D
+!if $(FD_SIZE_IN_KB) =3D=3D 4096=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400=0D
+!if $(NETWORK_TLS_ENABLE) =3D=3D FALSE=0D
+ # match PcdFlashNvStorageVariableSize purely for convenience=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000=0D
+!endif=0D
+!endif=0D
+!if $(NETWORK_TLS_ENABLE) =3D=3D TRUE=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000=0D
+!endif=0D
+=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE=0D
+=0D
+ gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07=0D
+=0D
+ # DEBUG_INIT 0x00000001 // Initialization=0D
+ # DEBUG_WARN 0x00000002 // Warnings=0D
+ # DEBUG_LOAD 0x00000004 // Load events=0D
+ # DEBUG_FS 0x00000008 // EFI File system=0D
+ # DEBUG_POOL 0x00000010 // Alloc & Free (pool)=0D
+ # DEBUG_PAGE 0x00000020 // Alloc & Free (page)=0D
+ # DEBUG_INFO 0x00000040 // Informational debug messages=0D
+ # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers=0D
+ # DEBUG_VARIABLE 0x00000100 // Variable=0D
+ # DEBUG_BM 0x00000400 // Boot Manager=0D
+ # DEBUG_BLKIO 0x00001000 // BlkIo Driver=0D
+ # DEBUG_NET 0x00004000 // SNP Driver=0D
+ # DEBUG_UNDI 0x00010000 // UNDI Driver=0D
+ # DEBUG_LOADFILE 0x00020000 // LoadFile=0D
+ # DEBUG_EVENT 0x00080000 // Event messages=0D
+ # DEBUG_GCD 0x00100000 // Global Coherency Database changes=0D
+ # DEBUG_CACHE 0x00200000 // Memory range cachability changes=0D
+ # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may=0D
+ # // significantly impact boot performance=0D
+ # DEBUG_ERROR 0x80000000 // Error=0D
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F=0D
+=0D
+!if $(SOURCE_DEBUG_ENABLE) =3D=3D TRUE=0D
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17=0D
+!else=0D
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F=0D
+!endif=0D
+=0D
+ # This PCD is used to set the base address of the PCI express hierarchy.=
It=0D
+ # is only consulted when OVMF runs on Q35. In that case it is programmed=
into=0D
+ # the PCIEXBAR register.=0D
+ #=0D
+ # On Q35 machine types that QEMU intends to support in the long term, QE=
MU=0D
+ # never lets the RAM below 4 GB exceed 2816 MB.=0D
+ gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000=0D
+=0D
+!if $(SOURCE_DEBUG_ENABLE) =3D=3D TRUE=0D
+ gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2=0D
+!endif=0D
+=0D
+ #=0D
+ # The NumberOfPages values below are ad-hoc. They are updated sporadical=
ly at=0D
+ # best (please refer to git-blame for past updates). The values capture =
a set=0D
+ # of BIN hints that made sense at a particular time, for some (now likel=
y=0D
+ # unknown) workloads / boot paths.=0D
+ #=0D
+ gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80=0D
+ gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10=0D
+ gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80=0D
+ gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100=0D
+ gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100=0D
+=0D
+ #=0D
+ # Network Pcds=0D
+ #=0D
+!include NetworkPkg/NetworkPcds.dsc.inc=0D
+=0D
+!if $(SMM_REQUIRE) =3D=3D TRUE=0D
+ gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000=0D
+!endif=0D
+=0D
+ # IRQs 5, 9, 10, 11 are level-triggered=0D
+ gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20=0D
+=0D
+ # Point to the MdeModulePkg/Application/UiApp/UiApp.inf=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c=
, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0=
x31 }=0D
+=0D
+##########################################################################=
######=0D
+#=0D
+# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Pla=
tform=0D
+#=0D
+##########################################################################=
######=0D
+=0D
+[PcdsDynamicDefault]=0D
+ # only set when=0D
+ # ($(SMM_REQUIRE) =3D=3D FALSE)=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0=0D
+=0D
+!if $(SMM_REQUIRE) =3D=3D FALSE=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0=0D
+!endif=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE=0D
+ gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0=0D
+ gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0=0D
+ gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0=0D
+ gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0=0D
+ gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0=0D
+ gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0=0D
+!ifdef $(CSM_ENABLE)=0D
+ gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x0=0D
+!else=0D
+ gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000=0D
+!endif=0D
+=0D
+ gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0=0D
+=0D
+ # Set video resolution for text setup.=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480=0D
+=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0=0D
+ gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE=0D
+=0D
+ # Noexec settings for DXE.=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE=0D
+=0D
+ # UefiCpuPkg PCDs related to initial AP bringup and general AP managemen=
t.=0D
+ gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64=0D
+ gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0=0D
+=0D
+ # Set memory encryption mask=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0=0D
+=0D
+ # Set SEV-ES defaults=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0=0D
+ gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0=0D
+ gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0=0D
+=0D
+!if $(SMM_REQUIRE) =3D=3D TRUE=0D
+ gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8=0D
+ gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE=0D
+ gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01=0D
+ gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000=0D
+!endif=0D
+=0D
+ gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00=0D
+=0D
+!if $(TPM_ENABLE) =3D=3D TRUE=0D
+ gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00=
, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}=0D
+!endif=0D
+=0D
+ # IPv4 and IPv6 PXE Boot support.=0D
+ gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01=0D
+ gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01=0D
+=0D
+[PcdsDynamicHii]=0D
+!if $(TPM_ENABLE) =3D=3D TRUE && $(TPM_CONFIG_ENABLE) =3D=3D TRUE=0D
+ gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_=
VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS=0D
+ gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2C=
onfigFormSetGuid|0x8|3|NV,BS=0D
+!endif=0D
+=0D
+##########################################################################=
######=0D
+#=0D
+# Components Section - list of all EDK II Modules needed by this Platform.=
=0D
+#=0D
+##########################################################################=
######=0D
+[Components]=0D
+ OvmfPkg/ResetVector/ResetVector.inf=0D
+=0D
+ #=0D
+ # SEC Phase modules=0D
+ #=0D
+ OvmfPkg/Sec/SecMain.inf {=0D
+ <LibraryClasses>=0D
+ NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompre=
ssLib.inf=0D
+ }=0D
+=0D
+ #=0D
+ # PEI Phase modules=0D
+ #=0D
+ MdeModulePkg/Core/Pei/PeiMain.inf=0D
+ MdeModulePkg/Universal/PCD/Pei/Pcd.inf {=0D
+ <LibraryClasses>=0D
+ PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf=0D
+ }=0D
+ MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouter=
Pei.inf {=0D
+ <LibraryClasses>=0D
+ PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf=0D
+ }=0D
+ MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {=
=0D
+ <LibraryClasses>=0D
+ PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf=0D
+ }=0D
+ MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf=0D
+=0D
+ OvmfPkg/PlatformPei/PlatformPei.inf=0D
+ UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {=0D
+ <LibraryClasses>=0D
+!if $(SMM_REQUIRE) =3D=3D TRUE=0D
+ LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf=0D
+!endif=0D
+ }=0D
+!if $(SMM_REQUIRE) =3D=3D TRUE=0D
+ MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf=0D
+ MdeModulePkg/Universal/Variable/Pei/VariablePei.inf=0D
+ OvmfPkg/SmmAccess/SmmAccessPei.inf=0D
+!endif=0D
+ UefiCpuPkg/CpuMpPei/CpuMpPei.inf=0D
+=0D
+!if $(TPM_ENABLE) =3D=3D TRUE=0D
+ OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf=0D
+ SecurityPkg/Tcg/TcgPei/TcgPei.inf=0D
+ SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {=0D
+ <LibraryClasses>=0D
+ HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCrypt=
oRouterPei.inf=0D
+ NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf=
=0D
+ NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256=
.inf=0D
+ NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384=
.inf=0D
+ NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512=
.inf=0D
+ NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf=0D
+ }=0D
+!endif=0D
+=0D
+ #=0D
+ # DXE Phase modules=0D
+ #=0D
+ MdeModulePkg/Core/Dxe/DxeMain.inf {=0D
+ <LibraryClasses>=0D
+ NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompre=
ssLib.inf=0D
+ DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf=
=0D
+ }=0D
+=0D
+ MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCod=
eRouterRuntimeDxe.inf=0D
+ MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRun=
timeDxe.inf=0D
+ MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {=0D
+ <LibraryClasses>=0D
+ PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf=0D
+ }=0D
+=0D
+ MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf=0D
+=0D
+ MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {=0D
+ <LibraryClasses>=0D
+!if $(SECURE_BOOT_ENABLE) =3D=3D TRUE=0D
+ NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificatio=
nLib.inf=0D
+!endif=0D
+!if $(TPM_ENABLE) =3D=3D TRUE=0D
+ NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.i=
nf=0D
+ NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib=
.inf=0D
+!endif=0D
+ }=0D
+=0D
+ MdeModulePkg/Universal/EbcDxe/EbcDxe.inf=0D
+ OvmfPkg/8259InterruptControllerDxe/8259.inf=0D
+ UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf=0D
+ UefiCpuPkg/CpuDxe/CpuDxe.inf=0D
+ OvmfPkg/8254TimerDxe/8254Timer.inf=0D
+ OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf=
=0D
+ OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf=0D
+ MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {=0D
+ <LibraryClasses>=0D
+ PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.i=
nf=0D
+ NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf=0D
+ }=0D
+ MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {=0D
+ <LibraryClasses>=0D
+ PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf=0D
+ }=0D
+ MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf=0D
+ MdeModulePkg/Universal/Metronome/Metronome.inf=0D
+ PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.i=
nf=0D
+ MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf=
=0D
+ MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {=0D
+ <LibraryClasses>=0D
+!ifdef $(CSM_ENABLE)=0D
+ NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf=0D
+ NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf=0D
+!endif=0D
+ }=0D
+ MdeModulePkg/Logo/LogoDxe.inf=0D
+ MdeModulePkg/Application/UiApp/UiApp.inf {=0D
+ <LibraryClasses>=0D
+ NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf=
=0D
+ NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf=0D
+ NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanc=
eManagerUiLib.inf=0D
+!ifdef $(CSM_ENABLE)=0D
+ NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf=0D
+ NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf=0D
+!endif=0D
+ }=0D
+ OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf=0D
+ OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf=0D
+ OvmfPkg/Virtio10Dxe/Virtio10.inf=0D
+ OvmfPkg/VirtioBlkDxe/VirtioBlk.inf=0D
+ OvmfPkg/VirtioScsiDxe/VirtioScsi.inf=0D
+ OvmfPkg/VirtioRngDxe/VirtioRng.inf=0D
+ OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf=0D
+ OvmfPkg/XenBusDxe/XenBusDxe.inf=0D
+ OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf=0D
+!if $(PVSCSI_ENABLE) =3D=3D TRUE=0D
+ OvmfPkg/PvScsiDxe/PvScsiDxe.inf=0D
+!endif=0D
+!if $(MPT_SCSI_ENABLE) =3D=3D TRUE=0D
+ OvmfPkg/MptScsiDxe/MptScsiDxe.inf=0D
+!endif=0D
+!if $(LSI_SCSI_ENABLE) =3D=3D TRUE=0D
+ OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf=0D
+!endif=0D
+ MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf=0D
+ MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntim=
eDxe.inf=0D
+ MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf=0D
+ MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf=0D
+ MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf=0D
+ MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf=
{=0D
+ <LibraryClasses>=0D
+ PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf=0D
+ }=0D
+ MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf=0D
+ MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {=0D
+ <LibraryClasses>=0D
+ DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf=
=0D
+ PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf=0D
+ }=0D
+ MdeModulePkg/Universal/PrintDxe/PrintDxe.inf=0D
+ MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf=0D
+ MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf=0D
+ MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf=0D
+ MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf=0D
+ FatPkg/EnhancedFatDxe/Fat.inf=0D
+ MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf=0D
+ MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf=0D
+ MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf=0D
+ OvmfPkg/SataControllerDxe/SataControllerDxe.inf=0D
+ MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf=0D
+ MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf=0D
+ MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf=0D
+ MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf=0D
+ MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf=0D
+ MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf=0D
+ MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.in=
f=0D
+=0D
+!ifndef $(CSM_ENABLE)=0D
+ OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf=0D
+!endif=0D
+ OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf=0D
+ OvmfPkg/VirtioGpuDxe/VirtioGpu.inf=0D
+=0D
+ #=0D
+ # ISA Support=0D
+ #=0D
+ OvmfPkg/SioBusDxe/SioBusDxe.inf=0D
+ MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf=0D
+ MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf=0D
+=0D
+ #=0D
+ # SMBIOS Support=0D
+ #=0D
+ MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {=0D
+ <LibraryClasses>=0D
+ NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf=0D
+ }=0D
+ OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf=0D
+=0D
+ #=0D
+ # ACPI Support=0D
+ #=0D
+ MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf=0D
+ OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf=0D
+ OvmfPkg/AcpiTables/AcpiTables.inf=0D
+ MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf=0D
+ MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.=
inf=0D
+ MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsRes=
ourceTableDxe.inf=0D
+=0D
+ #=0D
+ # Network Support=0D
+ #=0D
+!include NetworkPkg/NetworkComponents.dsc.inc=0D
+=0D
+ NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {=0D
+ <LibraryClasses>=0D
+ NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf=0D
+ }=0D
+=0D
+!if $(NETWORK_TLS_ENABLE) =3D=3D TRUE=0D
+ NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {=0D
+ <LibraryClasses>=0D
+ NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf=0D
+ }=0D
+!endif=0D
+ OvmfPkg/VirtioNetDxe/VirtioNet.inf=0D
+=0D
+ #=0D
+ # Usb Support=0D
+ #=0D
+ MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf=0D
+ MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf=0D
+ MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf=0D
+ MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf=0D
+ MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf=0D
+ MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf=0D
+=0D
+!ifdef $(CSM_ENABLE)=0D
+ OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {=0D
+ <LibraryClasses>=0D
+ PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf=0D
+ }=0D
+ OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf=0D
+ OvmfPkg/Csm/Csm16/Csm16.inf=0D
+!endif=0D
+=0D
+!if $(TOOL_CHAIN_TAG) !=3D "XCODE5"=0D
+ ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {=0D
+ <PcdsFixedAtBuild>=0D
+ gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE=0D
+ }=0D
+ ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {=0D
+ <PcdsFixedAtBuild>=0D
+ gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE=0D
+ }=0D
+ OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.in=
f {=0D
+ <PcdsFixedAtBuild>=0D
+ gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE=0D
+ }=0D
+!endif=0D
+ ShellPkg/Application/Shell/Shell.inf {=0D
+ <LibraryClasses>=0D
+ ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellComman=
dLib.inf=0D
+ NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2Comm=
andsLib.inf=0D
+ NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1Comm=
andsLib.inf=0D
+ NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3Comm=
andsLib.inf=0D
+ NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1Co=
mmandsLib.inf=0D
+ NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comm=
andsLib.inf=0D
+ NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1=
CommandsLib.inf=0D
+ NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1=
CommandsLib.inf=0D
+!if $(NETWORK_IP6_ENABLE) =3D=3D TRUE=0D
+ NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2=
CommandsLib.inf=0D
+!endif=0D
+ HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandlePar=
singLib.inf=0D
+ PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf=0D
+ BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcf=
gCommandLib.inf=0D
+=0D
+ <PcdsFixedAtBuild>=0D
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF=0D
+ gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE=0D
+ gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000=0D
+ }=0D
+=0D
+!if $(SECURE_BOOT_ENABLE) =3D=3D TRUE=0D
+ SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDx=
e.inf=0D
+ OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf=0D
+!endif=0D
+=0D
+ OvmfPkg/PlatformDxe/Platform.inf=0D
+ OvmfPkg/AmdSevDxe/AmdSevDxe.inf=0D
+ OvmfPkg/IoMmuDxe/IoMmuDxe.inf=0D
+=0D
+!if $(SMM_REQUIRE) =3D=3D TRUE=0D
+ OvmfPkg/SmmAccess/SmmAccess2Dxe.inf=0D
+ OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf=0D
+ OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf=0D
+=0D
+ #=0D
+ # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)=0D
+ #=0D
+ MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf=0D
+=0D
+ #=0D
+ # SMM_CORE=0D
+ #=0D
+ MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf=0D
+=0D
+ #=0D
+ # Privileged drivers (DXE_SMM_DRIVER modules)=0D
+ #=0D
+ OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf=0D
+ UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf=0D
+ MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {=0D
+ <LibraryClasses>=0D
+ LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf=0D
+ }=0D
+ UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {=0D
+ <LibraryClasses>=0D
+ SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmC=
puPlatformHookLibQemu.inf=0D
+ SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLi=
b.inf=0D
+ }=0D
+=0D
+ #=0D
+ # Variable driver stack (SMM)=0D
+ #=0D
+ OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf=0D
+ MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf=0D
+ MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {=0D
+ <LibraryClasses>=0D
+ NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf=0D
+ }=0D
+ MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf=0D
+=0D
+!else=0D
+=0D
+ #=0D
+ # Variable driver stack (non-SMM)=0D
+ #=0D
+ OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf=0D
+ OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {=0D
+ <LibraryClasses>=0D
+ PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.i=
nf=0D
+ }=0D
+ MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf=0D
+ MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {=0D
+ <LibraryClasses>=0D
+ NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf=0D
+ }=0D
+!endif=0D
+=0D
+ #=0D
+ # TPM support=0D
+ #=0D
+!if $(TPM_ENABLE) =3D=3D TRUE=0D
+ SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {=0D
+ <LibraryClasses>=0D
+ Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibR=
outerDxe.inf=0D
+ NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf=0D
+ HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCrypt=
oRouterDxe.inf=0D
+ NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf=
=0D
+ NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256=
.inf=0D
+ NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384=
.inf=0D
+ NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512=
.inf=0D
+ NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf=0D
+ }=0D
+!if $(TPM_CONFIG_ENABLE) =3D=3D TRUE=0D
+ SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf=0D
+!endif=0D
+ SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {=0D
+ <LibraryClasses>=0D
+ Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLib=
DTpm.inf=0D
+ }=0D
+!endif=0D
diff --git a/OvmfPkg/AmdSev/AmdSevX64.fdf b/OvmfPkg/AmdSev/AmdSevX64.fdf
new file mode 100644
index 0000000000..e874629a4e
--- /dev/null
+++ b/OvmfPkg/AmdSev/AmdSevX64.fdf
@@ -0,0 +1,506 @@
+## @file=0D
+# Open Virtual Machine Firmware: FDF=0D
+#=0D
+# Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>=
=0D
+# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>=0D
+#=0D
+# SPDX-License-Identifier: BSD-2-Clause-Patent=0D
+#=0D
+##=0D
+=0D
+##########################################################################=
######=0D
+=0D
+[Defines]=0D
+!include OvmfPkg/OvmfPkgDefines.fdf.inc=0D
+=0D
+#=0D
+# Build the variable store and the firmware code as one unified flash devi=
ce=0D
+# image.=0D
+#=0D
+[FD.OVMF]=0D
+BaseAddress =3D $(FW_BASE_ADDRESS)=0D
+Size =3D $(FW_SIZE)=0D
+ErasePolarity =3D 1=0D
+BlockSize =3D $(BLOCK_SIZE)=0D
+NumBlocks =3D $(FW_BLOCKS)=0D
+=0D
+!include OvmfPkg/VarStore.fdf.inc=0D
+=0D
+$(VARS_SIZE)|$(FVMAIN_SIZE)=0D
+FV =3D FVMAIN_COMPACT=0D
+=0D
+$(SECFV_OFFSET)|$(SECFV_SIZE)=0D
+FV =3D SECFV=0D
+=0D
+##########################################################################=
######=0D
+=0D
+[FD.MEMFD]=0D
+BaseAddress =3D $(MEMFD_BASE_ADDRESS)=0D
+Size =3D 0xD00000=0D
+ErasePolarity =3D 1=0D
+BlockSize =3D 0x10000=0D
+NumBlocks =3D 0xD0=0D
+=0D
+0x000000|0x006000=0D
+gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpace=
Guid.PcdOvmfSecPageTablesSize=0D
+=0D
+0x006000|0x001000=0D
+gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageBase|gUefiOvmfPkgTokenSpac=
eGuid.PcdOvmfLockBoxStorageSize=0D
+=0D
+0x007000|0x001000=0D
+gEfiMdePkgTokenSpaceGuid.PcdGuidedExtractHandlerTableAddress|gUefiOvmfPkgT=
okenSpaceGuid.PcdGuidedExtractHandlerTableSize=0D
+=0D
+0x008000|0x001000=0D
+gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbPageTableBase|gUefiOvmfPkgTokenSp=
aceGuid.PcdOvmfSecGhcbPageTableSize=0D
+=0D
+0x009000|0x002000=0D
+gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBase|gUefiOvmfPkgTokenSpaceGuid.P=
cdOvmfSecGhcbSize=0D
+=0D
+0x00B000|0x001000=0D
+gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaBase|gUefiCpuPkgTokenSpaceGuid.P=
cdSevEsWorkAreaSize=0D
+=0D
+0x010000|0x010000=0D
+gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|gUefiOvmfPkgTokenSpace=
Guid.PcdOvmfSecPeiTempRamSize=0D
+=0D
+0x020000|0x0E0000=0D
+gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.=
PcdOvmfPeiMemFvSize=0D
+FV =3D PEIFV=0D
+=0D
+0x100000|0xC00000=0D
+gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.=
PcdOvmfDxeMemFvSize=0D
+FV =3D DXEFV=0D
+=0D
+##########################################################################=
######=0D
+=0D
+[FV.SECFV]=0D
+FvNameGuid =3D 763BED0D-DE9F-48F5-81F1-3E90E1B1A015=0D
+BlockSize =3D 0x1000=0D
+FvAlignment =3D 16=0D
+ERASE_POLARITY =3D 1=0D
+MEMORY_MAPPED =3D TRUE=0D
+STICKY_WRITE =3D TRUE=0D
+LOCK_CAP =3D TRUE=0D
+LOCK_STATUS =3D TRUE=0D
+WRITE_DISABLED_CAP =3D TRUE=0D
+WRITE_ENABLED_CAP =3D TRUE=0D
+WRITE_STATUS =3D TRUE=0D
+WRITE_LOCK_CAP =3D TRUE=0D
+WRITE_LOCK_STATUS =3D TRUE=0D
+READ_DISABLED_CAP =3D TRUE=0D
+READ_ENABLED_CAP =3D TRUE=0D
+READ_STATUS =3D TRUE=0D
+READ_LOCK_CAP =3D TRUE=0D
+READ_LOCK_STATUS =3D TRUE=0D
+=0D
+#=0D
+# SEC Phase modules=0D
+#=0D
+# The code in this FV handles the initial firmware startup, and=0D
+# decompresses the PEI and DXE FVs which handles the rest of the boot sequ=
ence.=0D
+#=0D
+INF OvmfPkg/Sec/SecMain.inf=0D
+=0D
+INF RuleOverride=3DRESET_VECTOR OvmfPkg/ResetVector/ResetVector.inf=0D
+=0D
+##########################################################################=
######=0D
+[FV.PEIFV]=0D
+FvNameGuid =3D 6938079B-B503-4E3D-9D24-B28337A25806=0D
+BlockSize =3D 0x10000=0D
+FvAlignment =3D 16=0D
+ERASE_POLARITY =3D 1=0D
+MEMORY_MAPPED =3D TRUE=0D
+STICKY_WRITE =3D TRUE=0D
+LOCK_CAP =3D TRUE=0D
+LOCK_STATUS =3D TRUE=0D
+WRITE_DISABLED_CAP =3D TRUE=0D
+WRITE_ENABLED_CAP =3D TRUE=0D
+WRITE_STATUS =3D TRUE=0D
+WRITE_LOCK_CAP =3D TRUE=0D
+WRITE_LOCK_STATUS =3D TRUE=0D
+READ_DISABLED_CAP =3D TRUE=0D
+READ_ENABLED_CAP =3D TRUE=0D
+READ_STATUS =3D TRUE=0D
+READ_LOCK_CAP =3D TRUE=0D
+READ_LOCK_STATUS =3D TRUE=0D
+=0D
+APRIORI PEI {=0D
+ INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf=0D
+}=0D
+=0D
+#=0D
+# PEI Phase modules=0D
+#=0D
+INF MdeModulePkg/Core/Pei/PeiMain.inf=0D
+INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf=0D
+INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRou=
terPei.inf=0D
+INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf=
=0D
+INF OvmfPkg/PlatformPei/PlatformPei.inf=0D
+INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf=0D
+INF UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf=0D
+!if $(SMM_REQUIRE) =3D=3D TRUE=0D
+INF MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.in=
f=0D
+INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf=0D
+INF OvmfPkg/SmmAccess/SmmAccessPei.inf=0D
+!endif=0D
+INF UefiCpuPkg/CpuMpPei/CpuMpPei.inf=0D
+=0D
+!if $(TPM_ENABLE) =3D=3D TRUE=0D
+INF OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf=0D
+INF SecurityPkg/Tcg/TcgPei/TcgPei.inf=0D
+INF SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf=0D
+!endif=0D
+=0D
+##########################################################################=
######=0D
+=0D
+[FV.DXEFV]=0D
+FvForceRebase =3D FALSE=0D
+FvNameGuid =3D 7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1=0D
+BlockSize =3D 0x10000=0D
+FvAlignment =3D 16=0D
+ERASE_POLARITY =3D 1=0D
+MEMORY_MAPPED =3D TRUE=0D
+STICKY_WRITE =3D TRUE=0D
+LOCK_CAP =3D TRUE=0D
+LOCK_STATUS =3D TRUE=0D
+WRITE_DISABLED_CAP =3D TRUE=0D
+WRITE_ENABLED_CAP =3D TRUE=0D
+WRITE_STATUS =3D TRUE=0D
+WRITE_LOCK_CAP =3D TRUE=0D
+WRITE_LOCK_STATUS =3D TRUE=0D
+READ_DISABLED_CAP =3D TRUE=0D
+READ_ENABLED_CAP =3D TRUE=0D
+READ_STATUS =3D TRUE=0D
+READ_LOCK_CAP =3D TRUE=0D
+READ_LOCK_STATUS =3D TRUE=0D
+=0D
+APRIORI DXE {=0D
+ INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf=0D
+ INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf=0D
+ INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf=0D
+!if $(SMM_REQUIRE) =3D=3D FALSE=0D
+ INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf=0D
+!endif=0D
+}=0D
+=0D
+#=0D
+# DXE Phase modules=0D
+#=0D
+INF MdeModulePkg/Core/Dxe/DxeMain.inf=0D
+=0D
+INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatus=
CodeRouterRuntimeDxe.inf=0D
+INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandler=
RuntimeDxe.inf=0D
+INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf=0D
+=0D
+INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf=0D
+INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf=0D
+INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf=0D
+INF OvmfPkg/8259InterruptControllerDxe/8259.inf=0D
+INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf=0D
+INF UefiCpuPkg/CpuDxe/CpuDxe.inf=0D
+INF OvmfPkg/8254TimerDxe/8254Timer.inf=0D
+INF OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.=
inf=0D
+INF OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf=0D
+INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf=0D
+INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf=0D
+INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.in=
f=0D
+INF MdeModulePkg/Universal/Metronome/Metronome.inf=0D
+INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDx=
e.inf=0D
+=0D
+INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf=0D
+INF OvmfPkg/Virtio10Dxe/Virtio10.inf=0D
+INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf=0D
+INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf=0D
+INF OvmfPkg/VirtioRngDxe/VirtioRng.inf=0D
+INF OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf=0D
+INF OvmfPkg/XenBusDxe/XenBusDxe.inf=0D
+INF OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf=0D
+!if $(PVSCSI_ENABLE) =3D=3D TRUE=0D
+INF OvmfPkg/PvScsiDxe/PvScsiDxe.inf=0D
+!endif=0D
+!if $(MPT_SCSI_ENABLE) =3D=3D TRUE=0D
+INF OvmfPkg/MptScsiDxe/MptScsiDxe.inf=0D
+!endif=0D
+!if $(LSI_SCSI_ENABLE) =3D=3D TRUE=0D
+INF OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf=0D
+!endif=0D
+=0D
+!if $(SECURE_BOOT_ENABLE) =3D=3D TRUE=0D
+ INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootCon=
figDxe.inf=0D
+!endif=0D
+=0D
+INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf=0D
+INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRun=
timeDxe.inf=0D
+INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf=0D
+INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf=0D
+INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf=0D
+INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.=
inf=0D
+INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf=0D
+INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.=
inf=0D
+INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf=0D
+INF MdeModulePkg/Application/UiApp/UiApp.inf=0D
+INF OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf=0D
+INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf=0D
+INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf=0D
+INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf=0D
+INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf=0D
+INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf=0D
+INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.in=
f=0D
+INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf=0D
+INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf=0D
+INF OvmfPkg/SataControllerDxe/SataControllerDxe.inf=0D
+INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf=0D
+INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf=0D
+INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf=0D
+INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf=0D
+INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf=0D
+INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf=0D
+INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe=
.inf=0D
+=0D
+INF OvmfPkg/SioBusDxe/SioBusDxe.inf=0D
+!if $(SOURCE_DEBUG_ENABLE) =3D=3D FALSE=0D
+INF MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf=0D
+!endif=0D
+INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf=0D
+=0D
+INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf=0D
+INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf=0D
+=0D
+INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf=0D
+INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf=0D
+INF RuleOverride=3DACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf=0D
+INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf=0D
+INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorD=
xe.inf=0D
+INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphics=
ResourceTableDxe.inf=0D
+=0D
+INF FatPkg/EnhancedFatDxe/Fat.inf=0D
+INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf=0D
+=0D
+!if $(TOOL_CHAIN_TAG) !=3D "XCODE5"=0D
+INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf=0D
+INF ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf=0D
+INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand=
.inf=0D
+!endif=0D
+INF ShellPkg/Application/Shell/Shell.inf=0D
+=0D
+INF MdeModulePkg/Logo/LogoDxe.inf=0D
+=0D
+#=0D
+# Network modules=0D
+#=0D
+!if $(E1000_ENABLE)=0D
+ FILE DRIVER =3D 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {=0D
+ SECTION PE32 =3D Intel3.5/EFIX64/E3522X2.EFI=0D
+ }=0D
+!endif=0D
+!include NetworkPkg/Network.fdf.inc=0D
+ INF OvmfPkg/VirtioNetDxe/VirtioNet.inf=0D
+=0D
+#=0D
+# Usb Support=0D
+#=0D
+INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf=0D
+INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf=0D
+INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf=0D
+INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf=0D
+INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf=0D
+INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf=0D
+=0D
+!ifdef $(CSM_ENABLE)=0D
+INF OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf=0D
+INF OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf=0D
+INF RuleOverride=3DCSM OvmfPkg/Csm/Csm16/Csm16.inf=0D
+!else=0D
+INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf=0D
+!endif=0D
+=0D
+INF OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf=0D
+INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf=0D
+INF OvmfPkg/PlatformDxe/Platform.inf=0D
+INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf=0D
+INF OvmfPkg/IoMmuDxe/IoMmuDxe.inf=0D
+=0D
+!if $(SMM_REQUIRE) =3D=3D TRUE=0D
+INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf=0D
+INF OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf=0D
+INF OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf=0D
+INF MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf=0D
+INF MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf=0D
+INF OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf=0D
+INF UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf=0D
+INF MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf=0D
+INF UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf=0D
+=0D
+#=0D
+# Variable driver stack (SMM)=0D
+#=0D
+INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf=0D
+INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.in=
f=0D
+INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf=0D
+INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf=
=0D
+=0D
+!else=0D
+=0D
+#=0D
+# Variable driver stack (non-SMM)=0D
+#=0D
+INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf=0D
+INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf=0D
+INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.in=
f=0D
+INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf=0D
+!endif=0D
+=0D
+#=0D
+# TPM support=0D
+#=0D
+!if $(TPM_ENABLE) =3D=3D TRUE=0D
+INF SecurityPkg/Tcg/TcgDxe/TcgDxe.inf=0D
+INF SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf=0D
+!if $(TPM_CONFIG_ENABLE) =3D=3D TRUE=0D
+INF SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf=0D
+!endif=0D
+!endif=0D
+=0D
+##########################################################################=
######=0D
+=0D
+[FV.FVMAIN_COMPACT]=0D
+FvNameGuid =3D 48DB5E17-707C-472D-91CD-1613E7EF51B0=0D
+FvAlignment =3D 16=0D
+ERASE_POLARITY =3D 1=0D
+MEMORY_MAPPED =3D TRUE=0D
+STICKY_WRITE =3D TRUE=0D
+LOCK_CAP =3D TRUE=0D
+LOCK_STATUS =3D TRUE=0D
+WRITE_DISABLED_CAP =3D TRUE=0D
+WRITE_ENABLED_CAP =3D TRUE=0D
+WRITE_STATUS =3D TRUE=0D
+WRITE_LOCK_CAP =3D TRUE=0D
+WRITE_LOCK_STATUS =3D TRUE=0D
+READ_DISABLED_CAP =3D TRUE=0D
+READ_ENABLED_CAP =3D TRUE=0D
+READ_STATUS =3D TRUE=0D
+READ_LOCK_CAP =3D TRUE=0D
+READ_LOCK_STATUS =3D TRUE=0D
+=0D
+FILE FV_IMAGE =3D 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {=0D
+ SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED=
=3D TRUE {=0D
+ #=0D
+ # These firmware volumes will have files placed in them uncompressed,=
=0D
+ # and then both firmware volumes will be compressed in a single=0D
+ # compression operation in order to achieve better overall compressio=
n.=0D
+ #=0D
+ SECTION FV_IMAGE =3D PEIFV=0D
+ SECTION FV_IMAGE =3D DXEFV=0D
+ }=0D
+ }=0D
+=0D
+!include OvmfPkg/FvmainCompactScratchEnd.fdf.inc=0D
+=0D
+##########################################################################=
######=0D
+=0D
+[Rule.Common.SEC]=0D
+ FILE SEC =3D $(NAMED_GUID) {=0D
+ PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi=0D
+ UI STRING =3D"$(MODULE_NAME)" Optional=0D
+ VERSION STRING =3D"$(INF_VERSION)" Optional BUILD_NUM=3D$(BUILD_NUMBE=
R)=0D
+ }=0D
+=0D
+[Rule.Common.PEI_CORE]=0D
+ FILE PEI_CORE =3D $(NAMED_GUID) {=0D
+ PE32 PE32 Align=3DAuto $(INF_OUTPUT)/$(MODULE_NAME).efi=0D
+ UI STRING =3D"$(MODULE_NAME)" Optional=0D
+ VERSION STRING =3D"$(INF_VERSION)" Optional BUILD_NUM=3D$(BUILD_NUMBE=
R)=0D
+ }=0D
+=0D
+[Rule.Common.PEIM]=0D
+ FILE PEIM =3D $(NAMED_GUID) {=0D
+ PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depe=
x=0D
+ PE32 PE32 Align=3DAuto $(INF_OUTPUT)/$(MODULE_NAME).ef=
i=0D
+ UI STRING=3D"$(MODULE_NAME)" Optional=0D
+ VERSION STRING=3D"$(INF_VERSION)" Optional BUILD_NUM=3D$(BUILD_NUMBE=
R)=0D
+ }=0D
+=0D
+[Rule.Common.DXE_CORE]=0D
+ FILE DXE_CORE =3D $(NAMED_GUID) {=0D
+ PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi=0D
+ UI STRING=3D"$(MODULE_NAME)" Optional=0D
+ VERSION STRING=3D"$(INF_VERSION)" Optional BUILD_NUM=3D$(BUILD_NUMBER=
)=0D
+ }=0D
+=0D
+[Rule.Common.DXE_DRIVER]=0D
+ FILE DRIVER =3D $(NAMED_GUID) {=0D
+ DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depe=
x=0D
+ PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi=0D
+ UI STRING=3D"$(MODULE_NAME)" Optional=0D
+ VERSION STRING=3D"$(INF_VERSION)" Optional BUILD_NUM=3D$(BUILD_NUMBER=
)=0D
+ RAW ACPI Optional |.acpi=0D
+ RAW ASL Optional |.aml=0D
+ }=0D
+=0D
+[Rule.Common.DXE_RUNTIME_DRIVER]=0D
+ FILE DRIVER =3D $(NAMED_GUID) {=0D
+ DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depe=
x=0D
+ PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi=0D
+ UI STRING=3D"$(MODULE_NAME)" Optional=0D
+ VERSION STRING=3D"$(INF_VERSION)" Optional BUILD_NUM=3D$(BUILD_NUMBER=
)=0D
+ }=0D
+=0D
+[Rule.Common.UEFI_DRIVER]=0D
+ FILE DRIVER =3D $(NAMED_GUID) {=0D
+ DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depe=
x=0D
+ PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi=0D
+ UI STRING=3D"$(MODULE_NAME)" Optional=0D
+ VERSION STRING=3D"$(INF_VERSION)" Optional BUILD_NUM=3D$(BUILD_NUMBER=
)=0D
+ }=0D
+=0D
+[Rule.Common.UEFI_DRIVER.BINARY]=0D
+ FILE DRIVER =3D $(NAMED_GUID) {=0D
+ DXE_DEPEX DXE_DEPEX Optional |.depex=0D
+ PE32 PE32 |.efi=0D
+ UI STRING=3D"$(MODULE_NAME)" Optional=0D
+ VERSION STRING=3D"$(INF_VERSION)" Optional BUILD_NUM=3D$(BUILD_NUMBE=
R)=0D
+ }=0D
+=0D
+[Rule.Common.UEFI_APPLICATION]=0D
+ FILE APPLICATION =3D $(NAMED_GUID) {=0D
+ PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi=0D
+ UI STRING=3D"$(MODULE_NAME)" Optional=0D
+ VERSION STRING=3D"$(INF_VERSION)" Optional BUILD_NUM=3D$(BUILD_NUMBER=
)=0D
+ }=0D
+=0D
+[Rule.Common.UEFI_APPLICATION.BINARY]=0D
+ FILE APPLICATION =3D $(NAMED_GUID) {=0D
+ PE32 PE32 |.efi=0D
+ UI STRING=3D"$(MODULE_NAME)" Optional=0D
+ VERSION STRING=3D"$(INF_VERSION)" Optional BUILD_NUM=3D$(BUILD_NUMBE=
R)=0D
+ }=0D
+=0D
+[Rule.Common.USER_DEFINED.ACPITABLE]=0D
+ FILE FREEFORM =3D $(NAMED_GUID) {=0D
+ RAW ACPI |.acpi=0D
+ RAW ASL |.aml=0D
+ }=0D
+=0D
+[Rule.Common.USER_DEFINED.CSM]=0D
+ FILE FREEFORM =3D $(NAMED_GUID) {=0D
+ RAW BIN |.bin=0D
+ }=0D
+=0D
+[Rule.Common.SEC.RESET_VECTOR]=0D
+ FILE RAW =3D $(NAMED_GUID) {=0D
+ RAW BIN Align =3D 16 |.bin=0D
+ }=0D
+=0D
+[Rule.Common.SMM_CORE]=0D
+ FILE SMM_CORE =3D $(NAMED_GUID) {=0D
+ PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi=0D
+ UI STRING=3D"$(MODULE_NAME)" Optional=0D
+ VERSION STRING=3D"$(INF_VERSION)" Optional BUILD_NUM=3D$(BUILD_NUMBER=
)=0D
+ }=0D
+=0D
+[Rule.Common.DXE_SMM_DRIVER]=0D
+ FILE SMM =3D $(NAMED_GUID) {=0D
+ SMM_DEPEX SMM_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depe=
x=0D
+ PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi=0D
+ UI STRING=3D"$(MODULE_NAME)" Optional=0D
+ VERSION STRING=3D"$(INF_VERSION)" Optional BUILD_NUM=3D$(BUILD_NUMBER=
)=0D
+ }=0D
--=20
2.26.2

Join devel@edk2.groups.io to automatically receive all group messages.