Commit graph

748 commits

Author SHA1 Message Date
Sean Cross
1394e1c7d5 xtask: use hw_pkgs to build renode image
This ensures the renode image has the same set of packages as hardware.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-16 20:25:08 +08:00
bunnie
b803d7d4e9 commit that captures the multiple lend bug 2021-02-16 12:42:11 +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
2a46f541f2 add PID identification facility to help with debugging 2021-02-15 19:15:58 +08:00
bunnie
af012c48dc getting a little further with the port, but still crashing on a borrow message 2021-02-15 04:42:30 +08:00
bunnie
fc8290cdb4 futzing around and something is kind of working on xous-string port to rkyv 2021-02-15 00:05:42 +08:00
bunnie
ed5cdabe40 port COM name registration to use rkyv instead of Sendable 2021-02-13 17:52:50 +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
bunnie
9f79367d1c Merge branch 'hardware-rkyv' into hardware 2021-02-12 01:56:50 +08:00
bunnie
24e7885779 change out hw-image servers for rkyv testing 2021-02-12 01:51:42 +08:00
bunnie
6bbb3f9644 add note about where things got left off 2021-02-10 20:59:14 +08:00
Sean Cross
405469b637 benchmark-target: remove Lookup reference
This private API is no longer used.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-10 15:22:28 +08:00
Sean Cross
4c76bb1a3d emulation: memlcd: fix of-by-one error in redraw
This would cause us to escape the screen under rare circumstances.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-10 15:21:44 +08:00
Sean Cross
6162284d76 xtask: add missing programs to renode_image
These were missing from renode_image but were present in hardware.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-10 15:21:23 +08:00
Sean Cross
7d40c749f0 keyboard: remove internal xous_names API
This API is now private.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-10 15:13:25 +08:00
Sean Cross
704c0f47bf com: don't use internal xous_names register api
This API is now private.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-10 15:03:35 +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
Sean Cross
374e411b74 cargo: use resolver 2 to fix graphics issue
The graphics server has an issue where something upstream is activating
the "std" feature on "log", which prevents us from compiling anything
that includes the "log" crate. Which is everything.

Use resolver "2", which requires Rust 1.51 or newer.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-10 15:00:16 +08:00
Sean Cross
86140dfb35 tools: specify v0.4 for log
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-06 16:36:34 +08:00
Sean Cross
1e17d6402d services: benchmark-target: don't use private Lookup struct
Use a custom struct instead.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-04 10:34:22 +08:00
Sean Cross
3bd32389bf benchmark-target: don't use private Lookup field
This field was made private by the nameserver. Use a dummy structure
instead.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-04 10:32:58 +08:00
Sean Cross
715e76bee0 kernel: allow connection IDs to be u32
In an effort to homogonize platforms, we are moving away from `usize` in
favour of `u32`. Allow the `CID` type to be a `u32` in the kernel by
casting it to a `usize` as necessary.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-04 10:29:12 +08:00
Sean Cross
00ef495b09 cargo: refresh upstream version numbers
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-04 10:28:53 +08:00
Sean Cross
2c2cc7eb9a imports: blitstr: sync with upstream version
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-04 10:28:00 +08:00
Sean Cross
f98c8cc07c xous: make thread IDs u32
This keeps them consistent across platforms.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-01 17:18:24 +08:00
bunnie
9ad83d4873 a bunch for run-of-the-mill system functions in llio implemented 2021-01-28 04:03:30 +08:00
bunnie
7d3ef78f2a about halfway through the API implementation 2021-01-28 02:56:00 +08:00
bunnie
8ed37a0dcb add API framework for LLIO 2021-01-27 13:33:03 +08:00
bunnie
3cd175fb49 support one-off test images in xtask 2021-01-22 16:40:00 +08:00
bunnie
fb10311fbc run some benchmarks on hosted 2021-01-22 04:25:13 +08:00
bunnie
d235218ec3 this version of benchmark works. 2021-01-22 04:19:21 +08:00
bunnie
31e58c3337 add benchmarks. this commit exhibits a mysterious problem with Lookup API 2021-01-22 04:11:02 +08:00
bunnie
53dfda13bf test shell with the usize->u32 changes 2021-01-22 01:36:36 +08:00
bunnie
22ed00f0d8 refactor log-server to remove usize from sendable object 2021-01-22 01:34:36 +08:00
bunnie
4406f73539 remove usize from xous::String structure 2021-01-22 01:33:06 +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
0115f0f656 the great usize extinction event continues: keyboard
btw this is to eliminate "usize" primarily in `structs` that
are `repr(C)`. usize is ok in most other places.
2021-01-22 00:36:24 +08:00
bunnie
75cd321175 great usize extinction event - graphics-server 2021-01-22 00:33:49 +08:00
bunnie
87501444c5 the great usize extinction event: remove usize from blitstr 2021-01-22 00:27:45 +08:00
bunnie
6e6a4f4e20 imports do not require std under bare iron 2021-01-22 00:24:25 +08:00
bunnie
2252d7b324 update README with link to project manager tool 2021-01-21 23:18:50 +08:00
bunnie
a58383209c fix log-server's type 2021-01-21 12:46:24 +08:00
bunnie
8da2601b42 other minor changes 2021-01-21 03:57:57 +08:00
bunnie
f1b25e1f1d add docs on servers 2021-01-21 03:57:52 +08:00
bunnie
b2a2d7b684 helps to comment out the local ref 2021-01-20 16:25:34 +08:00
bunnie
5048356a16 ...and change the pin to the correct repo ref, instead of local 2021-01-20 16:25:12 +08:00
bunnie
cc6992c3df implement "imports" methodology
This commit simplifies managing git-repo hosted dependencies, so
there is a single location for changing the package path.
2021-01-20 16:22:38 +08:00
bunnie
9252455795 fix Gid passing issue to status thread 2021-01-20 14:57:40 +08:00