// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 /******************************************************************************* * * Module Name: dbobject - ACPI object decode and display * ******************************************************************************/ #include <acpi/acpi.h> #include "accommon.h" #include "acnamesp.h" #include "acdebug.h" #define _COMPONENT … ACPI_MODULE_NAME("dbobject") /* Local prototypes */ static void acpi_db_decode_node(struct acpi_namespace_node *node); /******************************************************************************* * * FUNCTION: acpi_db_dump_method_info * * PARAMETERS: status - Method execution status * walk_state - Current state of the parse tree walk * * RETURN: None * * DESCRIPTION: Called when a method has been aborted because of an error. * Dumps the method execution stack, and the method locals/args, * and disassembles the AML opcode that failed. * ******************************************************************************/ void acpi_db_dump_method_info(acpi_status status, struct acpi_walk_state *walk_state) { … } /******************************************************************************* * * FUNCTION: acpi_db_decode_internal_object * * PARAMETERS: obj_desc - Object to be displayed * * RETURN: None * * DESCRIPTION: Short display of an internal object. Numbers/Strings/Buffers. * ******************************************************************************/ void acpi_db_decode_internal_object(union acpi_operand_object *obj_desc) { … } /******************************************************************************* * * FUNCTION: acpi_db_decode_node * * PARAMETERS: node - Object to be displayed * * RETURN: None * * DESCRIPTION: Short display of a namespace node * ******************************************************************************/ static void acpi_db_decode_node(struct acpi_namespace_node *node) { … } /******************************************************************************* * * FUNCTION: acpi_db_display_internal_object * * PARAMETERS: obj_desc - Object to be displayed * walk_state - Current walk state * * RETURN: None * * DESCRIPTION: Short display of an internal object * ******************************************************************************/ void acpi_db_display_internal_object(union acpi_operand_object *obj_desc, struct acpi_walk_state *walk_state) { … } /******************************************************************************* * * FUNCTION: acpi_db_decode_locals * * PARAMETERS: walk_state - State for current method * * RETURN: None * * DESCRIPTION: Display all locals for the currently running control method * ******************************************************************************/ void acpi_db_decode_locals(struct acpi_walk_state *walk_state) { … } /******************************************************************************* * * FUNCTION: acpi_db_decode_arguments * * PARAMETERS: walk_state - State for current method * * RETURN: None * * DESCRIPTION: Display all arguments for the currently running control method * ******************************************************************************/ void acpi_db_decode_arguments(struct acpi_walk_state *walk_state) { … }