1
0
mirror of https://github.com/rcore-os/rCore.git synced 2025-01-31 10:04:04 +04:00
2018-04-02 15:28:32 +08:00
2018-07-12 22:46:17 +08:00
2018-04-03 14:49:26 +08:00
2018-07-05 00:18:53 +08:00
2018-07-15 16:43:43 +08:00
2018-07-05 14:17:30 +08:00
2018-07-17 12:52:39 +08:00
2018-07-16 13:37:26 +08:00
2018-07-26 20:21:21 +08:00
2018-06-15 11:50:51 +08:00

RustOS

Port to RISCV (WIP)

2018年THU计算机系统综合实验

Project Wiki

Documents

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 --recursive
cd RustOS
# Pull docker image and enter docker interactive shell
make docker_riscv
# Inside docker ...
cd kernel
# Patch the atomic mod of core lib
make patch-core
make run

Summary

Build Status

A project of THU OS2018 spring.

Project Wiki

MidReport

FinalReport

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).

Description
Rust version of THU uCore OS. Linux compatible.
Readme MIT 15 MiB
Languages
Rust 86.3%
Python 10.9%
Makefile 1%
Assembly 0.9%
Shell 0.7%
Other 0.2%