bunnie
aa8c0e5792
a bit more deck shuffling on the APIs
...
feels a lot cleaner now.
2021-03-04 16:02:42 +08:00
bunnie
92ca22c38c
refactor IME plugin API into a common crate
...
This will allow other APIs to just include the API crate
to define all the gazintas and gozoutas.
2021-03-04 03:14:26 +08:00
bunnie
2b768e9b86
fix warnings in initial API
2021-03-03 23:27:30 +08:00
bunnie
313f12acbb
clean up warnings
2021-03-03 22:38:20 +08:00
bunnie
8f809c2a51
start layering in the IME front end and prediction APIs
2021-03-03 14:53:33 +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
cfa63cb574
integrate latest blitstr (v0.5.0)
2021-02-26 05:01:20 +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
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
7e0902344c
move XousBuffer to xous-rs
2021-02-13 01:42:31 +08:00
bunnie
9f79367d1c
Merge branch 'hardware-rkyv' into hardware
2021-02-12 01:56:50 +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
00ef495b09
cargo: refresh upstream version numbers
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-04 10:28:53 +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
31e58c3337
add benchmarks. this commit exhibits a mysterious problem with Lookup API
2021-01-22 04:11:02 +08:00
bunnie
8da2601b42
other minor changes
2021-01-21 03:57:57 +08:00
bunnie
b2a2d7b684
helps to comment out the local ref
2021-01-20 16:25:34 +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
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
01abbd4f47
more GAM API coming together
2021-01-17 21:58:02 +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
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
f5f04a52bb
update lockfile for vergen inclusion
2021-01-12 23:31:13 +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
ea78de8014
convert all services to use xous-names server
2021-01-09 02:12:01 +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
bdbe8f8288
intermediate checkin
2021-01-05 04:40:34 +08:00
bunnie
cce89395f6
test framework for xous-names
2021-01-04 23:34:18 +08:00
bunnie
b9a31f7d99
try to layer in the fcc agent
2020-12-31 19:31:12 +08:00
bunnie
8d36974a86
add trng-tester crate (just the beginning)
2020-12-14 23:30:58 +08:00
bunnie
fdf3f6860a
ugh fix more CI issues on "run" variant
2020-12-13 02:22:52 +08:00
bunnie
6b39946d31
fix git refs for push to master
2020-12-13 02:10:44 +08:00
bunnie
e1c4b702a9
add WDT support to xous-core
2020-12-13 01:54:25 +08:00
bunnie
bd64323f36
revert to local repo for builds
2020-12-03 01:54:21 +08:00
bunnie
72ed8cd35d
refer to pushed gitref for merge to main
2020-12-03 01:52:20 +08:00
bunnie
c0842517f6
major refactor of the graphics-server API
...
- remove redundant Rect/Rectangle implementations
- refactor Lines and Circles
- add DrawStyle to the message passing regimen
- depracate modal Styles; now every object has a DrawStyle shipped with it
- remove unused/redundant API calls
2020-12-03 01:48:10 +08:00
bunnie
cbf3ffa4a4
refer to the latest blitstr commit ref for public distribution
2020-11-28 02:08:15 +08:00
bunnie
5cd1bf7012
incorporate blitstr for string drawing
2020-11-28 02:05:55 +08:00
Sean Cross
8e2faddd2f
com_rs: use git protocol in Cargo.toml
...
Don't use git submodules, which can be confusing. Instead, use a git
repo in the Cargo.toml file.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-27 09:47:32 +08:00
bunnie
62f8ce32f0
attempt a refactor to add non-blocking battery status checking
...
stuck at trying to receive messages in the main shell in a
non-blocking manner
2020-11-25 19:58:24 +08:00
bunnie
d583e20b18
very basic battery monitoring via COM
2020-11-25 05:11:32 +08:00
bunnie
471befa970
Merge branch 'master' into hardware
2020-11-24 22:46:44 +08:00
bunnie
fa12e513cd
inital take at com
2020-11-24 22:45:10 +08:00
Sean Cross
59b108f0d2
Cargo: update to latest lockfiles
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-24 22:30:40 +08:00
bunnie
710abce418
fixup to latest soc.svd register documentation standard
2020-11-22 03:45:44 +08:00
Sean Cross
8ac141af1b
cargo: commit latest lockfile
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-30 21:28:33 +08:00
Sean Cross
4df3296d99
cargo: commit lockfile
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-30 10:31:37 +08:00
Sean Cross
6225cf11b0
cargo: sync lockfile
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-29 19:48:23 +08:00
bunnie
6e6a8a4b08
debugging ticktimer
2020-10-13 22:49:12 +08:00
bunnie
98f648f30f
attempt to add a ticktimer server
2020-10-12 19:08:16 +08:00
bunnie
9a50de8b4e
refactor: utra -> utralib naming
...
this cleans up some namespace issues when including
the utra crate which also refers to utra::generated::utra,
and there are CONST at the crate-level, and also functions
at the module-level which need disambiguation. By naming
the crate utra-lib this saves a bit of syntatic wrangling
at the top of every file.
2020-10-12 03:56:10 +08:00
Sean Cross
6a872151b2
cargo: commit lockfile including anyhow
...
This is used by `svd2utra`.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-11 09:08:53 +08:00
Sean Cross
a3f6e6ea48
cargo: add svd2utra to lockfile
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 11:38:31 +08:00
Sean Cross
9140482a6b
lock: add missing lockfiles
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 10:52:26 +08:00
Sean Cross
d0d687a239
utra: fix build on non-hardware release
...
This adds svd2utra, which enables building for non-embedded harware.
It also fixes some build issues, and paves the way for generating UTRA
at compile-time.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 10:13:51 +08:00
bunnie
711e5ea910
slot in utra references
2020-10-02 04:52:03 +08:00
Sean Cross
2575d13acd
cargo: update lock file
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-09-23 10:59:38 +08:00
Sean Cross
cdc9cc71d3
Cargo: add graphics-server to cargo manifest
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-30 00:32:14 +08:00
Sean Cross
dfd11f846d
hosted: fix hosted builds
...
We can now run `cargo xtask run` and it will do the right thing.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-18 13:52:43 +08:00
Sean Cross
8920ab57cf
xtask: remove loader, kernel from workspace to fix rebuilds
...
These packages modify RUSTFLAGS, which causes some packages to be
rebuilt every time. Move them out of the workspace so as to ensure they
don't use the same `target` directory.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-18 10:51:29 +08:00
Sean Cross
82c9915ad6
examples: append -server to server names
...
This keeps server names such as "log" and "graphics" as unambiguous.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-17 19:41:50 +08:00
Sean Cross
1991a464bd
core: add Workspace back in
...
The Workspace turns out to be useful, particularly when handled
correctly. This allows for a unification of all packages.
Additionally, since we now are focusing on applications and servers now,
the decision of which packages to build by default becomes clearer.
Finally, we'll be able to use `xbuild` to construct more complex
workflows with a full Workspace.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-17 18:39:33 +08:00
Sean Cross
21aa67b748
workspace: remove workspace
...
The kernel and userspace both need to use `xous`, but have different
requirements. If we use a workspace, then all instances of `xous-rs`
must have the same feature set.
This breaks them apart so the kernel can have one set of features and
programs can have another set.
As part of this change, tests are now integrated into the kernel, and a
new `create_process_as_thread()` and `wait_process_as_thread()` function
pair have been added.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-02 16:11:12 +08:00
Sean Cross
869ebcff8b
kernel: get tests and running working
...
This fixes process creation so that it works for both tests and running
it as a program.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-07-29 22:37:03 +08:00
Sean Cross
039975323e
tests: add tests package
...
This package serves only to build tests for the kernel, because the
kernel wants to use a different mechanism for spawning processes.
Cargo doesn't support having `#[cfg(test)]` attributes on modules in
order to allow conditional compilation depending on whether we're
running a test or not. To work around this, `main.rs` is included in
another dummy crate.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-07-29 21:18:30 +08:00
Sean Cross
e7e8a2b748
kernel: get initial hosted non-test processes working
...
This now has the ability to fork off processes.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-07-29 17:52:01 +08:00
Sean Cross
19222c34a9
kernel: get shutdown and multi-clients working
...
THis now has proper authentication for tests.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-07-28 13:28:14 +08:00
Sean Cross
b9d211af3b
xous: begin adding a create_process() call
...
This will mimic the `create_thread()` call and will obviate our own
process-creation code.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-07-26 10:54:54 +08:00
Sean Cross
bf15ac08f4
kernel: tests: add memory measurement to test suite
...
This adds a feature to enable memory measurement, so we can determine if
we're leaking memory anywhere.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-07-15 17:08:05 +08:00
Sean Cross
723529ba20
wip: working on getting message passing working
...
The goal is to get a basic message passing engine working that will also
function as a device that works on real hardware.
This is still reworking it to function correctly on a desktop system.
Once that is working, it will be reworked to function once again on
hardware.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-06-15 18:13:10 +08:00
Sean Cross
0ad04605ad
cargo: add lazy_static to lockfile
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-06-03 12:07:33 +08:00
Sean Cross
17efc950c8
cargo: add lock file for sha3 implementation
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-16 19:04:46 +08:00
Sean Cross
5ce653882e
log: add log example
...
Note: does not currently log
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-13 20:32:44 +08:00
Sean Cross
09890a2ca3
riscv: use upstream riscv module
...
Still pulling from git, as the version number hasn't been bumped yet.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-11 17:49:03 +08:00
Sean Cross
a1fee3dedf
cargo: add shell and rename tools
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-10 12:46:33 +08:00
Sean Cross
f50ec67553
initial commit
...
This pulls together many disparate repositories into one xous-core
repository.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-10 12:13:05 +08:00