mirror of https://github.com/acidanthera/audk.git
OvmfPkg/PlatformPei: drop S3Verification()
Not needed any more, SMM + 64-bit PEI + S3 suspend works now. Fixed by commits: -8bd2028f9a
("MdeModulePkg: Supporting S3 in 64bit PEI") -6acf72901a
("UefiCpuPkg: Supporting S3 in 64bit PEI") See also https://bugzilla.tianocore.org/show_bug.cgi?id=4195 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
This commit is contained in:
parent
c0bce66068
commit
098c557023
|
@ -230,36 +230,6 @@ ReserveEmuVariableNvStore (
|
|||
ASSERT_RETURN_ERROR (PcdStatus);
|
||||
}
|
||||
|
||||
STATIC
|
||||
VOID
|
||||
S3Verification (
|
||||
IN EFI_HOB_PLATFORM_INFO *PlatformInfoHob
|
||||
)
|
||||
{
|
||||
#if defined (MDE_CPU_X64)
|
||||
if (PlatformInfoHob->SmmSmramRequire && PlatformInfoHob->S3Supported) {
|
||||
DEBUG ((
|
||||
DEBUG_ERROR,
|
||||
"%a: S3Resume2Pei doesn't support X64 PEI + SMM yet.\n",
|
||||
__func__
|
||||
));
|
||||
DEBUG ((
|
||||
DEBUG_ERROR,
|
||||
"%a: Please disable S3 on the QEMU command line (see the README),\n",
|
||||
__func__
|
||||
));
|
||||
DEBUG ((
|
||||
DEBUG_ERROR,
|
||||
"%a: or build OVMF with \"OvmfPkgIa32X64.dsc\".\n",
|
||||
__func__
|
||||
));
|
||||
ASSERT (FALSE);
|
||||
CpuDeadLoop ();
|
||||
}
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
STATIC
|
||||
VOID
|
||||
Q35BoardVerification (
|
||||
|
@ -354,7 +324,6 @@ InitializePlatform (
|
|||
ASSERT_EFI_ERROR (Status);
|
||||
}
|
||||
|
||||
S3Verification (PlatformInfoHob);
|
||||
BootModeInitialization (PlatformInfoHob);
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue