|
@@ -83,11 +83,11 @@ pub mod pmpcfg0 {
|
|
|
#[cfg(riscv64)]
|
|
|
assert!(index < 8);
|
|
|
|
|
|
- PmpByte { byte:self.bits.get_bits(8 * index..8 * (index + 1)) as u8 }
|
|
|
+ PmpByte {
|
|
|
+ byte: self.bits.get_bits(8 * index..8 * (index + 1)) as u8,
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
///Returns pmp[x]cfg configuration structure
|
|
|
#[inline]
|
|
|
pub fn pmp_cfg(&self, index: usize) -> Pmpconfig {
|