bunnie
bb5d7b3adf
bump versions to absorb hosted mode fix
2023-01-05 14:07:24 +08:00
bunnie
64fa83cec4
Merge pull request #290 from betrusted-io/reply-and-receive-next-syscall
...
Fix ReplyAndReceiveNext for hosted mode
2023-01-05 13:56:24 +08:00
Sean Cross
3593d715c1
kernel: fix memorymessages with ReplyAndReceiveNext
...
Fix a segfault that occurred when using ReplyAndReceiveNext on hosted
mode. This now properly passes memory messages back to the client.
Signed-off-by: Sean Cross <sean@xobs.io>
2023-01-05 11:56:15 +08:00
bunnie
36398810dd
bump version numbers to absorb new syscalls
2022-12-30 15:24:36 +08:00
Sean Cross
3218bde2b4
kernel: implement reply_and_receive_next
...
Implement `ReplyAndReceiveNext` as a syscall. This will reply to a
message, pull the next message out of the queue, and then re-queue the
server to run. This should make servers much more responsive.
This patch has been tested on both hosted and native modes.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-12-30 11:07:04 +08:00
Sean Cross
ab0c7d3b32
kernel: server: check buf is some when returning mem
...
Signed-off-by: Sean Cross <sean@xobs.io>
2022-12-29 21:03:39 +08:00
Sean Cross
46f340324d
kernel: rename Message -> MessageEnvelope
...
This syncs with the latest changes to `xous-rs`.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-12-29 21:02:57 +08:00
Sean Cross
911ddb60fc
kernel: debug: fix klog on baremetal
...
klog() refers to an outdated `.uart` struct, which has since been
renamed to `.serial`.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-12-29 21:01:27 +08:00
bunnie
5370ce396d
bump all revs due to SoC artifact update
2022-12-12 16:07:20 +08:00
bunnie
1d1b3a35b7
commit version bump
2022-11-26 10:00:44 +08:00
bunnie
aa9977cc58
bump all the things because we changed utralib again
2022-11-17 22:13:40 +08:00
bunnie
dabbfd6c35
bump all the things to absorb the SoC change
2022-11-17 19:39:18 +08:00
bunnie
30583bdf07
bump versions with xous change
2022-11-06 03:48:12 +08:00
Sean Cross
da5647539f
kernel: syscall: add support for return_scalar5
...
Add kernel support for returning 5 scalars.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-11-05 18:39:54 +08:00
bunnie
0c52a7a3ff
the merge requested pulled multiple other crate versions backwards
...
this fixes it, hopefully.
2022-11-03 01:58:36 +08:00
bunnie
6332bf1c90
Merge branch 'main' into driver-refactor
2022-11-03 01:53:23 +08:00
bunnie
80094aef1e
I see what's happening. The PR originator versions are very out of date.
...
hopefully this fixes the issue.
2022-11-03 01:49:28 +08:00
bunnie
bbb7e279cd
bump kernel version (this time with feeling)
2022-11-03 01:42:59 +08:00
bunnie
ba46c6b04a
bump kernel version
2022-11-03 01:41:24 +08:00
Jean-Pierre De Jesus DIAZ
d8807e6cea
kernel: Move rand driver to platform module.
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2022-11-02 14:36:41 +01:00
Jean-Pierre De Jesus DIAZ
b334e5bc31
kernel: Split debug shell and uart driver.
...
I've added a `platform` module to store all platform specific code, (not
architecture specific) as some platforms will require custom drivers, e.g.
for debug output and for the random number generation code. The platform
code is in charge of mapping any peripherals needed to work, also to
initialize any other parts of the kernel that require drivers, for example
the debug shell.
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2022-11-02 14:30:31 +01:00
Tom Marble
9689b3bc07
Removes VS Code artifacts
...
Also updates .gitignore to prevent adding IDE (VS Code, Emacs) artifacts
Signed-off-by: Tom Marble <tmarble@info9.net>
2022-10-28 11:23:56 -05:00
bunnie
f01b2a871c
add some vscode stuff i guess to the release
2022-10-28 18:12:07 +08:00
bunnie
f17e02460f
bump kernel revision
2022-10-28 18:02:52 +08:00
Sean Cross
c17a6d3786
kernel: make SYSTEM_SERVICES unmangled
...
This symbol will be viewed by external tools.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-10-28 17:38:25 +08:00
bunnie
ba28dd8795
bump to absorb utralib straggler configs
2022-10-28 15:11:17 +08:00
bunnie
dfb10ed7f2
bump crate numbers to publish lang-fr change into xous-rs
2022-10-28 14:01:09 +08:00
bunnie
cc873919f5
fix dangling kernel dep
2022-10-25 23:08:50 +08:00
bunnie
0ee9ec1d80
bump version numbers for crate publication
2022-10-25 22:38:58 +08:00
Jean-Pierre De Jesus DIAZ
f5176ea380
Remove xous-rs unused features
...
The rationale is that xous-rs should have only architecture
specific code, e.g.: riscv, arm, x86, etc. To make other
crates that depend on it not specify the features.
This could be useful when using xous-rs with `libstd`
for example.
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2022-10-25 13:29:15 +02:00
bunnie
d331d405ee
bump version numbers for publication
2022-10-25 17:23:40 +08:00
bunnie
805a7d528c
flip back to using remote references
2022-10-20 16:30:06 +08:00
bunnie
8e05925cfa
somehow the transition to local paths got missed in the merge
2022-10-18 00:39:01 +08:00
bunnie
0584ad2f2c
switch to local paths to see if this helps the build
2022-10-18 00:26:56 +08:00
bunnie
4b368d71db
bump versions of crates
2022-10-15 01:31:54 +08:00
bunnie
63a87ca1bc
bump all the versions
2022-10-14 16:54:43 +08:00
bunnie
ff30131f43
absorb more fixes into the kernel
2022-10-13 04:08:56 +08:00
bunnie
51752aac9d
Merge pull request #239 from Foundation-Devices/baremetal
...
Use CARGO_CFG_TARGET_OS in build scripts.
2022-10-12 12:56:17 -07:00
bunnie
3503965f98
bump versions to absorb xous-rs changes
2022-10-13 03:41:16 +08:00
Jean-Pierre De Jesus DIAZ
955fbc8788
xous: Use CARGO_CFG_TARGET_OS in build scripts.
...
This allows for a more reliable detection of target_os configuration
in build scripts. The target is inconsistent between some architectures,
notably armv7a is `armv7a-none-eabi` skipping the `unknown` (the vendor,
I guess) part. This happen with some of the unrelated Cortex-M targets
present, and others may also be.
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2022-10-12 19:03:46 +02:00
bunnie
94aa4b62b1
forgot to bump kernel version
2022-10-10 03:09:27 +08:00
bunnie
02b80425f5
bump xous-rs to absorb change in language specification
2022-10-10 03:07:44 +08:00
bunnie
3bca9de2a0
bump version numbers for xous-kernel patch
...
this fixes tests in CI
2022-10-05 23:51:35 +08:00
bunnie
969f93b001
cross-repo update versions from xous-rs bump
2022-10-05 18:32:44 +08:00
bunnie
5c6dc80249
xous-rs change bumps kernel rev
2022-10-05 17:33:25 +08:00
bunnie
d699ddf998
also move utralib change into kernel, update cargo.lock
2022-10-02 02:21:27 +08:00
bunnie
df96605531
update utralib reference
2022-09-29 22:22:33 +08:00
bunnie
96300db925
add license to kernel Cargo.toml
2022-09-27 18:43:39 +08:00
bunnie
c9f3d6a3d5
bump utralib ref in kernel so it works with the renode target
2022-09-27 18:32:04 +08:00
bunnie
ab940e18db
fixup warnings
2022-09-27 17:27:21 +08:00