summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/i386/include/arch/acpi.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/arch/i386/include/arch/acpi.h b/src/arch/i386/include/arch/acpi.h
index 91cc10c109..6967b6fb9d 100644
--- a/src/arch/i386/include/arch/acpi.h
+++ b/src/arch/i386/include/arch/acpi.h
@@ -39,14 +39,14 @@ typedef unsigned long long u64;
/* ACPI 2.0 table RSDP */
typedef struct acpi_rsdp {
- char signature[8]; /* RSDP signature "RSD PTR" */
- u8 checksum; /* checksum of the first 20 bytes */
- char oem_id[6]; /* OEM ID, "LXBIOS" */
- u8 revision; /* 0 for APCI 1.0, 2 for ACPI 2.0 */
- u32 rsdt_address; /* physical address of RSDT */
- u32 length; /* total length of RSDP (including extended part) */
- u64 xsdt_address; /* physical address of XSDT */
- u8 ext_checksum; /* chechsum of whole table */
+ char signature[8];
+ u8 checksum;
+ char oem_id[6];
+ u8 revision;
+ u32 rsdt_address;
+ u32 length;
+ u64 xsdt_address;
+ u8 ext_checksum;
u8 reserved[3];
} __attribute__((packed)) acpi_rsdp_t;
@@ -88,6 +88,7 @@ typedef struct acpi_xsdt {
u64 entry[8];
} __attribute__ ((packed)) acpi_xsdt_t;
+
/* HPET TIMERS */
typedef struct acpi_hpet {
struct acpi_table_header header;