Plucky923 f9c2b34527 spec: binary: added error codes SBI_ERR_TIMEOUT, SBI_ERR_IO, SBI_ERR_BAD_RANGE, SBI_ERR_INVALID_STATE (#86) | hai 3 semanas | |
---|---|---|
.. | ||
src | hai 3 semanas | |
.gitignore | hai 1 ano | |
CHANGELOG.md | hai 3 semanas | |
Cargo.toml | hai 2 meses | |
LICENSE-MIT | hai 1 ano | |
LICENSE-MULAN | hai 1 ano | |
README.md | hai 3 semanas |
# sbi-spec
: RISC-V SBI constants and structures in Rust
This library implements the constants and structures defined in the SBI Specification using Rust.
Implementation status of the 3.0 specification by chapters:
# | Title | Support state |
---|---|---|
§3 | Binary Encoding | Constants, Structures |
§4 | Base Extension | Constants |
§5 | Legacy Extensions | Constants |
§6 | Timer Extension | Constants |
§7 | IPI Extension | Constants |
§8 | RFENCE Extension | Constants |
§9 | Hart State Management Extension | Constants |
§10 | System Reset Extension | Constants |
§11 | Performance Monitoring Unit Extension | Constants |
§12 | Debug Console Extension | Constants |
§13 | System Suspend Extension | Constants |
§14 | CPPC Extension | Constants |
§15 | Nested Acceleration Extension | Constants |
§16 | Steal-time Accounting Extension | Constants |
§17 | Supervisor Software Events Extension | Constants |
§18 | Firmware Features Extension | Constants |
§19 | Debug Triggers Extension | Constants |
§20 | Message Proxy Extension | Constants |
Although deprecated, legacy extensions are retained under #[cfg(feature = "legacy")]
to ensure
compatibility with older software.
This project is licensed under either of
Documents from RISC-V SBI Specification are used in this project. These documents are (C) RISC-V Foundation under Creative Commons Attribution 4.0 International License (CC-BY 4.0). The full license text is available at https://creativecommons.org/licenses/by/4.0/.