[sundance] Add reset completion check
[gpxe.git] / src / include / gpxe / acpi.h
blob33b1b2b71761b8b5ef0acd008d5923fb8e62e087
1 #ifndef _GPXE_ACPI_H
2 #define _GPXE_ACPI_H
4 /** @file
6 * ACPI data structures
8 */
10 #include <stdint.h>
12 /**
13 * An ACPI description header
15 * This is the structure common to the start of all ACPI system
16 * description tables.
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 } __attribute__ (( packed ));
39 extern void acpi_fix_checksum ( struct acpi_description_header *acpi );
41 #endif /* _GPXE_ACPI_H */