diff options
Diffstat (limited to 'chip/mt_scp/ipi_chip.h')
-rw-r--r-- | chip/mt_scp/ipi_chip.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chip/mt_scp/ipi_chip.h b/chip/mt_scp/ipi_chip.h index 1c027b5d04..b6eeddfc87 100644 --- a/chip/mt_scp/ipi_chip.h +++ b/chip/mt_scp/ipi_chip.h @@ -49,6 +49,20 @@ struct ipc_shared_obj { /* Send a IPI contents to AP. */ int ipi_send(int32_t id, void *buf, uint32_t len, int wait); +/* Size of the rpmsg device name, should sync across kernel and EC. */ +#define RPMSG_NAME_SIZE 32 + +/* + * The layout of name service message. + * This should sync across kernel and EC. + */ +struct rpmsg_ns_msg { + /* Name of the corresponding rpmsg_driver. */ + char name[RPMSG_NAME_SIZE]; + /* IPC ID */ + uint32_t id; +}; + /* * IPC Handler. */ |