diff options
| author | Andi Kleen <ak@muc.de> | 2002-09-26 19:16:42 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-09-26 19:16:42 -0700 |
| commit | 89196183b5d66a6660208324f0569c6dbcd4c115 (patch) | |
| tree | 9b2f798fb775ae7210cd47d68b3a415172825d1a /include | |
| parent | 39188136a2d1718f924d8e7e838a33e77d353f62 (diff) | |
[PATCH] Minor ACPI changes for x86-64
Make CONFIG_ACPI_SLEEP dependent on software suspend (because suspend
is not working yet on x86-64)
Add support for the HPET tables.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/acpi.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 3cca03f5d6c8..cb30a1c7878a 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -228,6 +228,26 @@ enum acpi_interrupt_id { ACPI_INTERRUPT_COUNT }; +#define ACPI_SPACE_MEM 0 + +struct acpi_gen_regaddr { + u8 space_id; + u8 bit_width; + u8 bit_offset; + u8 resv; + u32 addrl; + u32 addrh; +} __attribute__ ((packed)); + +struct acpi_table_hpet { + struct acpi_table_header header; + u32 id; + struct acpi_gen_regaddr addr; + u8 number; + u16 min_tick; + u8 page_protect; +} __attribute__ ((packed)); + /* * System Resource Affinity Table (SRAT) * see http://www.microsoft.com/hwdev/design/srat.htm @@ -333,6 +353,7 @@ enum acpi_table_id { ACPI_SRAT, ACPI_SSDT, ACPI_SPMI, + ACPI_HPET, ACPI_TABLE_COUNT }; |
