12#ifndef __SOC_DEBUG_WINDOW_SLOT_H__
13#define __SOC_DEBUG_WINDOW_SLOT_H__
129} __aligned(CONFIG_DCACHE_LINE_SIZE);
141#include <zephyr/syscalls/debug_stream_slot.h>
User-space ABI stream protocol for passing abstract debug data objects to host.
int debug_stream_slot_send_record(struct debug_stream_record *rec)
Send a debug stream record over the memory window debug slot.
Per-core circular buffer layout within a debug stream slot.
Definition debug_stream_slot.h:125
uint32_t data[]
Circular data buffer holding stream records.
Definition debug_stream_slot.h:128
uint32_t next_seqno
Sequence counter of next record to write.
Definition debug_stream_slot.h:126
uint32_t w_ptr
Current write position in 32-bit words.
Definition debug_stream_slot.h:127
Stream preamble header recognized by host debug tools.
Definition debug_stream.h:22
Abstract debug record envelope carrying application-specific payloads.
Definition debug_stream.h:31
Core-specific section descriptor within the debug window slot.
Definition debug_stream_slot.h:104
uint32_t core_id
Reporting DSP core identifier.
Definition debug_stream_slot.h:105
uint32_t buf_words
Circular buffer data capacity in 32-bit words.
Definition debug_stream_slot.h:106
uint32_t offset
Byte offset from slot base (4-byte aligned)
Definition debug_stream_slot.h:107
Preamble header placed at the beginning of Memory Window 2 Debug Slot.
Definition debug_stream_slot.h:114
uint32_t num_sections
Number of active core-specific sections.
Definition debug_stream_slot.h:117
uint32_t total_size
Total size of payload across all core sections.
Definition debug_stream_slot.h:116
struct debug_stream_hdr hdr
Base stream identifier and size.
Definition debug_stream_slot.h:115
struct debug_stream_section_descriptor section_desc[]
Array of per-core section descriptors.
Definition debug_stream_slot.h:118