Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296007
b: refs/heads/master
c: 7a18694
h: refs/heads/master
i:
  296005: 0c1ddbf
  296003: 352d29b
  295999: b786845
v: v3
  • Loading branch information
Ohad Ben-Cohen committed Mar 6, 2012
1 parent 04279ad commit 19264e7
Show file tree
Hide file tree
Showing 6 changed files with 261 additions and 229 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 41a6ee09ee8dd7ac3a6ac12a24e26279b5d93385
refs/heads/master: 7a186941626d19f668b08108db158379b32e6e02
9 changes: 6 additions & 3 deletions trunk/Documentation/remoteproc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ platform-specific remoteproc drivers only need to provide a few low-level
handlers, and then all rpmsg drivers will then just work
(for more information about the virtio-based rpmsg bus and its drivers,
please read Documentation/rpmsg.txt).
Registration of other types of virtio devices is now also possible. Firmwares
just need to publish what kind of virtio devices do they support, and then
remoteproc will add those devices. This makes it possible to reuse the
existing virtio drivers with remote processor backends at a minimal development
cost.

2. User API

Expand Down Expand Up @@ -136,8 +141,6 @@ int dummy_rproc_example(struct rproc *my_rproc)
If found, those virtio devices will be created and added, so as a result
of registering this remote processor, additional virtio drivers might get
probed.
Currently, though, we only support a single RPMSG virtio vdev per remote
processor.

int rproc_unregister(struct rproc *rproc)
- Unregister a remote processor, and decrement its refcount.
Expand Down Expand Up @@ -174,7 +177,7 @@ struct rproc_ops {
};

Every remoteproc implementation should at least provide the ->start and ->stop
handlers. If rpmsg functionality is also desired, then the ->kick handler
handlers. If rpmsg/virtio functionality is also desired, then the ->kick handler
should be provided as well.

The ->start() handler takes an rproc handle and should then power on the
Expand Down
Loading

0 comments on commit 19264e7

Please sign in to comment.