aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2011-01-25 20:38:39 +0100
committerErwan Velu <erwanaliasr1@gmail.com>2011-01-25 20:38:39 +0100
commit2cb593ae927a80e856a255c9e484d16038033f62 (patch)
tree5e51ec84d466eb64c81a1ad7d646d86195d12364 /com32/gplinclude
parenta2e75985f250d0c6869e4b65f437c3483236c887 (diff)
downloadsyslinux-2cb593ae927a80e856a255c9e484d16038033f62.tar.gz
syslinux-2cb593ae927a80e856a255c9e484d16038033f62.tar.xz
syslinux-2cb593ae927a80e856a255c9e484d16038033f62.zip
ACPI: On the road to cleaning ;)
Diffstat (limited to 'com32/gplinclude')
-rw-r--r--com32/gplinclude/acpi/dsdt.h2
-rw-r--r--com32/gplinclude/acpi/ecdt.h2
-rw-r--r--com32/gplinclude/acpi/facs.h2
-rw-r--r--com32/gplinclude/acpi/fadt.h10
-rw-r--r--com32/gplinclude/acpi/madt.h2
-rw-r--r--com32/gplinclude/acpi/rsdp.h6
-rw-r--r--com32/gplinclude/acpi/rsdt.h4
-rw-r--r--com32/gplinclude/acpi/sbst.h2
-rw-r--r--com32/gplinclude/acpi/ssdt.h2
-rw-r--r--com32/gplinclude/acpi/xsdt.h4
10 files changed, 18 insertions, 18 deletions
diff --git a/com32/gplinclude/acpi/dsdt.h b/com32/gplinclude/acpi/dsdt.h
index fcb6280d..a90b5ad9 100644
--- a/com32/gplinclude/acpi/dsdt.h
+++ b/com32/gplinclude/acpi/dsdt.h
@@ -18,7 +18,7 @@
#define DSDT "DSDT"
typedef struct {
- uint64_t address;
+ uint8_t *address;
s_acpi_description_header header;
uint8_t *definition_block;
bool valid;
diff --git a/com32/gplinclude/acpi/ecdt.h b/com32/gplinclude/acpi/ecdt.h
index 0f8f3ca4..e2a486a0 100644
--- a/com32/gplinclude/acpi/ecdt.h
+++ b/com32/gplinclude/acpi/ecdt.h
@@ -21,7 +21,7 @@
#define EC_ID_OFFSET 65
typedef struct {
- uint64_t address;
+ uint8_t *address;
s_acpi_description_header header;
bool valid;
uint32_t warning_energy_level;
diff --git a/com32/gplinclude/acpi/facs.h b/com32/gplinclude/acpi/facs.h
index 4435eab4..0601f1f0 100644
--- a/com32/gplinclude/acpi/facs.h
+++ b/com32/gplinclude/acpi/facs.h
@@ -25,7 +25,7 @@
#define OWNED 1<<1
typedef struct {
- uint64_t address;
+ uint8_t *address;
uint8_t signature[4+1];
uint8_t length;
uint32_t hardware_signature;
diff --git a/com32/gplinclude/acpi/fadt.h b/com32/gplinclude/acpi/fadt.h
index 16ee0fa4..e71f2554 100644
--- a/com32/gplinclude/acpi/fadt.h
+++ b/com32/gplinclude/acpi/fadt.h
@@ -61,11 +61,11 @@ enum { PM_UNSPECIFIED = 0,
#define FORCE_APIC_PHYSICAL_DESTINATION_MODE 1<<19
typedef struct {
- uint64_t address;
+ uint8_t *address;
s_acpi_description_header header;
bool valid;
- uint32_t firmware_ctrl;
- uint32_t dsdt_address;
+ uint8_t *firmware_ctrl;
+ uint8_t *dsdt_address;
uint8_t reserved;
uint8_t prefered_pm_profile;
uint16_t sci_int;
@@ -105,8 +105,8 @@ typedef struct {
s_gas reset_reg;
uint8_t reset_value;
uint8_t reserved_3[3];
- uint64_t x_firmware_ctrl;
- uint64_t x_dsdt;
+ uint8_t *x_firmware_ctrl;
+ uint8_t *x_dsdt;
s_gas x_pm1a_evt_blk;
s_gas x_pm1b_evt_blk;
s_gas x_pm1a_cnt_blk;
diff --git a/com32/gplinclude/acpi/madt.h b/com32/gplinclude/acpi/madt.h
index d918a2fa..39c25a70 100644
--- a/com32/gplinclude/acpi/madt.h
+++ b/com32/gplinclude/acpi/madt.h
@@ -129,7 +129,7 @@ typedef struct {
} __attribute__ ((packed)) s_local_sapic;
typedef struct {
- uint64_t address;
+ uint8_t *address;
s_acpi_description_header header;
uint32_t local_apic_address;
uint32_t flags;
diff --git a/com32/gplinclude/acpi/rsdp.h b/com32/gplinclude/acpi/rsdp.h
index 1d8126c1..ea6804f2 100644
--- a/com32/gplinclude/acpi/rsdp.h
+++ b/com32/gplinclude/acpi/rsdp.h
@@ -23,14 +23,14 @@
enum { RSDP_TABLE_FOUND };
typedef struct {
- uint64_t address;
+ uint8_t *address;
uint8_t signature[8 + 1];
uint8_t checksum;
uint8_t oem_id[6 + 1];
uint8_t revision;
- uint32_t rsdt_address;
+ uint8_t *rsdt_address;
uint32_t length;
- uint32_t xsdt_address;
+ uint8_t *xsdt_address;
uint8_t extended_checksum;
bool valid;
} s_rsdp;
diff --git a/com32/gplinclude/acpi/rsdt.h b/com32/gplinclude/acpi/rsdt.h
index c3c198c9..2c9b9e44 100644
--- a/com32/gplinclude/acpi/rsdt.h
+++ b/com32/gplinclude/acpi/rsdt.h
@@ -20,9 +20,9 @@ enum { RSDT_TABLE_FOUND };
#define RSDT "RSDT"
typedef struct {
- uint32_t address;
+ uint8_t *address;
s_acpi_description_header header;
- uint32_t entry[255];
+ uint8_t *entry[255];
uint8_t entry_count;
bool valid;
} s_rsdt;
diff --git a/com32/gplinclude/acpi/sbst.h b/com32/gplinclude/acpi/sbst.h
index 6e3aa104..4ae785b6 100644
--- a/com32/gplinclude/acpi/sbst.h
+++ b/com32/gplinclude/acpi/sbst.h
@@ -18,7 +18,7 @@
#define SBST "SBST"
typedef struct {
- uint64_t address;
+ uint8_t *address;
s_acpi_description_header header;
bool valid;
uint32_t warning_energy_level;
diff --git a/com32/gplinclude/acpi/ssdt.h b/com32/gplinclude/acpi/ssdt.h
index 1ace3661..93eb020e 100644
--- a/com32/gplinclude/acpi/ssdt.h
+++ b/com32/gplinclude/acpi/ssdt.h
@@ -19,7 +19,7 @@
#define PSDT "PSDT"
typedef struct {
- uint64_t address;
+ uint8_t *address;
s_acpi_description_header header;
uint8_t *definition_block;
bool valid;
diff --git a/com32/gplinclude/acpi/xsdt.h b/com32/gplinclude/acpi/xsdt.h
index a87e2a05..4d4ca0c9 100644
--- a/com32/gplinclude/acpi/xsdt.h
+++ b/com32/gplinclude/acpi/xsdt.h
@@ -20,9 +20,9 @@ enum { XSDT_TABLE_FOUND };
#define XSDT "XSDT"
typedef struct {
- uint32_t address;
+ uint8_t *address;
s_acpi_description_header header;
- uint64_t entry[255];
+ uint8_t *entry[255];
uint8_t entry_count;
bool valid;
} s_xsdt;