Sean Cross
657604a199
kernel: test: use as_ptr() for memory messages
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 17:22:37 +08:00
Sean Cross
1291a2b3aa
kernel: hosted: fix unused variable warnings
...
These only appear when not printing messages.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 17:21:57 +08:00
Sean Cross
5c89487ca2
shell: fix const debug warnings on 1.48
...
This fixes a bunch of warnings that appeared with Rust 1.48.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 17:21:24 +08:00
Sean Cross
12532e1734
log-server: fix const warnings on rust 1.48
...
Rust 1.48 changed how warnings of const values operate.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 17:21:03 +08:00
Sean Cross
b24719a0fc
xous: fix blocking return values
...
These values weren't being properly returned when Yielding or when
calling operations that would block, or that actually blocked.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 17:20:20 +08:00
Sean Cross
5f52acfa9b
xous: document WouldBlock and BlockedProcess
...
These results have similar names but are very different in terms of what
they do.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 17:19:37 +08:00
Sean Cross
c36615d014
utralib: use canonicalized path for svd in rebuilding
...
Use the full path to the .svd file to ensure it is rebuilt when the file
changes.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 17:18:44 +08:00
Sean Cross
6041269033
kernel: Cargo: minor spacing reformat
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 17:14:39 +08:00
Sean Cross
98fb7f739d
xous: hosted: remove excess debug from network packets
...
These packets were always printed, which is excessive.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 16:15:19 +08:00
Sean Cross
8c05fa99d2
renode: update svd to match example file
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 16:14:03 +08:00
Sean Cross
78a47ab4ba
services: ticktimer: fix debug warnings on hardware
...
These appeared in Rust 1.48.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 16:13:19 +08:00
Sean Cross
6c17531512
Merge branch 'master' of github.com:betrusted-io/xous-core
2020-11-23 16:03:57 +08:00
bunnie
d26c80582e
clean up gfx server API, allow for string size setting
2020-11-23 15:42:58 +08:00
Sean Cross
8a3f6a2b43
kernel: fix mutableborrow message returning
...
We weren't properly updating the packet when a mutableborrow was getting
returned.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 15:19:02 +08:00
bunnie
41d7f2a0e5
add ScreenSize message, add hanzi test to boot screen
2020-11-23 14:55:56 +08:00
Sean Cross
be1687ffdd
Merge branch 'master' of github.com:betrusted-io/xous-core
2020-11-23 14:20:27 +08:00
bunnie
48720dc6a7
right, comment out the offending line
2020-11-23 03:52:40 +08:00
bunnie
a2670a7537
minor tweaks to improve the rendering of the bouncyball
2020-11-23 03:49:09 +08:00
bunnie
2d5bd20c16
bouncing ball "招财猫"-like totem now working
2020-11-23 03:18:43 +08:00
bunnie
16e9f43015
add circle drawing to graphics
2020-11-23 00:40:40 +08:00
bunnie
f61ae8ee2a
update soc.svd example
2020-11-22 03:46:42 +08:00
bunnie
710abce418
fixup to latest soc.svd register documentation standard
2020-11-22 03:45:44 +08:00
bunnie
8f702a73eb
Merge branch 'master' of github.com:betrusted-io/xous-core
2020-11-22 02:06:42 +08:00
Sean Cross
4f0d53e9a6
xous: fix hosted process response
...
This uses a slightly different approach to looking at a process
response.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 17:33:08 +08:00
Sean Cross
796c9c5998
services: ticktimer: remove excess hosted printing
...
This was used to try and debug an issue in the ticktimer server, which
ended up being an issue in the kernel.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 16:23:23 +08:00
Sean Cross
5186594f17
kernel: remove excess debug output from hosted mode
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 16:22:29 +08:00
Sean Cross
b8d9d1e1b3
Revert "kernel: hosted: don't send responses twice"
...
This causes problems, and fixes an issue that doesn't actually exist.
Revert it.
This reverts commit fc9f597092 .
2020-11-11 16:18:39 +08:00
Sean Cross
d9272ba21a
ticktimer: use log server
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 16:09:34 +08:00
Sean Cross
aa315c534c
ticktimer: implement msleep
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 16:09:01 +08:00
Sean Cross
5a66f72938
ticktimer: add opcodes for msleep
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 16:08:48 +08:00
Sean Cross
b8f69b4a7f
ticktimer: use correct debug port
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 16:07:33 +08:00
Sean Cross
1a0be47d05
shell: add loop number to msleep
...
This allows us to trace the loop number through the syscall.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 16:06:39 +08:00
Sean Cross
4e6a189e4e
kernel: fix returning scalars in interrupt context
...
This is now allowed.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 16:06:08 +08:00
Sean Cross
4b83edc43b
kernel: server: replace ctx with tid
...
Threads haven't been called contexts for a very long time.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 16:04:35 +08:00
Sean Cross
7156ab5e79
kernel: mem: match riscv printf with rest of formatting
...
We don't use `println` anymore, we use `print`.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 16:03:52 +08:00
Sean Cross
aee42bf264
kernel: print message when idling
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 16:03:29 +08:00
Sean Cross
fc9f597092
kernel: hosted: don't send responses twice
...
If we've already sent a response, don't send a second response.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 12:55:58 +08:00
Sean Cross
b497ad113e
xous: terminate process on panic
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 12:52:12 +08:00
Sean Cross
6b1dc7f853
xous: hosted: fix sync error with mis-ordered replies
...
Replies would get mis-ordered, which became bad when data had memory
attached.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 12:51:41 +08:00
Sean Cross
f6dc227ed2
emulation: add interrupt to betrusted platform
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 12:50:55 +08:00
Sean Cross
44a3d40b1c
emulation: sync latest svd file
...
This svd file reflects the latest svd from CI.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 12:50:27 +08:00
Sean Cross
0ed99d1eba
emulation: memlcd: format cs file
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 12:50:07 +08:00
Sean Cross
80419955fb
svd2utra: update example with latest svd
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 12:49:42 +08:00
Sean Cross
e3dbf1e9d4
emulation: ticktimer: add msleep support
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-04 13:41:18 +08:00
Sean Cross
d8733a437c
README: rewrite to document xtask
...
The `xtask` command has come a long way, and is the preferred method of
building this repositry. Document the fun ways it can be used.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-03 20:41:37 +08:00
Sean Cross
b5692b70eb
Merge pull request #3 from mbrubeck/patch-1
...
Fix typo in README.md
2020-11-02 12:53:27 +08:00
Matt Brubeck
9e349c6af3
Fix typo in README.md
2020-11-01 20:29:32 -08:00
Sean Cross
2698333382
kernel: allow making syscalls from an interrupt
...
This enables calling some syscalls from within an interrupt context.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-01 17:59:26 +08:00
Sean Cross
7391b98f4e
log-server: remove excess printing from log string
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-01 16:30:07 +08:00
Sean Cross
c6e12a5ecd
kernel: remove dead code from hosted/irq.rs
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-01 16:29:36 +08:00