pub struct Mhcr { /* private fields */ }
Expand description
mhcr register
Implementations
sourceimpl Mhcr
impl Mhcr
sourcepub fn ie(&self) -> bool
pub fn ie(&self) -> bool
I-cache enable
Platform support
This bit is supported on Xuantie C910, C906, E907, E906 and E902 cores.
sourcepub fn wa(&self) -> bool
pub fn wa(&self) -> bool
Cache write allocate configuration enable
Platform support
This bit is supported on Xuantie C910, C906, E907 and E906 cores.
sourcepub fn wb(&self) -> bool
pub fn wb(&self) -> bool
Write back enable; true for write back, false for write through
Platform support
This bit is supported on Xuantie C910, C906, E907 and E906 cores.
sourcepub fn rs(&self) -> bool
pub fn rs(&self) -> bool
Return stack enable
Platform support
This bit is supported on Xuantie C910, C906, E907 and E906 cores.
sourcepub fn bpe(&self) -> bool
pub fn bpe(&self) -> bool
Branch predict enable
Platform support
This bit is supported on Xuantie C910, C906, E907 and E906 cores.
sourcepub fn btb(&self) -> bool
pub fn btb(&self) -> bool
Branch target buffer enable
Platform support
This bit is supported on Xuantie C910, C906, E907 and E906 cores.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Mhcr
impl Send for Mhcr
impl Sync for Mhcr
impl Unpin for Mhcr
impl UnwindSafe for Mhcr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more