Struct CBP
pub struct CBP {
_marker: PhantomData<*const ()>,
}Expand description
Cache and branch predictor maintenance operations
Fields§
§_marker: PhantomData<*const ()>Implementations§
§impl CBP
impl CBP
pub fn iciallu(&mut self)
pub fn iciallu(&mut self)
I-cache invalidate all to PoU
pub unsafe fn dcisw(&mut self, set: u16, way: u16)
pub unsafe fn dcisw(&mut self, set: u16, way: u16)
D-cache invalidate by set-way
set is masked to be between 0 and 3, and way between 0 and 511.
pub fn dccsw(&mut self, set: u16, way: u16)
pub fn dccsw(&mut self, set: u16, way: u16)
D-cache clean by set-way
set is masked to be between 0 and 3, and way between 0 and 511.
pub fn dccisw(&mut self, set: u16, way: u16)
pub fn dccisw(&mut self, set: u16, way: u16)
D-cache clean and invalidate by set-way
set is masked to be between 0 and 3, and way between 0 and 511.
pub fn bpiall(&mut self)
pub fn bpiall(&mut self)
Branch predictor invalidate all
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CBP
impl RefUnwindSafe for CBP
impl !Sync for CBP
impl Unpin for CBP
impl UnwindSafe for CBP
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more