mirror of
https://github.com/rcore-os/rCore.git
synced 2024-11-22 16:16:16 +04:00
update README
This commit is contained in:
parent
b1bdac7d0f
commit
4f8d110d31
25
README.md
25
README.md
@ -2,17 +2,25 @@
|
|||||||
|
|
||||||
[![Build Status](https://travis-ci.org/wangrunji0408/RustOS.svg?branch=master)](https://travis-ci.org/wangrunji0408/RustOS)
|
[![Build Status](https://travis-ci.org/wangrunji0408/RustOS.svg?branch=master)](https://travis-ci.org/wangrunji0408/RustOS)
|
||||||
|
|
||||||
Rust port for uCore OS, supporting x86_64 and riscv32i.
|
Rust version of THU [uCore OS](https://github.com/chyyuu/ucore_os_lab/).
|
||||||
|
|
||||||
|
Going to be the next generation teaching operating system.
|
||||||
|
|
||||||
|
Support arch: x86_64, RISCV32I, AArch64 (WIP).
|
||||||
|
|
||||||
[Dev docs](https://rucore.gitbook.io/rust-os-docs/) (in Chinese)
|
[Dev docs](https://rucore.gitbook.io/rust-os-docs/) (in Chinese)
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
This is a project of THU Operating System (2018 Spring) && Comprehensive Experiment of Computer System (2018 Summer).
|
This is a project of THU courses:
|
||||||
|
|
||||||
Project wiki (internal access only): [OS](http://os.cs.tsinghua.edu.cn/oscourse/OS2018spring/projects/g11), [CECS](http://os.cs.tsinghua.edu.cn/oscourse/csproject2018/group05)
|
* Operating System (2018 Spring)
|
||||||
|
* Comprehensive Experiment of Computer System (2018 Summer)
|
||||||
|
* Operating System Train (2018 Autumn)
|
||||||
|
|
||||||
Reports (in Chinese): [MidReport](./docs/MidReport.md), [FinalReport](./docs/FinalReport.md), [RISCV port note](./docs/RISCV.md)
|
Project wiki (internal access only): [OS](http://os.cs.tsinghua.edu.cn/oscourse/OS2018spring/projects/g11), [CECS](http://os.cs.tsinghua.edu.cn/oscourse/csproject2018/group05), [OST](http://os.cs.tsinghua.edu.cn/oscourse/OsTrain2018)
|
||||||
|
|
||||||
|
Reports (in Chinese): [docs](./docs)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -24,10 +32,11 @@ In fact, it's more complicated than we expected to write an OS starting from scr
|
|||||||
|
|
||||||
### Environment
|
### Environment
|
||||||
|
|
||||||
* [Rust](https://www.rust-lang.org) toolchain at nightly-2018-09-18
|
* [Rust](https://www.rust-lang.org) toolchain at nightly
|
||||||
* Cargo tools: [cargo-xbuild](https://github.com/rust-osdev/cargo-xbuild), [bootimage](https://github.com/rust-osdev/bootimage)
|
* Cargo tools: [cargo-xbuild](https://github.com/rust-osdev/cargo-xbuild), [bootimage](https://github.com/rust-osdev/bootimage)
|
||||||
* QEMU >= 2.12.0
|
* QEMU >= 2.12.0
|
||||||
* [RISCV64 GNU toolchain](https://www.sifive.com/products/tools/) (for riscv32)
|
* [RISCV64 GNU toolchain](https://www.sifive.com/products/tools/) (for riscv32)
|
||||||
|
* [AArch64 GNU toolchain](https://web.stanford.edu/class/cs140e/assignments/0-blinky/) (for aarch64)
|
||||||
|
|
||||||
### How to run
|
### How to run
|
||||||
|
|
||||||
@ -39,10 +48,8 @@ cargo install cargo-xbuild bootimage
|
|||||||
```bash
|
```bash
|
||||||
git clone https://github.com/wangrunji0408/RustOS.git
|
git clone https://github.com/wangrunji0408/RustOS.git
|
||||||
cd RustOS/kernel
|
cd RustOS/kernel
|
||||||
rustup override set nightly-2018-09-18
|
rustup override set nightly
|
||||||
make run arch=riscv32|x86_64
|
make run arch=riscv32|x86_64|aarch64
|
||||||
# For FPGA:
|
|
||||||
# make run arch=riscv32 board=1
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
12
status.md
12
status.md
@ -20,14 +20,14 @@
|
|||||||
- [x] ※ Stack allocator:Naive
|
- [x] ※ Stack allocator:Naive
|
||||||
- [x] MM & VMA
|
- [x] MM & VMA
|
||||||
- [x] Copy on write
|
- [x] Copy on write
|
||||||
- [ ] Swap
|
- [x] Swap
|
||||||
|
|
||||||
#### lab4: Kernel thread
|
#### lab4: Kernel thread
|
||||||
|
|
||||||
- [x] idleproc
|
- [x] idleproc
|
||||||
- [x] initproc
|
- [x] initproc
|
||||||
- [x] fork
|
- [x] fork
|
||||||
- [ ] Scheduler thread
|
- [x] Scheduler thread
|
||||||
|
|
||||||
#### lab5: User thread
|
#### lab5: User thread
|
||||||
|
|
||||||
@ -51,8 +51,8 @@
|
|||||||
|
|
||||||
- [x] Simple file system
|
- [x] Simple file system
|
||||||
- [x] Load user programs from .img
|
- [x] Load user programs from .img
|
||||||
- [ ] FS framework for process
|
- [x] FS framework for process
|
||||||
- [ ] Device IO
|
- [x] Device IO
|
||||||
|
|
||||||
|
|
||||||
## uCore 32bit user programs pass status
|
## uCore 32bit user programs pass status
|
||||||
@ -65,11 +65,11 @@
|
|||||||
- [x] forktest
|
- [x] forktest
|
||||||
- [x] forktree
|
- [x] forktree
|
||||||
- [x] hello
|
- [x] hello
|
||||||
- [ ] ls
|
- [x] ls
|
||||||
- [x] matrix
|
- [x] matrix
|
||||||
- [ ] pgdir
|
- [ ] pgdir
|
||||||
- [x] priority
|
- [x] priority
|
||||||
- [ ] sh
|
- [x] sh
|
||||||
- [x] sleep
|
- [x] sleep
|
||||||
- [x] sleepkill
|
- [x] sleepkill
|
||||||
- [x] softint
|
- [x] softint
|
||||||
|
Loading…
Reference in New Issue
Block a user