13#ifndef SHELL_ADSP_MEMORY_WINDOW_H__
14#define SHELL_ADSP_MEMORY_WINDOW_H__
47#define SHELL_ADSP_MEMORY_WINDOW_DEFINE(_name) \
48 static struct shell_adsp_memory_window _name##_shell_adsp_memory_window;\
49 struct shell_transport _name = { \
50 .api = &shell_adsp_memory_window_transport_api, \
51 .ctx = &_name##_shell_adsp_memory_window, \
void(* shell_transport_handler_t)(enum shell_transport_evt evt, void *context)
Definition shell.h:795
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
Kernel timer structure.
Definition kernel.h:1777
Memwindow based shell transport.
Definition shell_adsp_memory_window.h:28
struct sys_winstream * ws_rx
Receive winstream object.
Definition shell_adsp_memory_window.h:38
void * shell_context
Context registered by shell.
Definition shell_adsp_memory_window.h:35
struct k_timer timer
Definition shell_adsp_memory_window.h:32
shell_transport_handler_t shell_handler
Handler function registered by shell.
Definition shell_adsp_memory_window.h:30
struct sys_winstream * ws_tx
Transmit winstream object.
Definition shell_adsp_memory_window.h:41
uint32_t read_seqno
Last read sequence number.
Definition shell_adsp_memory_window.h:44
Unified shell transport interface.
Definition shell.h:818
Shell instance internals.
Definition shell.h:1063
Lockless shared memory byte stream IPC.
Definition winstream.h:25