diff options
author | Bob Moore <robert.moore@intel.com> | 2009-07-23 22:56:43 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-08-28 19:40:38 -0400 |
commit | b2deadd53c3630786e73746fb0ad8450f4e015bf (patch) | |
tree | 0115fe383ce81739ddb40a7392a3c9298811bc02 /drivers/acpi/acpica/acnamesp.h | |
parent | 3ce804ed83827a7fd27190836f9421b29ac64512 (diff) |
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.h | 17 |
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 @@ | |||
73 | #define ACPI_NS_WALK_UNLOCK 0x01 | 73 | #define ACPI_NS_WALK_UNLOCK 0x01 |
74 | #define ACPI_NS_WALK_TEMP_NODES 0x02 | 74 | #define ACPI_NS_WALK_TEMP_NODES 0x02 |
75 | 75 | ||
76 | /* Object is not a package element */ | ||
77 | |||
78 | #define ACPI_NOT_PACKAGE_ELEMENT ACPI_UINT32_MAX | ||
79 | |||
80 | /* Always emit warning message, not dependent on node flags */ | ||
81 | |||
82 | #define ACPI_WARN_ALWAYS 0 | ||
83 | |||
76 | /* | 84 | /* |
77 | * nsinit - Namespace initialization | 85 | * nsinit - Namespace initialization |
78 | */ | 86 | */ |
@@ -262,6 +270,15 @@ acpi_ns_get_attached_data(struct acpi_namespace_node *node, | |||
262 | acpi_object_handler handler, void **data); | 270 | acpi_object_handler handler, void **data); |
263 | 271 | ||
264 | /* | 272 | /* |
273 | * nsrepair - return object repair for predefined methods/objects | ||
274 | */ | ||
275 | acpi_status | ||
276 | acpi_ns_repair_object(struct acpi_predefined_data *data, | ||
277 | u32 expected_btypes, | ||
278 | u32 package_index, | ||
279 | union acpi_operand_object **return_object_ptr); | ||
280 | |||
281 | /* | ||
265 | * nssearch - Namespace searching and entry | 282 | * nssearch - Namespace searching and entry |
266 | */ | 283 | */ |
267 | acpi_status | 284 | acpi_status |