diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2023-05-24 11:11:17 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-05-29 11:19:51 +0000 |
commit | 9181782c305d08bed369410b45f3d2cae9c0a123 (patch) | |
tree | 6e8b1f9a2cd7c1b772530de15c5850cca9c5fd8b /OvmfPkg/Bhyve | |
parent | 098c55702318fd907de6fad7b43b5e9a6ad9ff7f (diff) | |
download | edk2-9181782c305d08bed369410b45f3d2cae9c0a123.tar.gz edk2-9181782c305d08bed369410b45f3d2cae9c0a123.tar.bz2 edk2-9181782c305d08bed369410b45f3d2cae9c0a123.zip |
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>
Diffstat (limited to 'OvmfPkg/Bhyve')
-rw-r--r-- | OvmfPkg/Bhyve/PlatformPei/Platform.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/OvmfPkg/Bhyve/PlatformPei/Platform.c b/OvmfPkg/Bhyve/PlatformPei/Platform.c index 2523e49e36..5bfe435327 100644 --- a/OvmfPkg/Bhyve/PlatformPei/Platform.c +++ b/OvmfPkg/Bhyve/PlatformPei/Platform.c @@ -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.
Set the mMaxCpuCount variable.
|