TianoCore EDK2 master
|
#include <Protocol/S3SaveState.h>
Go to the source code of this file.
Functions | |
BOOLEAN | NegotiateSmiFeatures (VOID) |
VOID | SaveSmiFeatures (VOID) |
Negotiate SMI features with QEMU, and configure UefiCpuPkg/PiSmmCpuDxeSmm accordingly.
Copyright (C) 2016-2017, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file SmiFeatures.h.
BOOLEAN NegotiateSmiFeatures | ( | VOID | ) |
Negotiate SMI features with QEMU.
FALSE | If SMI feature negotiation is not supported by QEMU. This is not an error, it just means that SaveSmiFeatures() should not be called. |
TRUE | SMI feature negotiation is supported, and it has completed successfully as well. (Failure to negotiate is a fatal error and the function never returns in that case.) |
Definition at line 76 of file SmiFeatures.c.
VOID SaveSmiFeatures | ( | VOID | ) |
Append a boot script fragment that will re-select the previously negotiated SMI features during S3 resume.
Definition at line 311 of file SmiFeatures.c.