PatchworkOS
Loading...
Searching...
No Matches
Debug Objects

Debug Objects Encoding. More...

Functions

aml_object_taml_debug_obj_read (aml_term_list_ctx_t *ctx)
 Reads a DebugObj structure from the AML byte stream.
 

Detailed Description

Debug Objects Encoding.

Function Documentation

◆ aml_debug_obj_read()

aml_object_t * aml_debug_obj_read ( aml_term_list_ctx_t ctx)

Reads a DebugObj structure from the AML byte stream.

A DebugObj structure is defined as DebugObj := DebugOp.

DebugObj's are used to output debug information about objects. When a DebugObj is writen to, the source object is printed to the kernel log. Its just a weird print statement.

See also
Section 19.6.26 of the ACPI specification for more details.
Parameters
ctxThe context of the TermList that this structure is part of.
Returns
On success, the DebugObj object. On failure, NULL and errno is set.

Definition at line 6 of file debug.c.

References AML_DEBUG_ERROR, aml_debug_object_set(), AML_DEBUG_OP, aml_object_new(), aml_token_expect(), DEREF, ERR, and NULL.

Referenced by aml_def_object_type_read(), and aml_super_name_read_and_resolve().