diff options
Diffstat (limited to 'include/acpi/actbl.h')
-rw-r--r-- | include/acpi/actbl.h | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/include/acpi/actbl.h b/include/acpi/actbl.h index 13a3d9ad92db..bf8d4cfd8cf5 100644 --- a/include/acpi/actbl.h +++ b/include/acpi/actbl.h | |||
@@ -245,7 +245,7 @@ struct acpi_table_fadt { | |||
245 | #define ACPI_FADT_POWER_BUTTON (1<<4) /* 04: Power button is handled as a generic feature */ | 245 | #define ACPI_FADT_POWER_BUTTON (1<<4) /* 04: Power button is handled as a generic feature */ |
246 | #define ACPI_FADT_SLEEP_BUTTON (1<<5) /* 05: Sleep button is handled as a generic feature, or not present */ | 246 | #define ACPI_FADT_SLEEP_BUTTON (1<<5) /* 05: Sleep button is handled as a generic feature, or not present */ |
247 | #define ACPI_FADT_FIXED_RTC (1<<6) /* 06: RTC wakeup stat not in fixed register space */ | 247 | #define ACPI_FADT_FIXED_RTC (1<<6) /* 06: RTC wakeup stat not in fixed register space */ |
248 | #define ACPI_FADT_S4_RTC_WAKE (1<<7) /* 07: RTC wakeup stat not possible from S4 */ | 248 | #define ACPI_FADT_S4_RTC_WAKE (1<<7) /* 07: RTC wakeup possible from S4 */ |
249 | #define ACPI_FADT_32BIT_TIMER (1<<8) /* 08: tmr_val is 32 bits 0=24-bits */ | 249 | #define ACPI_FADT_32BIT_TIMER (1<<8) /* 08: tmr_val is 32 bits 0=24-bits */ |
250 | #define ACPI_FADT_DOCKING_SUPPORTED (1<<9) /* 09: Docking supported */ | 250 | #define ACPI_FADT_DOCKING_SUPPORTED (1<<9) /* 09: Docking supported */ |
251 | #define ACPI_FADT_RESET_REGISTER (1<<10) /* 10: System reset via the FADT RESET_REG supported */ | 251 | #define ACPI_FADT_RESET_REGISTER (1<<10) /* 10: System reset via the FADT RESET_REG supported */ |
@@ -288,6 +288,31 @@ enum acpi_prefered_pm_profiles { | |||
288 | 288 | ||
289 | #define ACPI_FADT_OFFSET(f) (u8) ACPI_OFFSET (struct acpi_table_fadt, f) | 289 | #define ACPI_FADT_OFFSET(f) (u8) ACPI_OFFSET (struct acpi_table_fadt, f) |
290 | 290 | ||
291 | union acpi_name_union { | ||
292 | u32 integer; | ||
293 | char ascii[4]; | ||
294 | }; | ||
295 | |||
296 | /* | ||
297 | * Internal ACPI Table Descriptor. One per ACPI table | ||
298 | */ | ||
299 | struct acpi_table_desc { | ||
300 | acpi_physical_address address; | ||
301 | struct acpi_table_header *pointer; | ||
302 | u32 length; /* Length fixed at 32 bits */ | ||
303 | union acpi_name_union signature; | ||
304 | acpi_owner_id owner_id; | ||
305 | u8 flags; | ||
306 | }; | ||
307 | |||
308 | /* Flags for above */ | ||
309 | |||
310 | #define ACPI_TABLE_ORIGIN_UNKNOWN (0) | ||
311 | #define ACPI_TABLE_ORIGIN_MAPPED (1) | ||
312 | #define ACPI_TABLE_ORIGIN_ALLOCATED (2) | ||
313 | #define ACPI_TABLE_ORIGIN_MASK (3) | ||
314 | #define ACPI_TABLE_IS_LOADED (4) | ||
315 | |||
291 | /* | 316 | /* |
292 | * Get the remaining ACPI tables | 317 | * Get the remaining ACPI tables |
293 | */ | 318 | */ |