diff options
Diffstat (limited to 'include/acpi/actbl.h')
| -rw-r--r-- | include/acpi/actbl.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/acpi/actbl.h b/include/acpi/actbl.h index 13a3d9ad92d..813e4b6c2c0 100644 --- a/include/acpi/actbl.h +++ b/include/acpi/actbl.h | |||
| @@ -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 | */ |
