7#ifndef SHELL_ADSP_MEMORY_WINDOW_H__
8#define SHELL_ADSP_MEMORY_WINDOW_H__
41#define SHELL_ADSP_MEMORY_WINDOW_DEFINE(_name) \
42 static struct shell_adsp_memory_window _name##_shell_adsp_memory_window;\
43 struct shell_transport _name = { \
44 .api = &shell_adsp_memory_window_transport_api, \
45 .ctx = &_name##_shell_adsp_memory_window, \
void(* shell_transport_handler_t)(enum shell_transport_evt evt, void *context)
Definition shell.h:624
const struct shell * shell_backend_adsp_memory_window_get_ptr(void)
This function provides pointer to shell ADSP memory window backend instance.
const struct shell_transport_api shell_adsp_memory_window_transport_api
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Memwindow based shell transport.
Definition shell_adsp_memory_window.h:22
struct sys_winstream * ws_rx
Receive winstream object.
Definition shell_adsp_memory_window.h:32
void * shell_context
Context registered by shell.
Definition shell_adsp_memory_window.h:29
struct k_timer timer
Definition shell_adsp_memory_window.h:26
shell_transport_handler_t shell_handler
Handler function registered by shell.
Definition shell_adsp_memory_window.h:24
struct sys_winstream * ws_tx
Transmit winstream object.
Definition shell_adsp_memory_window.h:35
uint32_t read_seqno
Last read sequence number.
Definition shell_adsp_memory_window.h:38
Unified shell transport interface.
Definition shell.h:646
Shell instance internals.
Definition shell.h:890
Lockless shared memory byte stream IPC.
Definition winstream.h:25