#[repr(u8)]pub enum PhysicalAddressSize {
Pa32Bits = 0,
Pa36Bits = 1,
Pa40Bits = 2,
Pa42Bits = 3,
Pa44Bits = 4,
Pa48Bits = 5,
Pa52Bits = 6,
Pa56Bits = 7,
}Expand description
Physical address size.
The same encoding is used by several registers, including system registers TCR_EL1.IPS, TCR_EL2.PS, and the feature register ID_AA64MMFR0_EL1.PARange.
[arm/v9]: D24.2.82 ID_AA64MMFR0_EL1, AArch64 Memory Model Feature Register 0 [arm/v9]: D24.2.182 Translation Control Register (EL1) [arm/v9]: D24.2.183 Translation Control Register (EL2)
Variants§
Pa32Bits = 0
Pa36Bits = 1
Pa40Bits = 2
Pa42Bits = 3
Pa44Bits = 4
Pa48Bits = 5
Pa52Bits = 6
Pa56Bits = 7
Trait Implementations§
Source§impl Clone for PhysicalAddressSize
impl Clone for PhysicalAddressSize
Source§fn clone(&self) -> PhysicalAddressSize
fn clone(&self) -> PhysicalAddressSize
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PhysicalAddressSize
Source§impl Debug for PhysicalAddressSize
impl Debug for PhysicalAddressSize
impl Eq for PhysicalAddressSize
impl Immutable for PhysicalAddressSize
Source§impl IntoBytes for PhysicalAddressSizewhere
(): PaddingFree<Self, { _ }>,
impl IntoBytes for PhysicalAddressSizewhere
(): PaddingFree<Self, { _ }>,
Source§impl PartialEq for PhysicalAddressSize
impl PartialEq for PhysicalAddressSize
impl StructuralPartialEq for PhysicalAddressSize
Source§impl TryFromBytes for PhysicalAddressSize
impl TryFromBytes for PhysicalAddressSize
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for PhysicalAddressSize
impl RefUnwindSafe for PhysicalAddressSize
impl Send for PhysicalAddressSize
impl Sync for PhysicalAddressSize
impl Unpin for PhysicalAddressSize
impl UnsafeUnpin for PhysicalAddressSize
impl UnwindSafe for PhysicalAddressSize
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)