xxx_rpmsg_device_created may be called repeatedly. rptun thread app thread rptun_dev_start xxx_rpmsg_init ... rpmsg_register_callback priv->...= rpmsg_ns_unbind; priv->..= rptun_notify_wait; if (ns_unbind_cb) (switch app thread) device_created() xxx_rpmsg_device_created metal_list_add_tail(g_cb); ... rpmsg_device_created(); cb->device_created xxx_rpmsg_device_created; Signed-off-by: yintao <yintao@xiaomi.com> |
||
|---|---|---|
| .. | ||
| rpmsg.h | ||
| rpmsg_ping.h | ||
| rpmsg_virtio.h | ||
| rpmsg_virtio_ivshmem.h | ||