8 releases
| new 0.4.7 | Apr 16, 2026 |
|---|---|
| 0.4.6 | Apr 16, 2026 |
| 0.2.2 | Mar 6, 2026 |
| 0.2.1 | Feb 9, 2026 |
| 0.1.0 | Feb 9, 2026 |
#40 in #hypervisor
28 downloads per month
Used in 3 crates
(2 directly)
21KB
263 lines
riscv_vplic
RISC-V Virtual PLIC implementation
English | 中文
Introduction
riscv_vplic provides RISC-V Virtual PLIC implementation. It is maintained as part of the TGOSKits component set and is intended for Rust projects that integrate with ArceOS, AxVisor, or related low-level systems software.
Quick Start
Installation
Add this crate to your Cargo.toml:
[dependencies]
riscv_vplic = "0.4.2"
Run Check and Test
# Enter the crate directory
cd components/riscv_vplic
# Format code
cargo fmt --all
# Run clippy
cargo clippy --all-targets --all-features
# Run tests
cargo test --all-features
# Build documentation
cargo doc --no-deps
Integration
Example
use riscv_vplic as _;
fn main() {
// Integrate `riscv_vplic` into your project here.
}
Documentation
Generate and view API documentation:
cargo doc --no-deps --open
Online documentation: docs.rs/riscv_vplic
Contributing
- Fork the repository and create a branch
- Run local format and checks
- Run local tests relevant to this crate
- Submit a PR and ensure CI passes
License
Licensed under the Apache License, Version 2.0. See LICENSE for details.
Dependencies
~8MB
~136K SLoC