Commit graph

83 commits

Author SHA1 Message Date
bunnie
f35d478cf0 attempt to refactor xous_names 2021-03-29 04:35:11 +08:00
bunnie
88d66f4fd2 partial refactor but need to switch branches 2021-03-28 19:36:55 +08:00
bunnie
e889765caf refactor the Ticktimer API. 2021-03-28 18:14:41 +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
bunnie
ea8b208a15 finalize rkyv 0.4.1 refactor 2021-03-18 03:54:48 +08:00
bunnie
8fbd900a4c Merge branch 'hardware-no-cb' into rkyv-refactor
Bring the two branches up to date, while also laying the groundwork
for XousServerName to be used as a native index type in xous-names
so we aren't burdening xous::String with a hasher
2021-03-17 16:06:06 +08:00
bunnie
eff3e7d7bf incremental i2c changes 2021-03-16 15:52:13 +08:00
bunnie
d68e3e8cf4 an attempt to refactor to rkyv 0.4.1
unfortunately, it looks like deserialize requires an alloc??
2021-03-16 02:02:53 +08:00
bunnie
16d8438a0d turn off some debugging 2021-03-11 04:12:14 +08:00
bunnie
0cc1f9f5fb it doesn't look that impressive, but there's a lot of plumbing now. 2021-03-06 01:10:18 +08:00
bunnie
9a2bce24cb clean up timing and cosmetic issues on status updates 2021-03-02 21:47:23 +08:00
bunnie
0af72ffb6d clean up Sendable references and warnings 2021-02-17 23:29:20 +08:00
Sean Cross
aabd2d242d services: xous-names: remove buffer import from lib
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:53:33 +08:00
Sean Cross
05f27e4c0e services: xous-names: pass warning when write fails
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:53:09 +08:00
bunnie
2b003f8a7d intermediate checkin 2021-02-16 00:28:44 +08:00
bunnie
07b3dd9afa add PID printout to every service as it starts 2021-02-15 19:16:21 +08:00
bunnie
7e0902344c move XousBuffer to xous-rs 2021-02-13 01:42:31 +08:00
bunnie
05633604d1 remove duplicate buffer.rs file 2021-02-12 19:11:23 +08:00
Sean Cross
8ba7496f64 xous-names: use rkyv to pass messages
This is an experimental method of message passing to allow for mutable
structs.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-10 15:02:48 +08:00
bunnie
da35ecc09c the great usize extinction event: xous-names
replace usize in repr(C) with u32 for xous-names
2021-01-22 00:41:25 +08:00
bunnie
2eafe825b8 refactor COM to use generic name registrations for event listeners 2021-01-12 18:44:02 +08:00
bunnie
f166073954 first draft of keyboard server 2021-01-11 06:11:15 +08:00
bunnie
ea78de8014 convert all services to use xous-names server 2021-01-09 02:12:01 +08:00
bunnie
4ef581a266 riddled with race conditions, but...sort of works 2021-01-08 05:20:53 +08:00
bunnie
95d4f03591 intermediate checkin 2021-01-07 21:53:08 +08:00
Sean Cross
6ccbacf65f loader: assign sections to process ownership
This ensures these addresses aren't re-used and handed out again by
memory allocation.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-07 20:33:21 +08:00
bunnie
323c11f554 commit a version that exhausts the kernel allocation 2021-01-07 16:58:13 +08:00
bunnie
73c4be0457 upgrade name length to 64 characters 2021-01-05 16:53:19 +08:00
bunnie
0d869870ae this code works in hosted mode but fails on hardware 2021-01-05 15:48:51 +08:00
bunnie
ec675eefb4 cleanup warnings 2021-01-05 04:45:23 +08:00
bunnie
bdbe8f8288 intermediate checkin 2021-01-05 04:40:34 +08:00
bunnie
61409bb94c update README on xous-names, and refine the API a bit 2021-01-05 02:28:27 +08:00
bunnie
1075dff559 the name server itself 2021-01-04 23:34:36 +08:00