summaryrefslogtreecommitdiff
path: root/include/acpi/acpixf.h
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2008-12-30 11:11:57 +0800
committerLen Brown <len.brown@intel.com>2008-12-31 01:14:32 -0500
commitd3fd902d1ed43aebfc407c08d7ce86495604124c (patch)
treeed72421413df5e76518a1945191e62981a923380 /include/acpi/acpixf.h
parent7db5d82d0278b506441ab6025f0c6ce2f2aa3019 (diff)
downloadlwn-d3fd902d1ed43aebfc407c08d7ce86495604124c.tar.gz
lwn-d3fd902d1ed43aebfc407c08d7ce86495604124c.zip
ACPICA: New: acpi_reset interface - write to reset register
Uses the FADT-defined reset register and reset value. Checks the FADT flags for the reset register supported bit. Supports reset register in memory or I/O space, but not in PCI config space since the host has the information to do it. 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/acpixf.h')
-rw-r--r--include/acpi/acpixf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h
index 030aeb556e6b..b3bceadf6f75 100644
--- a/include/acpi/acpixf.h
+++ b/include/acpi/acpixf.h
@@ -322,6 +322,8 @@ acpi_resource_to_address64(struct acpi_resource *resource,
/*
* Hardware (ACPI device) interfaces
*/
+acpi_status acpi_reset(void);
+
acpi_status acpi_get_register(u32 register_id, u32 * return_value);
acpi_status acpi_get_register_unlocked(u32 register_id, u32 *return_value);