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