Go to file
2024-07-27 00:02:19 +08:00
.idea add: ch3 finished 2024-07-25 22:45:05 +08:00
bootloader init: repo 2024-07-15 16:08:48 +08:00
os fix: use log for kernel output 2024-07-26 14:55:09 +08:00
user fix: use log for kernel output 2024-07-26 14:55:09 +08:00
README.md fix: add install docs. 2024-07-27 00:02:19 +08:00

Rust RISC-V 操作系统

按照rCore的教程进行开发。

目前进度

  • 基本执行环境
  • 批处理系统
  • 多道程序和分时系统
  • 地址空间
  • 文件系统
  • 进程间通信和I/O重定向
  • 并发
  • I/O设备管理

运行环境配置

使用如下指令安装需要的Rust工具链。

首先配置nightly版本的工具链:

rustup install nightly
rustup default nightly

然后安装需要的riscv相关工具:

rustup target add riscv64gc-unknown-none-elf
cargo install cargo-binutils
rustup component add llvm-tools-preview
rustup component add rust-src

QEMU

使用qemu作为虚拟机进行运行,需要qemu-system-riscv