aarch32_cpu/register/tlbiall.rs
1//! TLBIALL (*TLB Invalidate All Register*)
2
3use crate::register::SysReg;
4
5/// TLBIALL (*TLB Invalidate All Register*)
6pub struct TlbIAll;
7
8impl SysReg for TlbIAll {
9 const CP: u32 = 15;
10 const CRN: u32 = 8;
11 const OP1: u32 = 0;
12 const CRM: u32 = 7;
13 const OP2: u32 = 0;
14}
15
16impl crate::register::SysRegWrite for TlbIAll {}
17
18impl TlbIAll {
19 #[inline]
20 pub fn write() {
21 unsafe { <Self as crate::register::SysRegWrite>::write_raw(0) }
22 }
23}