summaryrefslogtreecommitdiff
path: root/com32/gplinclude/acpi/sbst.h
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-12-03 10:14:01 +0100
committerErwan Velu <erwan.velu@free.fr>2009-12-04 10:19:01 +0100
commite680227c469e46d72692200d0e4492714f7e9828 (patch)
treeb0f225e3fd80771dd8faa08c0c73f8bbc461bc85 /com32/gplinclude/acpi/sbst.h
parentf12f222e00aff419437fbb08675654652b53af91 (diff)
downloadsyslinux-e680227c469e46d72692200d0e4492714f7e9828.tar.gz
acpi: Adding SBST
Impact: Adding SBST Adding SBST
Diffstat (limited to 'com32/gplinclude/acpi/sbst.h')
-rw-r--r--com32/gplinclude/acpi/sbst.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/com32/gplinclude/acpi/sbst.h b/com32/gplinclude/acpi/sbst.h
new file mode 100644
index 00000000..6e3aa104
--- /dev/null
+++ b/com32/gplinclude/acpi/sbst.h
@@ -0,0 +1,30 @@
+/* ----------------------------------------------------------------------- *
+ *
+ * Copyright 2009 Erwan Velu - All Rights Reserved
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, Inc., 53 Temple Place Ste 330,
+ * Boston MA 02111-1307, USA; either version 2 of the License, or
+ * (at your option) any later version; incorporated herein by reference.
+ *
+ * ----------------------------------------------------------------------- */
+
+#ifndef SBST_H
+#define SBST_H
+#include <inttypes.h>
+#include <stdbool.h>
+
+#define SBST "SBST"
+
+typedef struct {
+ uint64_t address;
+ s_acpi_description_header header;
+ bool valid;
+ uint32_t warning_energy_level;
+ uint32_t low_energy_level;
+ uint32_t critical_energy_level;
+} s_sbst;
+
+void parse_sbst(s_sbst * sbst);
+#endif