RISC-V MSI Test in Rust
Testing the new MSIs added by the draft Advanced Interrupt Architecture (AIA) specification.
Blog Posts
First blog post: 30-June-2022
Quick Emulator (QEMU)
The MSI controller has been added to the virt
machine to QEMU. This may require you to upgrade your QEMU.
Downloading Rust Toolchain
Make sure the riscv32i-unknown-none-elf target is added.
rustup target add riscv32i-unknown-none-elf
Running
The run.sh
script controls the parameters to QEMU. This is linked to cargo via .cargo/config
Run the test by using cargo:
cargo run
or
cargo run --release