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
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
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
3503965f98
bump versions to absorb xous-rs changes
2022-10-13 03:41:16 +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
32e3cf588f
bump xous-rs to 0.9.11 to absorb feature flags into the kernel API
2022-10-05 18:26:58 +08:00
bunnie
586f2bddf6
bump xous-rs version to absorb feature flag changes from utralib
2022-10-05 17:15:28 +08:00
bunnie
147d55bdf8
bump xous-rs version
2022-09-26 11:08:22 +08:00
bunnie
ea37ce2ea1
add feature gate on v2p per xobs' request
2022-09-15 14:06:07 +08:00
Sean Cross
2e516abd64
xous: bump to rust-2021 and version to 0.9.8
...
Signed-off-by: Sean Cross <sean@xobs.io>
2022-05-31 13:45:14 +08:00
Sean Cross
4ed3b201d0
xous: remove xous::xous_main macro
...
This macro is now unused, and does not serve a purpose. Remove it to
improve build times.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-05-31 13:41:48 +08:00
Sean Cross
dd02fce340
xous: remove nearly all dependencies
...
This removes nearly all of the dependencies from `xous-rs`, making it
mostly self-contained.
There is one remaining dependency tree which is `xous-macros`. This is a
legacy feature from before a time we had main(). Attempts will be made
to remove it as well.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-05-31 12:29:23 +08:00
Sean Cross
58dd02c282
xous-rs: remove log, hex, and debug-here deps
...
The `xous-rs` library is used in many places, and should have as few
dependencies as possible. Remove these as dependencies.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-05-31 11:20:08 +08:00
Sean Cross
80df40d8fa
xous-rs: implement UpdateMemoryFlags syscall
...
Implement this syscall and create a wrapper function
`update_memory_flags()`.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-02-07 13:37:23 +08:00
bunnie
b3788a54af
clarify the dependency policy
2022-01-10 16:50:10 +08:00
bunnie
995915ed4e
nail down a couple more dependencies, and add a policy note to Cargo.toml
...
Each Cargo.toml now includes a comment which remnids maintainers
of the dependency policy for Xous (that is, nail down every dependency
to the minor number).
2022-01-10 15:54:27 +08:00
bunnie
fec180890b
nail down dependencies in the related build toolchain flow
...
these are secondary attack surfaces -- code that isn't directly
in the kernel, but involved in the manipulation, handling, grooming
and preparation of source and binary files
2022-01-10 15:49:30 +08:00
Sean Cross
b17be29195
xous: make processes-as-threads a feature flag
...
The test module uses this feature to avoid having to spawn external
processes. Make this a feature flag since it doesn't make sense for any
other target.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-16 12:16:27 +08:00
bunnie
53f35f9928
intermediate work toward getting the password box going
...
lots of changes, maybe finally getting out of the UX rathole now
that basic localization is in place
2021-07-26 00:51:22 +08:00
Sean Cross
18a86a9a19
xous: add homepage and repository fields to Cargo.toml
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-21 16:43:30 +08:00
Sean Cross
8d41777dc1
release 0.8.3
...
This implements the `JoinThread(tid)` syscall.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-21 16:41:13 +08:00
Sean Cross
3b540e4e9a
xous: tag 0.8.2
...
This contains some minor modifications to the ABI.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-20 11:53:02 +08:00
Sean Cross
efe5a8b9e8
xous: tag v0.8.1
...
This adds the `stringbuffer` object.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-19 14:27:58 +08:00
Sean Cross
e2996935cf
0.8.0: tag release
...
This bumps version numbers to 0.8.0, indicating we're nearing final
release.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-07 16:34:16 +08:00
Sean Cross
fdce58d06e
ipc: convert project to use xous-ipc
...
This rewrites the entire project so that most runnable projects now use
`xous-ipc` instead of `xous::String` where possible.
This also removes `rkyv` from the list of dependencies in `xous-rs`.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-26 20:22:33 +08:00
bunnie
8fbd900a4c
Merge branch 'hardware-no-cb' into rkyv-refactor
...
Bring the two branches up to date, while also laying the groundwork
for XousServerName to be used as a native index type in xous-names
so we aren't burdening xous::String with a hasher
2021-03-17 16:06:06 +08:00
bunnie
d68e3e8cf4
an attempt to refactor to rkyv 0.4.1
...
unfortunately, it looks like deserialize requires an alloc??
2021-03-16 02:02:53 +08:00
Sean Cross
b742dcade2
xous: make macros optional
...
These are not used when building libstd.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-12 09:19:39 +08:00
Sean Cross
a0c82ee25c
xous: initial draft of xous target support
...
This is an initial cut of the library as it will be included in the
libstd.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-11 12:27:55 +08:00
Sean Cross
530e105fe4
xous: add GetProcessID and GetThreadID syscalls
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-11 11:19:51 +08:00
Sean Cross
f4e8e73887
xous: tag 0.1.1
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-11 10:48:25 +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
Sean Cross
7b50d00eb8
repo: run cargo fmt
...
This reformats line endings to be consistent, and reinforces the
contents of `.gitattributes`.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-03 18:31:51 +08:00
Sean Cross
b3b57f5eb5
xous: temporarily remove debug-here
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-24 22:04:26 +08:00
Sean Cross
aeef0638e7
xous: set license to MIT/Apache-2
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-24 22:02:02 +08:00
Sean Cross
67adccf16a
xous: hosted: attach to debugger on panic
...
When a `panic!()` is hit and we're running in a hosted environment,
attach a debugger using `debug-here`.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-29 19:38:27 +08:00
Sean Cross
673577a10e
xous: syscall: add BlockingScalar to syscall handling
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-09-22 21:33:09 +08:00
Sean Cross
d057cba0fb
xous: add "logging" feature
...
This will connect to a logging server to allow for log messages.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-30 17:39:58 +08:00
Sean Cross
eaf2b038c1
xous: be more generous in specifying bitflags crate
...
Presumably it won't change much.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-30 00:36:57 +08:00
Sean Cross
3ed964507d
xous: add #[xous::xous_main] proc-macro
...
This is used to annotate a main function that is compatible with both
hosted and baremetal environments.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-14 16:44:08 +08:00
Sean Cross
49083081c3
xous: replace processes-as-threads with baremetal check
...
This gets it working on baremetal, and keeps processes-as-threads
available for running in hosted mode.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-06 23:25:28 +08:00
Sean Cross
ea3a473c9f
reworking memory allocation
...
The kernel should run in a `no_std` environment, which means it must
currently run without `alloc`. We have our own allocation methods when
running on baremetal hardware.
Begin the work to break out the allocation method so that it will work
on both desktop and baremetal environments.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-03 17:40:57 +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
e059494a7f
xous-rs: begin adding support for native message passing
...
This will send data via a TCP connection to simulate making syscalls.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-06-03 12:06:46 +08:00
Sean Cross
bdb8eac9ad
MemoryRange: move to using this struct for memory ranges
...
This is a combination of MemoryAddress and MemorySize. This is
guaranteed to be not null.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-01 10:28:36 +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