android_kernel_xiaomi_sm8450/samples/rpmsg
Bjorn Andersson 2a48d7322d rpmsg: rpmsg_send() operations takes rpmsg_endpoint
The rpmsg_send() operations has been taking a rpmsg_device, but this
forces users of secondary rpmsg_endpoints to use the rpmsg_sendto()
interface - by extracting source and destination from the given data
structures. If we instead pass the rpmsg_endpoint to these functions a
service can use rpmsg_sendto() to respond to messages, even on secondary
endpoints.

In addition this would allow us to support operations on multiple
channels in future backends that does not support off-channel
operations.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2016-09-08 22:15:19 -07:00
..
Makefile samples/rpmsg: add an rpmsg driver sample 2012-02-08 22:54:05 +02:00
rpmsg_client_sample.c rpmsg: rpmsg_send() operations takes rpmsg_endpoint 2016-09-08 22:15:19 -07:00