lkml.org 
[lkml]   [2011]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC 7/8] drivers: introduce rpmsg, a remote-processor messaging bus
Hi!

> @@ -0,0 +1,75 @@
> +What: /sys/bus/rpmsg/devices/.../name
> +Date: June 2011
> +KernelVersion: 3.2
> +Contact: Ohad Ben-Cohen <ohad@wizery.com>
> +Description:
> + Every rpmsg device is a communication channel with a remote
> + processor. Channels are identified with a (textual) name,
> + which is maximum 32 bytes long (defined as RPMSG_NAME_SIZE in
> + rpmsg.h).
> +
> + This sysfs entry contains the name of this channel.
> +
> +What: /sys/bus/rpmsg/devices/.../src
> +Date: June 2011
> +KernelVersion: 3.2
> +Contact: Ohad Ben-Cohen <ohad@wizery.com>
> +Description:
> + Every rpmsg device is a communication channel with a remote
> + processor. Channels have a local ("source") rpmsg address,
> + and remote ("destination") rpmsg address. When an entity
> + starts listening on one end of a channel, it assigns it with
> + a unique rpmsg address (a 32 bits integer). This way when
> + inbound messages arrive to this address, the rpmsg core
> + dispatches them to the listening entity (a kernel driver).
> +
> + This sysfs entry contains the src (local) rpmsg address
> + of this channel. If it contains 0xffffffff, then an address
> + wasn't assigned (can happen if no driver exists for this
> + channel).

So this is basically networking... right? Why not implement it as
sockets? (accept, connect, read, write)?

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


\
 
 \ /
  Last update: 2011-07-19 00:09    [W:0.256 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site