|
4 years ago | |
---|---|---|
platform | 4 years ago | |
rustsbi | 4 years ago | |
test-kernel | 4 years ago | |
.gitignore | 4 years ago | |
CHANGELOG.md | 4 years ago | |
Cargo.toml | 4 years ago | |
LICENSE-MIT | 4 years ago | |
LICENSE-MULAN | 4 years ago | |
README.md | 4 years ago |
RISC-V Supervisor Binary Interface (SBI) implementation in Rust; runs on M-mode.
See releases.
Binaries are available for platforms which can be found on platform support page. These provided binaries are only for reference on experiments, consider to write your own RustSBI implementation on production use.
The RustSBI project contains three parts: the RustSBI library rustsbi
, reference implementation
in platform
, and a simple operating system kernel to test SBI implementations in test-kernel
.
The test kernel is used to test SBI functions. Boot this kernel using your platform, it will call all SBI calls and run instructions to test if underlying SBI environment is okay. if this kernel reports 'SUCCESS' and exits normally, it means that your SBI implementation is correct.
This project is originally a part of rCore Summer of Code 2020 activities, now it is capable of running rCore-Tutorial and other OS kernels on wide supported RISC-V devices.
Blog article (Chinese):
Slides (Chinese):
embedded-hal
libraries.hal
module we have now.This project is licensed under either of
This project contains documents from RISC-V SBI specification repository. These documents are (C) RISC-V community under CC-BY 4.0 license.