diff options
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/acconfig.h | 2 | ||||
-rw-r--r-- | include/acpi/aclocal.h | 21 | ||||
-rw-r--r-- | include/acpi/actables.h | 6 | ||||
-rw-r--r-- | include/acpi/actbl.h | 12 |
4 files changed, 25 insertions, 16 deletions
diff --git a/include/acpi/acconfig.h b/include/acpi/acconfig.h index 40f856c0f108..1fea8ae7db6d 100644 --- a/include/acpi/acconfig.h +++ b/include/acpi/acconfig.h | |||
@@ -63,7 +63,7 @@ | |||
63 | 63 | ||
64 | /* Current ACPICA subsystem version in YYYYMMDD format */ | 64 | /* Current ACPICA subsystem version in YYYYMMDD format */ |
65 | 65 | ||
66 | #define ACPI_CA_VERSION 0x20060823 | 66 | #define ACPI_CA_VERSION 0x20060828 |
67 | 67 | ||
68 | /* | 68 | /* |
69 | * OS name, used for the _OS object. The _OS object is essentially obsolete, | 69 | * OS name, used for the _OS object. The _OS object is essentially obsolete, |
diff --git a/include/acpi/aclocal.h b/include/acpi/aclocal.h index 0f12fecba637..a870484eaa03 100644 --- a/include/acpi/aclocal.h +++ b/include/acpi/aclocal.h | |||
@@ -227,6 +227,16 @@ struct acpi_table_desc { | |||
227 | u8 flags; | 227 | u8 flags; |
228 | }; | 228 | }; |
229 | 229 | ||
230 | /* Flags for above */ | ||
231 | |||
232 | #define ACPI_TABLE_ORIGIN_UNKNOWN (0) | ||
233 | #define ACPI_TABLE_ORIGIN_MAPPED (1) | ||
234 | #define ACPI_TABLE_ORIGIN_ALLOCATED (2) | ||
235 | #define ACPI_TABLE_ORIGIN_MASK (3) | ||
236 | #define ACPI_TABLE_IS_LOADED (4) | ||
237 | |||
238 | /* One internal RSDT for table management */ | ||
239 | |||
230 | struct acpi_internal_rsdt { | 240 | struct acpi_internal_rsdt { |
231 | struct acpi_table_desc *tables; | 241 | struct acpi_table_desc *tables; |
232 | u32 count; | 242 | u32 count; |
@@ -234,14 +244,11 @@ struct acpi_internal_rsdt { | |||
234 | u8 flags; | 244 | u8 flags; |
235 | }; | 245 | }; |
236 | 246 | ||
237 | /* Flags for both structs above */ | 247 | /* Flags for above */ |
238 | 248 | ||
239 | #define ACPI_TABLE_ORIGIN_UNKNOWN (0) | 249 | #define ACPI_ROOT_ORIGIN_UNKNOWN (0) /* ~ORIGIN_ALLOCATED */ |
240 | #define ACPI_TABLE_ORIGIN_MAPPED (1) | 250 | #define ACPI_ROOT_ORIGIN_ALLOCATED (1) |
241 | #define ACPI_TABLE_ORIGIN_ALLOCATED (2) | 251 | #define ACPI_ROOT_ALLOW_RESIZE (2) |
242 | #define ACPI_TABLE_ORIGIN_MASK (3) | ||
243 | #define ACPI_TABLE_FLAGS_LOADED (4) | ||
244 | #define ACPI_TABLE_FLAGS_ALLOW_RESIZE (8) | ||
245 | 252 | ||
246 | /* Predefined (fixed) table indexes */ | 253 | /* Predefined (fixed) table indexes */ |
247 | 254 | ||
diff --git a/include/acpi/actables.h b/include/acpi/actables.h index 1737a2f045f6..9183de1a10f2 100644 --- a/include/acpi/actables.h +++ b/include/acpi/actables.h | |||
@@ -94,9 +94,11 @@ acpi_tb_print_table_header(acpi_physical_address address, | |||
94 | 94 | ||
95 | u8 acpi_tb_checksum(u8 * buffer, acpi_native_uint length); | 95 | u8 acpi_tb_checksum(u8 * buffer, acpi_native_uint length); |
96 | 96 | ||
97 | void acpi_tb_convert_fadt(struct acpi_table_fadt *fadt); | 97 | acpi_status |
98 | acpi_tb_verify_checksum(struct acpi_table_header *table, u32 length); | ||
98 | 99 | ||
99 | acpi_status acpi_tb_parse_root_table(struct acpi_table_rsdp *rsdp, u8 flags); | 100 | acpi_status |
101 | acpi_tb_parse_root_table(acpi_physical_address rsdp_address, u8 flags); | ||
100 | 102 | ||
101 | void *acpi_tb_map(acpi_physical_address address, u32 length, u32 flags); | 103 | void *acpi_tb_map(acpi_physical_address address, u32 length, u32 flags); |
102 | 104 | ||
diff --git a/include/acpi/actbl.h b/include/acpi/actbl.h index b455f540a165..c55939e344a0 100644 --- a/include/acpi/actbl.h +++ b/include/acpi/actbl.h | |||
@@ -199,8 +199,8 @@ struct acpi_table_fadt { | |||
199 | u32 pm1b_control_block; /* Port address of Power Mgt 1b Control Reg Blk */ | 199 | u32 pm1b_control_block; /* Port address of Power Mgt 1b Control Reg Blk */ |
200 | u32 pm2_control_block; /* Port address of Power Mgt 2 Control Reg Blk */ | 200 | u32 pm2_control_block; /* Port address of Power Mgt 2 Control Reg Blk */ |
201 | u32 pm_timer_block; /* Port address of Power Mgt Timer Ctrl Reg Blk */ | 201 | u32 pm_timer_block; /* Port address of Power Mgt Timer Ctrl Reg Blk */ |
202 | u32 gpe0_block; /* Port addr of General Purpose acpi_event 0 Reg Blk */ | 202 | u32 gpe0_block; /* Port addr of General Purpose Event 0 Reg Blk */ |
203 | u32 gpe1_block; /* Port addr of General Purpose acpi_event 1 Reg Blk */ | 203 | u32 gpe1_block; /* Port addr of General Purpose Event 1 Reg Blk */ |
204 | u8 pm1_event_length; /* Byte Length of ports at pm1_x_evt_blk */ | 204 | u8 pm1_event_length; /* Byte Length of ports at pm1_x_evt_blk */ |
205 | u8 pm1_control_length; /* Byte Length of ports at pm1_x_cnt_blk */ | 205 | u8 pm1_control_length; /* Byte Length of ports at pm1_x_cnt_blk */ |
206 | u8 pm2_control_length; /* Byte Length of ports at pm2_cnt_blk */ | 206 | u8 pm2_control_length; /* Byte Length of ports at pm2_cnt_blk */ |
@@ -226,14 +226,14 @@ struct acpi_table_fadt { | |||
226 | u8 reserved4[3]; /* These three bytes must be zero */ | 226 | u8 reserved4[3]; /* These three bytes must be zero */ |
227 | u64 Xfacs; /* 64-bit physical address of FACS */ | 227 | u64 Xfacs; /* 64-bit physical address of FACS */ |
228 | u64 Xdsdt; /* 64-bit physical address of DSDT */ | 228 | u64 Xdsdt; /* 64-bit physical address of DSDT */ |
229 | struct acpi_generic_address xpm1a_event_block; /* Extended Power Mgt 1a acpi_event Reg Blk address */ | 229 | struct acpi_generic_address xpm1a_event_block; /* Extended Power Mgt 1a Event Reg Blk address */ |
230 | struct acpi_generic_address xpm1b_event_block; /* Extended Power Mgt 1b acpi_event Reg Blk address */ | 230 | struct acpi_generic_address xpm1b_event_block; /* Extended Power Mgt 1b Event Reg Blk address */ |
231 | struct acpi_generic_address xpm1a_control_block; /* Extended Power Mgt 1a Control Reg Blk address */ | 231 | struct acpi_generic_address xpm1a_control_block; /* Extended Power Mgt 1a Control Reg Blk address */ |
232 | struct acpi_generic_address xpm1b_control_block; /* Extended Power Mgt 1b Control Reg Blk address */ | 232 | struct acpi_generic_address xpm1b_control_block; /* Extended Power Mgt 1b Control Reg Blk address */ |
233 | struct acpi_generic_address xpm2_control_block; /* Extended Power Mgt 2 Control Reg Blk address */ | 233 | struct acpi_generic_address xpm2_control_block; /* Extended Power Mgt 2 Control Reg Blk address */ |
234 | struct acpi_generic_address xpm_timer_block; /* Extended Power Mgt Timer Ctrl Reg Blk address */ | 234 | struct acpi_generic_address xpm_timer_block; /* Extended Power Mgt Timer Ctrl Reg Blk address */ |
235 | struct acpi_generic_address xgpe0_block; /* Extended General Purpose acpi_event 0 Reg Blk address */ | 235 | struct acpi_generic_address xgpe0_block; /* Extended General Purpose Event 0 Reg Blk address */ |
236 | struct acpi_generic_address xgpe1_block; /* Extended General Purpose acpi_event 1 Reg Blk address */ | 236 | struct acpi_generic_address xgpe1_block; /* Extended General Purpose Event 1 Reg Blk address */ |
237 | }; | 237 | }; |
238 | 238 | ||
239 | /* FADT flags */ | 239 | /* FADT flags */ |