aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/acpixf.h
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2011-11-16 01:51:01 -0500
committerLen Brown <len.brown@intel.com>2012-01-17 03:36:31 -0500
commit0e243178047c0219b3367dd44f81040826b7ea83 (patch)
treedcf5bbcbfae157a072a94ced21e949fd7de7ba90 /include/acpi/acpixf.h
parenta91cdde20a870bd773d605c764ed211539bf3020 (diff)
ACPI 5.0: New interface, acpi_buffer_to_resource
This interface converts an AML buffer to an internal ACPI_RESOURCE. 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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h
index 726d937ef5b1..5d8df1dfb203 100644
--- a/include/acpi/acpixf.h
+++ b/include/acpi/acpixf.h
@@ -376,6 +376,11 @@ acpi_status
376acpi_resource_to_address64(struct acpi_resource *resource, 376acpi_resource_to_address64(struct acpi_resource *resource,
377 struct acpi_resource_address64 *out); 377 struct acpi_resource_address64 *out);
378 378
379acpi_status
380acpi_buffer_to_resource(u8 *aml_buffer,
381 u16 aml_buffer_length,
382 struct acpi_resource **resource_ptr);
383
379/* 384/*
380 * Hardware (ACPI device) interfaces 385 * Hardware (ACPI device) interfaces
381 */ 386 */