You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jiajie Chen
7db2bd11e5
|
6 years ago | |
---|---|---|
biscuit | 6 years ago | |
rust | 6 years ago | |
ucore | 6 years ago | |
.gitignore | 6 years ago | |
.travis.yml | 6 years ago | |
Makefile | 6 years ago | |
README.md | 6 years ago |
README.md
rCore-user
User programs for rCore OS.
Now it has 3 parts:
ucore
: C-lang, from the original ucore_os_labbiscuit
: C/C++, from Biscuit, based on amusl
instead of originallitc
.rust
: Simple no_std Rust programs.
Build
To build biscuit programs, install musl toolchain first:
$ sudo pacman -Syu musl # archlinux
$ brew install FileSottile/musl-cross/musl-cross # macOS
$ make {ucore,biscuit,rust,all} arch={i386,x86_64,riscv32,riscv64,aarch64}
Output to build/$(arch)
Notice
- The syscall ids have been set compatible with Linux64.
- So the ucore part can not run on the original ucore.