summaryrefslogtreecommitdiff
path: root/com32/gplinclude/acpi/hpet.h
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2011-01-31 21:24:07 +0100
committerErwan Velu <erwanaliasr1@gmail.com>2011-01-31 21:24:07 +0100
commit7c9a76021519d03f2c6816692b25985509192ddf (patch)
treebccf29aaeedb2ab978c3ddfb6bd2d9b6f238c2ad /com32/gplinclude/acpi/hpet.h
parent52ffd694910222ecde123140dac3b04cabe15f56 (diff)
downloadsyslinux-7c9a76021519d03f2c6816692b25985509192ddf.tar.gz
ACPI: Adding HPET support
Diffstat (limited to 'com32/gplinclude/acpi/hpet.h')
-rw-r--r--com32/gplinclude/acpi/hpet.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/com32/gplinclude/acpi/hpet.h b/com32/gplinclude/acpi/hpet.h
new file mode 100644
index 00000000..99dea6ae
--- /dev/null
+++ b/com32/gplinclude/acpi/hpet.h
@@ -0,0 +1,29 @@
+/* ----------------------------------------------------------------------- *
+ *
+ * Copyright 2009-2011 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 HPET_H
+#define HPET_H
+#include <inttypes.h>
+#include <stdbool.h>
+
+#define HPET "HPET"
+
+enum { HPET_TABLE_FOUND = 1 };
+
+typedef struct {
+ uint64_t *address;
+ s_acpi_description_header header;
+ /* What's inside ? */
+ bool valid;
+} s_hpet;
+
+#endif