aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-06-23 21:44:06 -0400
committerLen Brown <len.brown@intel.com>2009-08-27 10:17:14 -0400
commitc6b5774caafa4c12b6019366e2fdaaff117e95a4 (patch)
tree04a9439010ba84fd2ab787d6d43dbcebe2020a1e /include/acpi
parentf8d80cdf40fe4d2393159012b38ce9f85a488686 (diff)
ACPICA: Add 64-bit support to acpi_read and acpi_write
Needed by drivers for new ACPi tables. Internal versions of these functions still use 32-bit max transfers, in order to minimize disruption and stack use for the standard ACPI registers (FADT-based). 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')
-rw-r--r--include/acpi/acpixf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h
index 2aecaa5cc06c..b450a195319a 100644
--- a/include/acpi/acpixf.h
+++ b/include/acpi/acpixf.h
@@ -360,9 +360,9 @@ acpi_status acpi_set_firmware_waking_vector(u32 physical_address);
360acpi_status acpi_set_firmware_waking_vector64(u64 physical_address); 360acpi_status acpi_set_firmware_waking_vector64(u64 physical_address);
361#endif 361#endif
362 362
363acpi_status acpi_read(u32 *value, struct acpi_generic_address *reg); 363acpi_status acpi_read(u64 *value, struct acpi_generic_address *reg);
364 364
365acpi_status acpi_write(u32 value, struct acpi_generic_address *reg); 365acpi_status acpi_write(u64 value, struct acpi_generic_address *reg);
366 366
367acpi_status 367acpi_status
368acpi_get_sleep_type_data(u8 sleep_state, u8 * slp_typ_a, u8 * slp_typ_b); 368acpi_get_sleep_type_data(u8 sleep_state, u8 * slp_typ_a, u8 * slp_typ_b);