|
@@ -0,0 +1,39 @@
|
|
1
|
+#ifndef _GPXE_ACPI_H
|
|
2
|
+#define _GPXE_ACPI_H
|
|
3
|
+
|
|
4
|
+/** @file
|
|
5
|
+ *
|
|
6
|
+ * ACPI data structures
|
|
7
|
+ *
|
|
8
|
+ */
|
|
9
|
+
|
|
10
|
+#include <stdint.h>
|
|
11
|
+
|
|
12
|
+/**
|
|
13
|
+ * An ACPI description header
|
|
14
|
+ *
|
|
15
|
+ * This is the structure common to the start of all ACPI system
|
|
16
|
+ * description tables.
|
|
17
|
+ */
|
|
18
|
+struct acpi_description_header {
|
|
19
|
+ /** ACPI signature (4 ASCII characters) */
|
|
20
|
+ char signature[4];
|
|
21
|
+ /** Length of table, in bytes, including header */
|
|
22
|
+ uint32_t length;
|
|
23
|
+ /** ACPI Specification minor version number */
|
|
24
|
+ uint8_t revision;
|
|
25
|
+ /** To make sum of entire table == 0 */
|
|
26
|
+ uint8_t checksum;
|
|
27
|
+ /** OEM identification */
|
|
28
|
+ char oem_id[6];
|
|
29
|
+ /** OEM table identification */
|
|
30
|
+ char oem_table_id[8];
|
|
31
|
+ /** OEM revision number */
|
|
32
|
+ uint32_t oem_revision;
|
|
33
|
+ /** ASL compiler vendor ID */
|
|
34
|
+ char asl_compiler_id[4];
|
|
35
|
+ /** ASL compiler revision number */
|
|
36
|
+ uint32_t asl_compiler_revision;
|
|
37
|
+};
|
|
38
|
+
|
|
39
|
+#endif /* _GPXE_ACPI_H */
|