Struct aarch64defs::TranslationControlEl1
source · pub struct TranslationControlEl1(/* private fields */);
Expand description
aarch64 TCR_EL1 register
Implementations§
source§impl TranslationControlEl1
impl TranslationControlEl1
sourcepub const fn with_irgn0(self, value: u64) -> Self
pub const fn with_irgn0(self, value: u64) -> Self
Bits: 8..10
sourcepub const fn with_orgn0(self, value: u64) -> Self
pub const fn with_orgn0(self, value: u64) -> Self
Bits: 10..12
sourcepub const fn tg0(&self) -> TranslationGranule0
pub const fn tg0(&self) -> TranslationGranule0
Bits: 14..16
sourcepub const fn with_tg0(self, value: TranslationGranule0) -> Self
pub const fn with_tg0(self, value: TranslationGranule0) -> Self
Bits: 14..16
sourcepub fn set_tg0(&mut self, value: TranslationGranule0)
pub fn set_tg0(&mut self, value: TranslationGranule0)
Bits: 14..16
sourcepub const fn with_irgn1(self, value: u64) -> Self
pub const fn with_irgn1(self, value: u64) -> Self
Bits: 24..26
sourcepub const fn with_orgn1(self, value: u64) -> Self
pub const fn with_orgn1(self, value: u64) -> Self
Bits: 26..28
sourcepub const fn tg1(&self) -> TranslationGranule1
pub const fn tg1(&self) -> TranslationGranule1
Bits: 30..32
sourcepub const fn with_tg1(self, value: TranslationGranule1) -> Self
pub const fn with_tg1(self, value: TranslationGranule1) -> Self
Bits: 30..32
sourcepub fn set_tg1(&mut self, value: TranslationGranule1)
pub fn set_tg1(&mut self, value: TranslationGranule1)
Bits: 30..32
sourcepub const fn ips(&self) -> IntermPhysAddrSize
pub const fn ips(&self) -> IntermPhysAddrSize
Bits: 32..35
sourcepub const fn with_ips(self, value: IntermPhysAddrSize) -> Self
pub const fn with_ips(self, value: IntermPhysAddrSize) -> Self
Bits: 32..35
sourcepub fn set_ips(&mut self, value: IntermPhysAddrSize)
pub fn set_ips(&mut self, value: IntermPhysAddrSize)
Bits: 32..35
sourcepub const fn with_hwu059(self, value: u64) -> Self
pub const fn with_hwu059(self, value: u64) -> Self
Bits: 43..44
sourcepub fn set_hwu059(&mut self, value: u64)
pub fn set_hwu059(&mut self, value: u64)
Bits: 43..44
sourcepub const fn with_hwu060(self, value: u64) -> Self
pub const fn with_hwu060(self, value: u64) -> Self
Bits: 44..45
sourcepub fn set_hwu060(&mut self, value: u64)
pub fn set_hwu060(&mut self, value: u64)
Bits: 44..45
sourcepub const fn with_hwu061(self, value: u64) -> Self
pub const fn with_hwu061(self, value: u64) -> Self
Bits: 45..46
sourcepub fn set_hwu061(&mut self, value: u64)
pub fn set_hwu061(&mut self, value: u64)
Bits: 45..46
sourcepub const fn with_hwu062(self, value: u64) -> Self
pub const fn with_hwu062(self, value: u64) -> Self
Bits: 46..47
sourcepub fn set_hwu062(&mut self, value: u64)
pub fn set_hwu062(&mut self, value: u64)
Bits: 46..47
sourcepub const fn with_hwu159(self, value: u64) -> Self
pub const fn with_hwu159(self, value: u64) -> Self
Bits: 47..48
sourcepub fn set_hwu159(&mut self, value: u64)
pub fn set_hwu159(&mut self, value: u64)
Bits: 47..48
sourcepub const fn with_hwu160(self, value: u64) -> Self
pub const fn with_hwu160(self, value: u64) -> Self
Bits: 48..49
sourcepub fn set_hwu160(&mut self, value: u64)
pub fn set_hwu160(&mut self, value: u64)
Bits: 48..49
sourcepub const fn with_hwu161(self, value: u64) -> Self
pub const fn with_hwu161(self, value: u64) -> Self
Bits: 49..50
sourcepub fn set_hwu161(&mut self, value: u64)
pub fn set_hwu161(&mut self, value: u64)
Bits: 49..50
sourcepub const fn with_hwu162(self, value: u64) -> Self
pub const fn with_hwu162(self, value: u64) -> Self
Bits: 50..51
sourcepub fn set_hwu162(&mut self, value: u64)
pub fn set_hwu162(&mut self, value: u64)
Bits: 50..51
sourcepub const fn with_tbid0(self, value: u64) -> Self
pub const fn with_tbid0(self, value: u64) -> Self
Bits: 51..52
sourcepub const fn with_tbid1(self, value: u64) -> Self
pub const fn with_tbid1(self, value: u64) -> Self
Bits: 52..53
sourcepub const fn with_e0pd0(self, value: u64) -> Self
pub const fn with_e0pd0(self, value: u64) -> Self
Bits: 55..56
sourcepub const fn with_e0pd1(self, value: u64) -> Self
pub const fn with_e0pd1(self, value: u64) -> Self
Bits: 56..57
sourcepub const fn with_tcma0(self, value: u64) -> Self
pub const fn with_tcma0(self, value: u64) -> Self
Bits: 57..58
sourcepub const fn with_tcma1(self, value: u64) -> Self
pub const fn with_tcma1(self, value: u64) -> Self
Bits: 58..59
source§impl TranslationControlEl1
impl TranslationControlEl1
pub fn ttbr0_valid_address_bits(&self) -> u64
pub fn ttbr1_valid_address_bits(&self) -> u64
Trait Implementations§
source§impl Clone for TranslationControlEl1
impl Clone for TranslationControlEl1
source§fn clone(&self) -> TranslationControlEl1
fn clone(&self) -> TranslationControlEl1
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TranslationControlEl1
impl Debug for TranslationControlEl1
source§impl Default for TranslationControlEl1
impl Default for TranslationControlEl1
source§impl From<TranslationControlEl1> for u64
impl From<TranslationControlEl1> for u64
source§fn from(v: TranslationControlEl1) -> u64
fn from(v: TranslationControlEl1) -> u64
Converts to this type from the input type.
source§impl From<u64> for TranslationControlEl1
impl From<u64> for TranslationControlEl1
source§impl PartialEq for TranslationControlEl1
impl PartialEq for TranslationControlEl1
impl Copy for TranslationControlEl1
impl Eq for TranslationControlEl1
impl StructuralPartialEq for TranslationControlEl1
Auto Trait Implementations§
impl Freeze for TranslationControlEl1
impl RefUnwindSafe for TranslationControlEl1
impl Send for TranslationControlEl1
impl Sync for TranslationControlEl1
impl Unpin for TranslationControlEl1
impl UnwindSafe for TranslationControlEl1
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)