Sound Open Firmware
Loading...
Searching...
No Matches
debug_stream_slot.h File Reference
Include dependency graph for debug_stream_slot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  debug_stream_section_descriptor
struct  debug_stream_slot_hdr
struct  debug_stream_circular_buf

Functions

struct debug_stream_circular_buf __aligned (CONFIG_DCACHE_LINE_SIZE)
__syscall int debug_stream_slot_send_record (struct debug_stream_record *rec)
 Send debug stream records over debug window slot.

Variables

struct debug_stream_section_descriptor __packed
uint32_t next_seqno
uint32_t w_ptr
uint32_t data []

Function Documentation

◆ __aligned()

struct debug_stream_circular_buf __aligned ( CONFIG_DCACHE_LINE_SIZE )

◆ debug_stream_slot_send_record()

__syscall int debug_stream_slot_send_record ( struct debug_stream_record * rec)

Send debug stream records over debug window slot.

Parameters
[in]recthe record to be written to circular buffer

The debug window slot is initialized automatically at DSP boot time, and the core specific circular buffer is selected automatically.

Returns
0 on success -ENODEV if debug stream slot is not configured -ENOMEM if the record is too big

Variable Documentation

◆ __packed

struct debug_stream_slot_hdr __packed

◆ data

uint32_t data[]

◆ next_seqno

uint32_t next_seqno

◆ w_ptr

uint32_t w_ptr