aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-11-30 20:41:36 +0100
committerErwan Velu <erwan.velu@free.fr>2009-12-04 10:19:00 +0100
commit2390a80f8e5c3a70f4ddc44bd53166fbc1f9f62b (patch)
treef016479f55743143ebefdd71457a4e882049f72f /com32/gplinclude
parent7533ef22b8c3ee2f3a556c223201c6d0ee99d103 (diff)
downloadsyslinux-2390a80f8e5c3a70f4ddc44bd53166fbc1f9f62b.tar.gz
syslinux-2390a80f8e5c3a70f4ddc44bd53166fbc1f9f62b.tar.xz
syslinux-2390a80f8e5c3a70f4ddc44bd53166fbc1f9f62b.zip
acpi: Fixing MADT structures
Impact: Fixing MADT structures Fixing MADT structures
Diffstat (limited to 'com32/gplinclude')
-rw-r--r--com32/gplinclude/acpi/acpi.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/com32/gplinclude/acpi/acpi.h b/com32/gplinclude/acpi/acpi.h
index c93ace2d..979c454d 100644
--- a/com32/gplinclude/acpi/acpi.h
+++ b/com32/gplinclude/acpi/acpi.h
@@ -22,15 +22,16 @@ enum { ACPI_FOUND, ENO_ACPI, MADT_FOUND, ENO_MADT};
#define QWORD(x) (*(const uint64_t *)(x))
typedef struct {
- uint8_t signature[4];
- uint32_t len;
- uint8_t revision;
- uint8_t checksum;
- uint8_t oem_id[6];
- uint8_t oem_table_id[8];
- uint8_t oem_revision[4];
- uint8_t creator_id[4];
- uint8_t creator_revision[4];
+ int8_t signature[4+1];
+ int32_t length;
+ int8_t revision;
+ int8_t checksum;
+ int8_t oem_id[6+1];
+ int8_t oem_table_id[8+1];
+ int32_t oem_revision;
+ int8_t creator_id[4+1];
+ int32_t creator_revision;
+ uint32_t local_apic_address;
} s_madt;
typedef struct {