bunnie
7488018e22
get wdt mods compiling into xtask run
2020-12-13 02:03:15 +08:00
bunnie
e1c4b702a9
add WDT support to xous-core
2020-12-13 01:54:25 +08:00
bunnie
95719852b3
Merge remote-tracking branch 'betrusted/master' into hardware
2020-12-12 12:58:06 +08:00
bunnie
06a2c5c2f1
Merge pull request #17 from hasheddan/tools-contrib
...
Update various README links to top-level documentation
2020-12-07 02:21:15 +08:00
hasheddan
0a6f63a129
Update loader README.md links to other docs
...
Fixes links in loader directory README.md to top-level documentation.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-12-06 10:43:07 -06:00
hasheddan
1953c0f9d9
Update kernel README.md links to other docs
...
Fixes links in kernel directory README.md to top-level documentation.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-12-06 10:41:53 -06:00
hasheddan
a4d18d6db2
Update tools README.md links to other docs
...
Fixes links in tools directory README.md to top-level documentation.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-12-06 10:40:45 -06:00
Sean Cross
f49518f7d5
kernel: add connect_for_process()
...
This allows one process to establish a connection to a server on behalf
of another process.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-04 23:25:41 +08:00
Sean Cross
1875126dba
xous: connect_for_process: add wrapper function
...
This provides a functional call around the raw syscall.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-04 22:50:49 +08:00
Sean Cross
06daa06921
xous: add syscall definition for ConnectForProcess
...
This call allows one process to establish a connection on behalf of
another process.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-04 22:47:01 +08:00
Sean Cross
b094f1147b
xous: implement sender.pid()
...
This is mostly an implementation detail, but appears to work.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-04 22:38:35 +08:00
Sean Cross
1fa83d1d94
xous: make MessageSender a struct
...
This is now an object instead of an alias for `usize`, in preparation
for adding a `.pid()` function.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-04 22:16:24 +08:00
Sean Cross
1f1a535801
kernel: fix pid generation for non-test case
...
When compiling under non-test scenarios, the `rand` create conflicts
with the new `rand` module.
Disambiguate this field.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-04 21:12:18 +08:00
Sean Cross
168ffe004e
kernel: use create_server() for some tests
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-04 20:59:21 +08:00
Sean Cross
85b6357d26
kernel: implement CreateServer
...
This implements CreateServer, which creates a server with a random name.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-04 20:58:14 +08:00
Sean Cross
f165130931
xous: add CreateServer syscall
...
This syscall has not yet been wired up.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-04 20:44:45 +08:00
Sean Cross
25e4d16de3
xous-os: rename CreateServer to CreateServerWithAddress
...
Servers will, by default, get randomly-assigned SIDs. Certain servers
will want to have well-known SIDs, such as the log server or the
nameserver. These will use a separate call in order to perform this
priveledged operation.
A subsequent patch will add `CreateServer`.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-04 20:33:33 +08:00
Sean Cross
3df80a9291
Merge branch 'master' of github.com:betrusted-io/xous-core into master
2020-12-04 19:54:25 +08:00
bunnie
bcb52f1a59
eliminate unused code
2020-12-03 23:58:26 +08:00
bunnie
fbf9d7a342
add some docs on the name server
2020-12-03 23:58:06 +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
Sean Cross
f2e2505d4b
kernel: server: remove bounds checks from take_waiting_message
...
This function has been rewritten to no longer have a bounds check.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-01 13:27:30 +08:00
Sean Cross
e4f7c7286d
kernel: fix commented code in server
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-01 13:20:34 +08:00
Sean Cross
d5f82b7972
kernel: test: fix message ordering test
...
It turns out that it was working fine, the test was just broken.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-01 13:18:49 +08:00
Sean Cross
e7744b25ec
kernel: services: format document
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-01 11:54:23 +08:00
Sean Cross
8c994e0397
kernel: add test for message ordering
...
Messages are arriving out-of-order, which is considered a bug.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-01 10:29:46 +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
bunnie
c05153b5af
add dirty bit set to put_pixel()
2020-11-27 17:21:31 +08:00
bunnie
2c3aef886c
remove final vestiges of debug.rs, deprecate 4-uart support
2020-11-27 17:12:49 +08:00
bunnie
a129b48858
remove debug.rs from COM
2020-11-27 16:48:57 +08:00
Sean Cross
f04484abd9
shell: remove unused extra files
...
These files are leftover from a time when we didn't have the log server.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-27 14:13:21 +08:00
Sean Cross
684ba69a31
os_timer: move preemption from shell to ticktimer server
...
This is responsible for preemption in the system. Move it to the timer
server since it seems to make more sense to have there.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-27 14:13:21 +08:00
Sean Cross
513b99f916
ticktimer-server: remove debug module
...
This was leftover from before a time when we had the log server. It no
longer serves a need.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-27 14:00:19 +08:00
Sean Cross
fcb64a85d4
log-server: remove spurious print message
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-27 13:59:33 +08:00
Sean Cross
ff8cb19999
log-server: implement panic logging
...
This is now able to understand the panic log messages that are sent by
services that are in the procses of panicking.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-27 13:58:03 +08:00
Sean Cross
2e4b38a2f1
log-server: unconditionally enable logging
...
If users are including the `log-server` crate, then they probably want
logging regardless of what features are enabled.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-27 13:57:20 +08:00
Sean Cross
322051e8c1
xous-rs: log panics to log-server
...
When a process panics, log the contents of the panic to the log server.
This removes the dependency on a `println!()` implementation needing to
be defined in a project.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-27 13:55:36 +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
7ba75b14f9
add ability to render strings on multiple lines
2020-11-27 03:33:44 +08:00
bunnie
19a7a9ce98
get threaded version of COM handler working
2020-11-27 01:32:10 +08:00
bunnie
99d8f2a525
version with threads compiles, but doesn't work yet
2020-11-27 00:35:29 +08:00
bunnie
4ee7f67f82
commit the nonworking code for review
2020-11-26 00:39:15 +08:00
bunnie
b568d86153
get non-blocking gas gauge checking working
2020-11-25 23:06:57 +08:00
bunnie
bb6dcd07a4
Merge remote-tracking branch 'origin/master' into hardware
2020-11-25 22:01:40 +08:00
Sean Cross
f0db281c7d
kernel: add test for try_receive_message()
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-25 20:52:13 +08:00
Sean Cross
6008326297
svd2utra: update soc.svd with COM IRQ
...
This should fix CI.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-25 20:47:17 +08:00
Sean Cross
df4db87719
emulation: add fake COM interrupt for CI
...
The `renode.svd` file hasn't been updated yet, but code depends on
having an interrupt for COM. Add a fake interrupt to get CI building
again.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-25 20:39:37 +08:00