Zhouqi Jiang b7cea6c0e5 feat(rt): use `TriggerMask` structure in sbi-rt DBTR functions пре 1 недеља
..
examples 18154a8e76 feat(spec): add an example for custom SBI error code (#108) пре 1 месец
src b7cea6c0e5 feat(rt): use `TriggerMask` structure in sbi-rt DBTR functions пре 1 недеља
.gitignore 5cb8f954a0 refactor: move the rustsbi library to the `library` directory пре 1 месец
CHANGELOG.md b7cea6c0e5 feat(rt): use `TriggerMask` structure in sbi-rt DBTR functions пре 1 недеља
Cargo.toml 5cb8f954a0 refactor: move the rustsbi library to the `library` directory пре 1 месец
README.md 5cb8f954a0 refactor: move the rustsbi library to the `library` directory пре 1 месец

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