Commit graph

13 commits

Author SHA1 Message Date
bunnie
aab0bf459c update API to more compliant names 2021-04-01 16:43:22 +08:00
bunnie
dc2519c5ef trying out new API names 2021-04-01 03:47:10 +08:00
bunnie
23ae292e3d found the stupid bug 2021-03-29 05:20:21 +08:00
bunnie
f35d478cf0 attempt to refactor xous_names 2021-03-29 04:35:11 +08:00
Sean Cross
45239c61ef rkyv-test-server: use xous-ipc buffer
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-26 20:25:02 +08:00
Sean Cross
fdce58d06e ipc: convert project to use xous-ipc
This rewrites the entire project so that most runnable projects now use
`xous-ipc` instead of `xous::String` where possible.

This also removes `rkyv` from the list of dependencies in `xous-rs`.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-26 20:22:33 +08:00
Sean Cross
8760de0406 rkyv-test-server: add log_message_send to test Send messages
This uncovered a bug in the kernel where Send messages didn't work.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-26 17:16:21 +08:00
Sean Cross
f58f82a40d rkyv-test-server: support multiple callbacks for one client
There doesn't seem to be a compelling reason to limit clients to just
one callback.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-26 12:42:35 +08:00
Sean Cross
c1fe20c06b services: allow for multiple callbacks
This means we can have multiple clients requesting a callback.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-26 12:41:15 +08:00
Sean Cross
e27db818ef rkyv-test-server: accept any string-like arguments
As long as we can turn an argument into a string, that's good enough for
us.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-26 12:32:42 +08:00
Sean Cross
ff180ca737 rkyv-test-server: add DoubleString api call
This demonstrates how we might use strings in syscalls.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-26 12:15:57 +08:00
Sean Cross
461f5c5f8d rkyv-test-server: buffer: add from_memory_message_mut()
This enables passing data back to the caller by modifying the original
message `offset` field.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-26 12:15:13 +08:00
Sean Cross
fd255d8f53 services: add rkyv-test-client and rkyv-test-server
These servers demonstrate how we might use rkyv in the future.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-25 23:39:35 +08:00