summaryrefslogtreecommitdiff
path: root/com32/gplinclude/acpi/fadt.h
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-12-02 14:54:53 +0100
committerErwan Velu <erwan.velu@free.fr>2009-12-04 10:19:01 +0100
commit5be1b093d9de5daebcdfddd40771a5d20acfe7a3 (patch)
treefb1c3996a54363b54cad336abb2b5e620c897707 /com32/gplinclude/acpi/fadt.h
parent1ae9798fd34903a47f6a136d3e4018c7229b542f (diff)
downloadsyslinux-5be1b093d9de5daebcdfddd40771a5d20acfe7a3.tar.gz
acpi: Adding FADT
Impact: Adding FADT Adding FADT
Diffstat (limited to 'com32/gplinclude/acpi/fadt.h')
-rw-r--r--com32/gplinclude/acpi/fadt.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/com32/gplinclude/acpi/fadt.h b/com32/gplinclude/acpi/fadt.h
new file mode 100644
index 00000000..abc8dd6e
--- /dev/null
+++ b/com32/gplinclude/acpi/fadt.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 FADT_H
+#define FADT_H
+#include <inttypes.h>
+#include <stdbool.h>
+
+enum { FADT_TABLE_FOUND };
+
+typedef struct {
+ uint64_t address;
+ s_acpi_description_header header;
+ bool valid;
+ uint32_t firmware_ctrl;
+ uint32_t dsdt_address;
+ /* To be filled later */
+} s_fadt;
+
+void parse_fadt(s_fadt * fadt);
+#endif