PatchworkOS
Loading...
Searching...
No Matches
debug.c File Reference

Go to the source code of this file.

Functions

static void aml_debug_dump_print_line (const uint8_t *start, uint64_t lineStart, uint64_t lineEnd)
 
static void aml_debug_dump (const uint8_t *start, const uint8_t *end, const uint8_t *current)
 
void aml_debug_error (aml_term_list_ctx_t *ctx, const char *function, const char *format,...)
 Log a debug error message with context information.
 

Function Documentation

◆ aml_debug_dump()

static void aml_debug_dump ( const uint8_t start,
const uint8_t end,
const uint8_t current 
)
static

Definition at line 40 of file debug.c.

References aml_debug_dump_print_line(), LOG_ERR, and start().

Referenced by aml_debug_error().

◆ aml_debug_dump_print_line()

static void aml_debug_dump_print_line ( const uint8_t start,
uint64_t  lineStart,
uint64_t  lineEnd 
)
static

Definition at line 7 of file debug.c.

References LOG_ERR, and start().

Referenced by aml_debug_dump().