mirror of https://github.com/thesofproject/sof.git
Add IPC new message type and structure for sending DMA trace host offset.
It is used to update DMA trace host offset to kernel for realtime output DMA trace. Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
This commit is contained in:
parent
2a015d0df2
commit
c01584cdba
|
@ -118,6 +118,7 @@
|
|||
|
||||
/* trace and debug */
|
||||
#define SOF_IPC_TRACE_DMA_PARAMS SOF_CMD_TYPE(0x001)
|
||||
#define SOF_IPC_TRACE_DMA_POSITION SOF_CMD_TYPE(0x002)
|
||||
|
||||
/* Get message component id */
|
||||
#define SOF_IPC_MESSAGE_ID(x) (x & 0xffff)
|
||||
|
@ -810,4 +811,10 @@ struct sof_ipc_dma_trace_params {
|
|||
struct sof_ipc_host_buffer buffer;
|
||||
} __attribute__((packed));
|
||||
|
||||
/* DMA for Trace params info - SOF_IPC_DEBUG_DMA_PARAMS */
|
||||
struct sof_ipc_dma_trace_posn {
|
||||
struct sof_ipc_reply rhdr;
|
||||
uint32_t host_offset; /* Offset of DMA host buffer */
|
||||
} __attribute__((packed));
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue