aarch32_cpu/register/
bpiall.rs

1//! BPIALL: Invalidate all entries from branch predictors
2
3use crate::register::SysReg;
4
5/// BPIALL: Invalidate all entries from branch predictors
6pub struct BpIAll;
7
8impl SysReg for BpIAll {
9    const CP: u32 = 15;
10    const CRN: u32 = 7;
11    const OP1: u32 = 0;
12    const CRM: u32 = 5;
13    const OP2: u32 = 6;
14}
15
16impl crate::register::SysRegWrite for BpIAll {}
17
18impl BpIAll {
19    #[inline]
20    pub fn write() {
21        unsafe { <Self as crate::register::SysRegWrite>::write_raw(0) }
22    }
23}