]>
git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/QemuFwCfgS3Lib/QemuFwCfgS3Base.c
2 Base Null library instance of the QemuFwCfgS3Lib class.
4 This library instance returns constant FALSE from QemuFwCfgS3Enabled(), and
5 all other library functions trigger assertion failures. It is suitable for
6 QEMU targets and machine types that never enable S3.
8 Copyright (C) 2017, Red Hat, Inc.
10 This program and the accompanying materials are licensed and made available
11 under the terms and conditions of the BSD License which accompanies this
12 distribution. The full text of the license may be found at
13 http://opensource.org/licenses/bsd-license.php
15 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT
16 WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 #include <Library/QemuFwCfgS3Lib.h>
22 Determine if S3 support is explicitly enabled.
24 @retval TRUE If S3 support is explicitly enabled. Other functions in this
25 library may be called (subject to their individual
28 FALSE Otherwise. This includes unavailability of the firmware
29 configuration interface. No other function in this library