mirror of https://github.com/acidanthera/audk.git
OvmfPkg/Bhyve/PlatformPei: drop S3Verification()
Drop S3Verification () which is dead code. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
parent
098c557023
commit
9181782c30
|
@ -491,35 +491,6 @@ DebugDumpCmos (
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
|
||||||
S3Verification (
|
|
||||||
VOID
|
|
||||||
)
|
|
||||||
{
|
|
||||||
#if defined (MDE_CPU_X64)
|
|
||||||
if (FeaturePcdGet (PcdSmmSmramRequire) && mS3Supported) {
|
|
||||||
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
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Fetch the number of boot CPUs from QEMU and expose it to UefiCpuPkg modules.
|
Fetch the number of boot CPUs from QEMU and expose it to UefiCpuPkg modules.
|
||||||
Set the mMaxCpuCount variable.
|
Set the mMaxCpuCount variable.
|
||||||
|
|
Loading…
Reference in New Issue