1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use crate::Result; pub mod msip; pub mod mtime; pub mod mtimecmp; /// Creates the RISC-V CLINT register definitions. pub fn create(harts: usize) -> Result<Vec<svd::RegisterCluster>> { Ok([ msip::create(harts)?, mtimecmp::create(harts)?, mtime::create()?, ] .into()) }