2 Negotiate SMI features with QEMU, and configure UefiCpuPkg/PiSmmCpuDxeSmm
5 Copyright (C) 2016-2017, Red Hat, Inc.
7 This program and the accompanying materials are licensed and made available
8 under the terms and conditions of the BSD License which accompanies this
9 distribution. The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT
13 WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #ifndef __SMI_FEATURES_H__
17 #define __SMI_FEATURES_H__
19 #include <Protocol/S3SaveState.h>
22 Negotiate SMI features with QEMU.
24 @retval FALSE If SMI feature negotiation is not supported by QEMU. This is
25 not an error, it just means that SaveSmiFeatures() should not
28 @retval TRUE SMI feature negotiation is supported, and it has completed
29 successfully as well. (Failure to negotiate is a fatal error
30 and the function never returns in that case.)
33 NegotiateSmiFeatures (
38 Append a boot script fragment that will re-select the previously negotiated
39 SMI features during S3 resume.
41 @param[in] S3SaveState The EFI_S3_SAVE_STATE_PROTOCOL instance to append to
42 the S3 boot script with.
46 IN EFI_S3_SAVE_STATE_PROTOCOL
*S3SaveState