ipc: add msg_id and elems_remaining to ctrl data struct

Add members to enable sending and receiving large messages
and bump abi minor version.

Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
This commit is contained in:
Jaska Uimonen 2019-02-06 09:54:19 +02:00 committed by Liam Girdwood
parent e5cf39ff9c
commit 0c232c86e4
2 changed files with 5 additions and 2 deletions

View File

@ -52,7 +52,7 @@
/** \brief SOF ABI version major, minor and patch numbers */
#define SOF_ABI_MAJOR 3
#define SOF_ABI_MINOR 2
#define SOF_ABI_MINOR 3
#define SOF_ABI_PATCH 0
/** \brief SOF ABI version number. Format within 32bit word is MMmmmppp */

View File

@ -150,9 +150,12 @@ struct sof_ipc_ctrl_data {
/* control data - can either be appended or DMAed from host */
struct sof_ipc_host_buffer buffer;
uint32_t num_elems; /**< in array elems or bytes for data type */
uint32_t elems_remaining; /**< elems remaining if sent in parts */
uint32_t msg_index; /**< index for large messages sent in parts */
/* reserved for future use */
uint32_t reserved[8];
uint32_t reserved[6];
/* control data - add new types if needed */
union {