PatchworkOS
966e257
A non-POSIX operating system.
Theme:
Default
Round
Robot
Loading...
Searching...
No Matches
debug.h
Go to the documentation of this file.
1
#pragma once
2
3
typedef
struct
aml_object
aml_object_t
;
4
typedef
struct
aml_term_list_ctx
aml_term_list_ctx_t
;
5
6
/**
7
* @brief Debug Objects Encoding
8
* @defgroup modules_acpi_aml_encoding_debug Debug Objects
9
* @ingroup modules_acpi_aml
10
*
11
* @{
12
*/
13
14
/**
15
* @brief Reads a DebugObj structure from the AML byte stream.
16
*
17
* A DebugObj structure is defined as `DebugObj := DebugOp`.
18
*
19
* DebugObj's are used to output debug information about objects. When a DebugObj is writen to, the source object is
20
* printed to the kernel log. Its just a weird print statement.
21
*
22
* @see Section 19.6.26 of the ACPI specification for more details.
23
*
24
* @param ctx The context of the TermList that this structure is part of.
25
* @return On success, the DebugObj object. On failure, `NULL` and `errno` is set.
26
*/
27
aml_object_t
*
aml_debug_obj_read
(
aml_term_list_ctx_t
* ctx);
28
29
/** @} */
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.
Definition
debug.c:6
aml_object_t
ACPI object.
Definition
object.h:447
aml_term_list_ctx_t
Context for reading a TermList.
Definition
term.h:37
include
modules
acpi
aml
encoding
debug.h
Generated on Mon Dec 15 2025 21:55:53 for PatchworkOS by
1.9.8