]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Include/Library/QemuFwCfgS3Lib.h
ArmVirtPkg, OvmfPkg: retire QemuFwCfgS3Enabled() from QemuFwCfgLib
[mirror_edk2.git] / OvmfPkg / Include / Library / QemuFwCfgS3Lib.h
CommitLineData
f70b071e
LE
1/** @file\r
2 S3 support for QEMU fw_cfg\r
3\r
4 This library class enables driver modules (a) to query whether S3 support was\r
5 enabled on the QEMU command line, (b) to produce fw_cfg DMA operations that\r
6 are to be replayed at S3 resume time.\r
7\r
8 Copyright (C) 2017, Red Hat, Inc.\r
9\r
10 This program and the accompanying materials are licensed and made available\r
11 under the terms and conditions of the BSD License which accompanies this\r
12 distribution. The full text of the license may be found at\r
13 http://opensource.org/licenses/bsd-license.php\r
14\r
15 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
16 WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
17**/\r
18\r
19#ifndef __FW_CFG_S3_LIB__\r
20#define __FW_CFG_S3_LIB__\r
21\r
22/**\r
23 Determine if S3 support is explicitly enabled.\r
24\r
25 @retval TRUE If S3 support is explicitly enabled. Other functions in this\r
26 library may be called (subject to their individual\r
27 restrictions).\r
28\r
29 FALSE Otherwise. This includes unavailability of the firmware\r
30 configuration interface. No other function in this library\r
31 must be called.\r
32**/\r
33BOOLEAN\r
34EFIAPI\r
35QemuFwCfgS3Enabled (\r
36 VOID\r
37 );\r
38\r
39#endif\r