summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/acnamesp.h
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-07-24 04:56:43 +0200
committerLen Brown <len.brown@intel.com>2009-08-29 01:40:38 +0200
commitb2deadd53c3630786e73746fb0ad8450f4e015bf (patch)
tree0115fe383ce81739ddb40a7392a3c9298811bc02 /drivers/acpi/acpica/acnamesp.h
parentACPICA: Update version to 20090625 (diff)
downloadlinux-b2deadd53c3630786e73746fb0ad8450f4e015bf.tar.xz
linux-b2deadd53c3630786e73746fb0ad8450f4e015bf.zip
ACPICA: Move predefined repair code to new file, no functional change
New file is nsrepair.c. This is in preparation for additional errror correcting code. 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 'drivers/acpi/acpica/acnamesp.h')
-rw-r--r--drivers/acpi/acpica/acnamesp.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/acnamesp.h b/drivers/acpi/acpica/acnamesp.h
index a78e02f62d5e..908cfdd3b895 100644
--- a/drivers/acpi/acpica/acnamesp.h
+++ b/drivers/acpi/acpica/acnamesp.h
@@ -73,6 +73,14 @@
#define ACPI_NS_WALK_UNLOCK 0x01
#define ACPI_NS_WALK_TEMP_NODES 0x02
+/* Object is not a package element */
+
+#define ACPI_NOT_PACKAGE_ELEMENT ACPI_UINT32_MAX
+
+/* Always emit warning message, not dependent on node flags */
+
+#define ACPI_WARN_ALWAYS 0
+
/*
* nsinit - Namespace initialization
*/
@@ -262,6 +270,15 @@ acpi_ns_get_attached_data(struct acpi_namespace_node *node,
acpi_object_handler handler, void **data);
/*
+ * nsrepair - return object repair for predefined methods/objects
+ */
+acpi_status
+acpi_ns_repair_object(struct acpi_predefined_data *data,
+ u32 expected_btypes,
+ u32 package_index,
+ union acpi_operand_object **return_object_ptr);
+
+/*
* nssearch - Namespace searching and entry
*/
acpi_status