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.
		
		
		
		
		
			|  | 7 years ago | |
|---|---|---|
| crate | 7 years ago | |
| docker | 8 years ago | |
| docs | 7 years ago | |
| macOS-env | 8 years ago | |
| riscv-env | 7 years ago | |
| riscv-pk | 7 years ago | |
| src | 7 years ago | |
| user | 8 years ago | |
| .gitignore | 8 years ago | |
| .gitmodules | 7 years ago | |
| .travis.yml | 7 years ago | |
| Cargo.toml | 7 years ago | |
| Makefile | 7 years ago | |
| README.md | 7 years ago | |
| Xargo.toml | 7 years ago | |
| build.rs | 7 years ago | |
| riscv32-blog_os.json | 7 years ago | |
| status.md | 7 years ago | |
| x86_64-blog_os.json | 8 years ago | |
		
			
				
				README.md
			
		
		
			
			
		
	
	RustOS
Port to RISCV (WIP)
2018年THU计算机系统综合实验
Environment
Dockerfile (Can not build directly. Just for reference)
Available on DockerHub: wangrunji0408/riscv-rust
How to run
git clone https://github.com/wangrunji0408/RustOS.git -b riscv --recursive
cd RustOS
# Pull docker image and enter docker interactive shell
make docker_riscv
# Inside docker ...
make build
make justrun
Summary
A project of THU OS2018 spring.
The goal is to write a mini OS in Rust with multicore supporting.
It will start from the post of the Writing an OS in Rust series. Then reimplement xv6-x86_64 in Rust style.
Building
You need to have nasm, grub-mkrescue, xorriso, qemu, a nightly Rust compiler, and xargo installed. Then you can run it using make run.
A docker image is available and recommanded. Read this for details.
License
The source code is dual-licensed under MIT or the Apache License (Version 2.0).