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.
 
 
 
 
 
 
WangRunji 932e2fc290
Move lapic to kernel virtual
7 years ago
crate Replace `AreaFrameAllocator` by `BitAllocator`. Set opt-level=1 to avoid stack overflow. 7 years ago
docker Rewrite README. Add docker. 7 years ago
docs Update report 7 years ago
macOS-env Add homebrew files for macOS 7 years ago
src Move lapic to kernel virtual 7 years ago
user Add ucore & xv6-x86_64 user program img file. 7 years ago
.gitignore Generate vector.asm by build.rs. 7 years ago
.travis.yml Try to fix travis 7 years ago
Cargo.toml Update x86_64 to 0.2.3. FIXME: SMP 7 years ago
Makefile Add IDE driver. No longer link img. 7 years ago
README.md Add final report & log 7 years ago
Xargo.toml Add a dependency on the alloc crate 7 years ago
build.rs Generate vector.asm by build.rs. 7 years ago
status.md Update report 7 years ago
x86_64-blog_os.json Set the panic strategy to abort to fix _Unwind_Resume errors 7 years ago

README.md

RustOS for x86_64 SMP

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