Support RISC-V ISA extension detection

This commit is contained in:
Zejun Zhao
2025-06-03 00:43:33 +08:00
committed by Tate, Hongliang Tian
parent 0ddc1bb2d2
commit bd24ed9ba7
3 changed files with 375 additions and 0 deletions

View File

@ -3,8 +3,11 @@
//! CPU context & state control and CPU local memory.
pub mod context;
pub mod extension;
pub mod local;
pub use extension::{has_extensions, IsaExtensions};
/// Halts the CPU.
///
/// This function halts the CPU until the next interrupt is received. By