diff options
author | Laszlo Ersek <lersek@redhat.com> | 2014-03-04 08:01:49 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-03-04 08:01:49 +0000 |
commit | 14eb7a5be2d6415ca614fb62c28fd165eed3c572 (patch) | |
tree | 0851e165ca3da9838603f326e70592519d327a71 /OvmfPkg/Include | |
parent | 979420df986e0b9ec3fe5cb2a1f72332a42c61c1 (diff) | |
download | edk2-14eb7a5be2d6415ca614fb62c28fd165eed3c572.tar.gz edk2-14eb7a5be2d6415ca614fb62c28fd165eed3c572.tar.bz2 edk2-14eb7a5be2d6415ca614fb62c28fd165eed3c572.zip |
OvmfPkg QemuFwCfgLib: determine if S3 support is explicitly enabled
Such a packaged query function will come in handy in the following
patches.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
[jordan.l.justen@intel.com: check for enabled rather than disabled]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15292 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/Include')
-rw-r--r-- | OvmfPkg/Include/Library/QemuFwCfgLib.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OvmfPkg/Include/Library/QemuFwCfgLib.h b/OvmfPkg/Include/Library/QemuFwCfgLib.h index 2519fc297f..8d3b835d43 100644 --- a/OvmfPkg/Include/Library/QemuFwCfgLib.h +++ b/OvmfPkg/Include/Library/QemuFwCfgLib.h @@ -214,5 +214,19 @@ InternalQemuFwCfgIsAvailable ( VOID
);
+
+/**
+ Determine if S3 support is explicitly enabled.
+
+ @retval TRUE if S3 support is explicitly enabled.
+ FALSE otherwise. This includes unavailability of the firmware
+ configuration interface.
+**/
+BOOLEAN
+EFIAPI
+QemuFwCfgS3Enabled (
+ VOID
+ );
+
#endif
|