aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2011-01-31 22:21:05 +0100
committerErwan Velu <erwanaliasr1@gmail.com>2011-01-31 22:21:05 +0100
commit34c4821049e15b4c2402e908ec4a60f449974ef0 (patch)
tree93fb8166f4156fc0af42ad8e04fb85bc71b456ce /com32/gplinclude
parentdb3b0b8379613fdd32f791000d173e5411775291 (diff)
downloadsyslinux-34c4821049e15b4c2402e908ec4a60f449974ef0.tar.gz
syslinux-34c4821049e15b4c2402e908ec4a60f449974ef0.tar.xz
syslinux-34c4821049e15b4c2402e908ec4a60f449974ef0.zip
ACPI: Adding SLIC support
Diffstat (limited to 'com32/gplinclude')
-rw-r--r--com32/gplinclude/acpi/acpi.h3
-rw-r--r--com32/gplinclude/acpi/slic.h29
2 files changed, 32 insertions, 0 deletions
diff --git a/com32/gplinclude/acpi/acpi.h b/com32/gplinclude/acpi/acpi.h
index 81268097..3884762e 100644
--- a/com32/gplinclude/acpi/acpi.h
+++ b/com32/gplinclude/acpi/acpi.h
@@ -34,6 +34,7 @@ void dbg_printf(const char *fmt, ...);
#include <acpi/hpet.h>
#include <acpi/tcpa.h>
#include <acpi/mcfg.h>
+#include <acpi/slic.h>
enum { ACPI_FOUND = 1, ENO_ACPI = 2 , MADT_FOUND = 3 , ENO_MADT = 4 };
@@ -61,6 +62,7 @@ enum { ACPI_FOUND = 1, ENO_ACPI = 2 , MADT_FOUND = 3 , ENO_MADT = 4 };
#define WDAT "WDAT"
#define WDRT "WDRT"
#define WSPT "WSPT"
+#define SLIC "SLIC"
/* This macro are used to extract ACPI structures
* please be careful about the q (interator) naming */
@@ -82,6 +84,7 @@ typedef struct {
s_hpet hpet;
s_tcpa tcpa;
s_mcfg mcfg;
+ s_slic slic;
} s_acpi;
int parse_acpi(s_acpi * acpi);
diff --git a/com32/gplinclude/acpi/slic.h b/com32/gplinclude/acpi/slic.h
new file mode 100644
index 00000000..2c7627de
--- /dev/null
+++ b/com32/gplinclude/acpi/slic.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 SLIC_H
+#define SLIC_H
+#include <inttypes.h>
+#include <stdbool.h>
+
+#define SLIC "SLIC"
+
+enum { SLIC_TABLE_FOUND = 1 };
+
+typedef struct {
+ uint64_t *address;
+ s_acpi_description_header header;
+ /* What's inside ? */
+ bool valid;
+} s_slic;
+
+#endif