diff options
author | Bob Moore <robert.moore@intel.com> | 2008-12-30 19:06:06 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-31 06:17:09 (GMT) |
commit | 06f5541960d02d5e0ddd8fd5c9a1554d85d94fa9 (patch) | |
tree | 2a86b61dd4e63d6a74450198c13f8c7430be9e69 /include/acpi/actypes.h | |
parent | 1685bd404dc2ecce2fdae6410e85ded2f2c0136d (diff) | |
download | linux-06f5541960d02d5e0ddd8fd5c9a1554d85d94fa9.tar.xz |
ACPICA: FADT parsing changes and fixes
1) Update the register lengths for the PM1 event blocks. The
length must be divided by two in order to use these to access
the status registers.
2) Add run-time option to use default register lengths to override a
faulty FADT.
3) Add warning message if any of the X64 address structures contain a length
that does not match the legacy length earlier in the FADT.
4) Move all FADT warning messages into the ValidateFadt function.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/actypes.h')
-rw-r--r-- | include/acpi/actypes.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index 24b2cef..03744d2 100644 --- a/include/acpi/actypes.h +++ b/include/acpi/actypes.h @@ -309,10 +309,16 @@ typedef u32 acpi_physical_address; * *****************************************************************************/ -/* Number of distinct GPE register blocks and register width */ +/* Number of distinct FADT-based GPE register blocks (GPE0 and GPE1) */ #define ACPI_MAX_GPE_BLOCKS 2 + +/* Default ACPI register widths */ + #define ACPI_GPE_REGISTER_WIDTH 8 +#define ACPI_PM1_REGISTER_WIDTH 16 +#define ACPI_PM2_REGISTER_WIDTH 8 +#define ACPI_PM_TIMER_WIDTH 32 /* Names within the namespace are 4 bytes long */ |