diff options
author | Bob Moore <robert.moore@intel.com> | 2008-04-10 11:06:36 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-22 14:29:20 -0400 |
commit | 773069d48030e670cf2032a13ddf16a2e0034df3 (patch) | |
tree | 2f45fd7e90600d26c08c641c75059eb0b15d6dcd /include/acpi/acdispat.h | |
parent | 4b119e21d0c66c22e8ca03df05d9de623d0eb50f (diff) |
ACPICA: Several fixes for internal method result stack
fixes STACK_OVERFLOW exception on nested method calls. internal
bugzilla 262 and 275.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acdispat.h')
-rw-r--r-- | include/acpi/acdispat.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/include/acpi/acdispat.h b/include/acpi/acdispat.h index 7f690bb0f02f..70d649e92c41 100644 --- a/include/acpi/acdispat.h +++ b/include/acpi/acdispat.h | |||
@@ -303,7 +303,7 @@ acpi_ds_init_aml_walk(struct acpi_walk_state *walk_state, | |||
303 | u32 aml_length, | 303 | u32 aml_length, |
304 | struct acpi_evaluate_info *info, u8 pass_number); | 304 | struct acpi_evaluate_info *info, u8 pass_number); |
305 | 305 | ||
306 | acpi_status | 306 | void |
307 | acpi_ds_obj_stack_pop_and_delete(u32 pop_count, | 307 | acpi_ds_obj_stack_pop_and_delete(u32 pop_count, |
308 | struct acpi_walk_state *walk_state); | 308 | struct acpi_walk_state *walk_state); |
309 | 309 | ||
@@ -316,21 +316,11 @@ void | |||
316 | acpi_ds_push_walk_state(struct acpi_walk_state *walk_state, | 316 | acpi_ds_push_walk_state(struct acpi_walk_state *walk_state, |
317 | struct acpi_thread_state *thread); | 317 | struct acpi_thread_state *thread); |
318 | 318 | ||
319 | acpi_status acpi_ds_result_stack_pop(struct acpi_walk_state *walk_state); | ||
320 | |||
321 | acpi_status acpi_ds_result_stack_push(struct acpi_walk_state *walk_state); | ||
322 | |||
323 | acpi_status acpi_ds_result_stack_clear(struct acpi_walk_state *walk_state); | 319 | acpi_status acpi_ds_result_stack_clear(struct acpi_walk_state *walk_state); |
324 | 320 | ||
325 | struct acpi_walk_state *acpi_ds_get_current_walk_state(struct acpi_thread_state | 321 | struct acpi_walk_state *acpi_ds_get_current_walk_state(struct acpi_thread_state |
326 | *thread); | 322 | *thread); |
327 | 323 | ||
328 | #ifdef ACPI_FUTURE_USAGE | ||
329 | acpi_status | ||
330 | acpi_ds_result_remove(union acpi_operand_object **object, | ||
331 | u32 index, struct acpi_walk_state *walk_state); | ||
332 | #endif | ||
333 | |||
334 | acpi_status | 324 | acpi_status |
335 | acpi_ds_result_pop(union acpi_operand_object **object, | 325 | acpi_ds_result_pop(union acpi_operand_object **object, |
336 | struct acpi_walk_state *walk_state); | 326 | struct acpi_walk_state *walk_state); |
@@ -339,8 +329,4 @@ acpi_status | |||
339 | acpi_ds_result_push(union acpi_operand_object *object, | 329 | acpi_ds_result_push(union acpi_operand_object *object, |
340 | struct acpi_walk_state *walk_state); | 330 | struct acpi_walk_state *walk_state); |
341 | 331 | ||
342 | acpi_status | ||
343 | acpi_ds_result_pop_from_bottom(union acpi_operand_object **object, | ||
344 | struct acpi_walk_state *walk_state); | ||
345 | |||
346 | #endif /* _ACDISPAT_H_ */ | 332 | #endif /* _ACDISPAT_H_ */ |