Plucky923 f9c2b34527 spec: binary: added error codes SBI_ERR_TIMEOUT, SBI_ERR_IO, SBI_ERR_BAD_RANGE, SBI_ERR_INVALID_STATE (#86) 3 тижнів тому
..
src f9c2b34527 spec: binary: added error codes SBI_ERR_TIMEOUT, SBI_ERR_IO, SBI_ERR_BAD_RANGE, SBI_ERR_INVALID_STATE (#86) 3 тижнів тому
.gitignore 21fd138882 lib: move `sbi-spec` code from rustsbi/sbi-spec repo to rustsbi/rustsbi 1 рік тому
CHANGELOG.md 5b0f889107 spec: binary: implement `From<Error>`, `IntoIterator`, `unwrap_{err_,}unchecked` for `SbiRet` 3 тижнів тому
Cargo.toml 80510ea9a8 Merge remote-tracking branch 'refs/remotes/origin/main' 2 місяців тому
LICENSE-MIT 21fd138882 lib: move `sbi-spec` code from rustsbi/sbi-spec repo to rustsbi/rustsbi 1 рік тому
LICENSE-MULAN 21fd138882 lib: move `sbi-spec` code from rustsbi/sbi-spec repo to rustsbi/rustsbi 1 рік тому
README.md c9443f1b47 spec: readme: rewrite documents in English, add license chapter 3 тижнів тому

README.md

# sbi-spec: RISC-V SBI constants and structures in Rust

CI Latest version issue Documentation license

This library implements the constants and structures defined in the SBI Specification using Rust.

Supported RISC-V SBI extensions

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.

License & Copyright

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