Commit graph

702 commits

Author SHA1 Message Date
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
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
82e7855b24 add some new error codes
maybe they don't belong here?? they are error codes for
the GAM.
2021-01-19 00:04:55 +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
b6efb15488 add debug trait to xous-string 2021-01-17 17:00:57 +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
4252d047ac add helper script for wishbone gdb 2021-01-13 23:18:30 +08:00
bunnie
72b8d6a3de add keyboard input emulation in hosted mode 2021-01-13 23:17:09 +08:00
Sean Cross
6cf140f2da kernel: riscv: don't print valid page faults
Some page faults are valid, and shouldn't be printed unless they fail.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-13 21:09:40 +08:00
Sean Cross
8d99ee06cf kernel: fix extra-parens warning in syscall
Remove an extra set of parenthesis.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-13 21:09:14 +08:00
Sean Cross
e87eb112ae kernel: debug: fix const warnings
This makes debug a const, which prevents it from getting copied all over
the place.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-13 21:09:05 +08:00
bunnie
4dfb8dec80
Merge pull request #35 from betrusted-io/hardware
Hardware
2021-01-13 15:10:24 +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
41ca6e421b
Merge pull request #33 from betrusted-io/hardware
Hardware
2021-01-13 04:42:43 +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
f5f04a52bb update lockfile for vergen inclusion 2021-01-12 23:31:13 +08:00
bunnie
0a3c50f820 add build timestamping/versioning to the Xous log output 2021-01-12 23:30:52 +08:00
bunnie
3b0d16805b
Merge pull request #31 from betrusted-io/hardware
refactor COM to use generic name registrations for event listeners
2021-01-12 18:46:30 +08:00
bunnie
2eafe825b8 refactor COM to use generic name registrations for event listeners 2021-01-12 18:44:02 +08:00
bunnie
7cf70892c1 Merge branch 'master' of github.com:betrusted-io/xous-core 2021-01-12 04:21:09 +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
fb13768ebe
Add files via upload 2021-01-09 16:01:50 +08:00
bunnie
4a32baf12f fix SVD sample file issues that are breaking CI 2021-01-09 02:38:02 +08:00
bunnie
a8d31cb7e2 update README and add xous-names into renode image 2021-01-09 02:23:01 +08:00
bunnie
7781749371 Merge branch 'master' of github.com:betrusted-io/xous-core 2021-01-09 02:16:18 +08:00
bunnie
ea78de8014 convert all services to use xous-names server 2021-01-09 02:12:01 +08:00
Sean Cross
47e0b85b1b loader: fix kernel text section ownership
The text section of the kernel should be owned by the kernel itself. Due
to a typo, only the last page of the text section was being marked as
owned by the text section.

This marks the remainder of the section as being owned by the kernel.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-08 19:37:15 +08:00
Sean Cross
b71349f142 xtask: remove xous-names from renode image
This snuck in there from another branch.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-08 11:03:33 +08:00
Sean Cross
71dd57f5e0 loader: fix kernel text section ownership
The text section of the kernel should be owned by the kernel itself. Due
to a typo, only the last page of the text section was being marked as
owned by the text section.

This marks the remainder of the section as being owned by the kernel.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-08 11:02:44 +08:00