mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
rptun: Align command value with rpmsg_virtio_lite
so we can mix rptun and rpmsg_virtio_lite in the same system. Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -51,10 +51,10 @@
|
|||||||
#define RPTUN_NOTIFY_ALL (UINT32_MAX - 0)
|
#define RPTUN_NOTIFY_ALL (UINT32_MAX - 0)
|
||||||
|
|
||||||
#define RPTUN_CMD_DONE 0x0
|
#define RPTUN_CMD_DONE 0x0
|
||||||
#define RPTUN_CMD_RESET 0x1
|
#define RPTUN_CMD_READY 0x1
|
||||||
#define RPTUN_CMD_PANIC 0x2
|
#define RPTUN_CMD_PANIC 0x2
|
||||||
#define RPTUN_CMD_STOP 0x3
|
#define RPTUN_CMD_RESET 0x3
|
||||||
#define RPTUN_CMD_READY 0x4
|
#define RPTUN_CMD_STOP 0x4
|
||||||
#define RPTUN_CMD_ACK 0xffff
|
#define RPTUN_CMD_ACK 0xffff
|
||||||
#define RPTUN_CMD_MASK 0xffff
|
#define RPTUN_CMD_MASK 0xffff
|
||||||
#define RPTUN_CMD_SHIFT 16
|
#define RPTUN_CMD_SHIFT 16
|
||||||
|
|||||||
Reference in New Issue
Block a user