bunnie
bee1f796ee
add rounded rectangle drawing
2021-03-01 01:49:22 +08:00
bunnie
1ee538cda8
clean up test hanzi characters now that we have the planes built in
2021-02-27 15:53:31 +08:00
bunnie
0c20f1dac1
add a test character for hanzi plane
2021-02-27 15:53:10 +08:00
bunnie
2795dc4d8a
creepy Heapless bug cropping up again...this time u32s aren't being stored right
2021-02-27 15:52:40 +08:00
bunnie
838fa25bad
get rid of the awful dummy arg hack and use #used directive to keep font maps in loader
2021-02-27 14:52:21 +08:00
bunnie
d7e1959fed
disintegrated fonts working
2021-02-27 14:35:53 +08:00
bunnie
0dc40f4185
attempt to separate fontmaps and loader out of kernel
2021-02-27 02:12:19 +08:00
bunnie
463e2ad77d
fixup GAM APIs to latest rkyv standard, fix drawable computation
2021-02-26 03:37:48 +08:00
bunnie
5b80b3fb42
get fcc-agent working again
2021-02-23 04:01:01 +08:00
bunnie
6528bc77d4
refactor GAM to use rkyv
2021-02-19 04:02:29 +08:00
bunnie
c5e6391e22
remove mention of Sendable and the ipc.rs module
2021-02-18 02:01:11 +08:00
bunnie
0af72ffb6d
clean up Sendable references and warnings
2021-02-17 23:29:20 +08:00
Sean Cross
14f661f565
xous: remove id field from lend()
...
This argument is no longer used.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:54:08 +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
Sean Cross
6ecc25b7e0
services: keyboard: fix build warnings in lib
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:52:44 +08:00
Sean Cross
7d9fdb9c0d
services: graphics: fix unused import warnings in op
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:52:23 +08:00
Sean Cross
f962be1f3c
services: graphics: text: fix unused import warnings
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:51:59 +08:00
Sean Cross
5979556a2c
services: com: fix warnings in lib
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:51:23 +08:00
Sean Cross
5d59fccbc0
services: graphics: fix warnings in lib
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:51:05 +08:00
Sean Cross
c4fb83b22f
services: com: remove unused imports from main
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:50:12 +08:00
Sean Cross
c820573450
services: com: remove unused imports from api
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:47:07 +08:00
bunnie
b77827f2ed
fix data type for hosted mode
2021-02-17 16:58:46 +08:00
bunnie
8646662804
commit checkpoint for xobs
2021-02-17 16:10:05 +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
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
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
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
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
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
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
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
f1b25e1f1d
add docs on servers
2021-01-21 03:57:52 +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
bunnie
53713baaa6
trying to debug why lend_mut() isn't working
2021-01-20 03:18:13 +08:00
bunnie
f247e557e8
now to the point of testing the general message flow in hosted mode
2021-01-19 18:58:57 +08:00
bunnie
54d299daf8
the other half of the previous commit
2021-01-19 17:10:52 +08:00
bunnie
757812423c
refactor graphics-server api crate organization
2021-01-19 17:10:31 +08:00
bunnie
086a4da862
refactor TextView into graphics-server
2021-01-19 04:54:54 +08:00
bunnie
b72d2f2bb3
refactoring of interfaces
2021-01-19 00:05:33 +08:00
bunnie
73286828c8
more GAM API fleshing out; now to the point of updating a TextView
2021-01-18 04:12:40 +08:00
bunnie
01abbd4f47
more GAM API coming together
2021-01-17 21:58:02 +08:00
bunnie
5701bf4968
add debug attributes back in
2021-01-17 17:02:40 +08:00
bunnie
cc66c3911a
starting to lay out initial framework for the graphical abstraction manager (GAM)
2021-01-17 04:02:08 +08:00
bunnie
72b8d6a3de
add keyboard input emulation in hosted mode
2021-01-13 23:17:09 +08:00
bunnie
36cefdac3c
fixes to get it working in hosted mode
2021-01-13 15:09:53 +08:00
bunnie
8a1991876f
add basic TRNG service
2021-01-13 15:04:14 +08:00
bunnie
18fbd046f6
use git version of blitstr
2021-01-13 04:42:06 +08:00
bunnie
95cbf42cf2
refactor frame buffer to use double buffering
2021-01-13 04:39:04 +08:00
bunnie
2958858a3a
refactor to use UTRA for control registers
2021-01-13 01:17:43 +08:00
bunnie
812fbf5d4f
this patch fixes the previous commit's panic
2021-01-13 00:32:07 +08:00
bunnie
a404e4ae61
this panics with an alignment error (double string) issue #32
2021-01-13 00:27:12 +08:00
bunnie
c848d374c6
roll back the build time notice
...
Turns out the build time only seems to capture the last time
you managed to force a full rebuild (???). Even though cargo
indicates that a rebuild had happened of the main.rs, the environment
variable containing the time is not being updated, because the
build.rs file isn't being run. But! if you force a trigger of
that file, then cargo decides to rebuild *everything* which greatly
increases the build time, which is a drag for development.
So, just remove the build time notice. If it's not going to be
correct, better to not emit it than to be outright misleading...
2021-01-13 00:24:12 +08:00
bunnie
0a3c50f820
add build timestamping/versioning to the Xous log output
2021-01-12 23:30:52 +08:00
bunnie
2eafe825b8
refactor COM to use generic name registrations for event listeners
2021-01-12 18:44:02 +08:00
bunnie
cd4ea5ed17
make the run variant not break
2021-01-12 04:20:37 +08:00
bunnie
426c747f8f
keyboard server basics seem working
2021-01-12 04:13:15 +08:00
bunnie
5cad631569
now it works! changing usize -> u8 did the trick. don't know why. spooky.
2021-01-12 02:08:20 +08:00
bunnie
6a3833ebc7
commit of mysterious tuple-vec problem
2021-01-12 01:37:52 +08:00
bunnie
aeadbfb1b5
fix up keyboard API to use scalars, add demo connection
...
also fix a bunch of other idiomatic weirdnesses
2021-01-12 00:00:57 +08:00
bunnie
f166073954
first draft of keyboard server
2021-01-11 06:11:15 +08:00
bunnie
a8d31cb7e2
update README and add xous-names into renode image
2021-01-09 02:23:01 +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
ab6fa7ae1c
another intermediate checkout
2021-01-07 22:30:26 +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
Sean Cross
147100fa38
graphics-server: minifb: use iterators for drawing the screen
...
This removes the bounds checks that were being performed, and goes for a
pure iterator approach.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-07 20:30:42 +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