pub struct PasidTableEntryLo(/* private fields */);Expand description
PASID-table bits 63:0.
Implementations§
Source§impl PasidTableEntryLo
impl PasidTableEntryLo
Sourcepub const fn with_p_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_p_checked(self, value: bool) -> Result<Self, ()>
Present.
Bits: 0..1
Sourcepub const fn fpd(&self) -> bool
pub const fn fpd(&self) -> bool
Evaluated even when P=0; OR with context and directory FPD.
Bits: 1..2
Sourcepub const fn with_fpd_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_fpd_checked(self, value: bool) -> Result<Self, ()>
Evaluated even when P=0; OR with context and directory FPD.
Bits: 1..2
Sourcepub const fn with_fpd(self, value: bool) -> Self
pub const fn with_fpd(self, value: bool) -> Self
Evaluated even when P=0; OR with context and directory FPD.
Bits: 1..2
Sourcepub const fn set_fpd(&mut self, value: bool)
pub const fn set_fpd(&mut self, value: bool)
Evaluated even when P=0; OR with context and directory FPD.
Bits: 1..2
Sourcepub const fn set_fpd_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_fpd_checked(&mut self, value: bool) -> Result<(), ()>
Evaluated even when P=0; OR with context and directory FPD.
Bits: 1..2
Sourcepub const fn with_aw_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_aw_checked(self, value: u8) -> Result<Self, ()>
Second-stage address width; ignored for pass-through.
Bits: 2..5
Sourcepub const fn with_aw(self, value: u8) -> Self
pub const fn with_aw(self, value: u8) -> Self
Second-stage address width; ignored for pass-through.
Bits: 2..5
Sourcepub const fn set_aw(&mut self, value: u8)
pub const fn set_aw(&mut self, value: u8)
Second-stage address width; ignored for pass-through.
Bits: 2..5
Sourcepub const fn set_aw_checked(&mut self, value: u8) -> Result<(), ()>
pub const fn set_aw_checked(&mut self, value: u8) -> Result<(), ()>
Second-stage address width; ignored for pass-through.
Bits: 2..5
Sourcepub const fn pgtt(&self) -> u8
pub const fn pgtt(&self) -> u8
PASID granular translation type; see PasidTranslationType.
Bits: 6..9
Sourcepub const fn with_pgtt_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_pgtt_checked(self, value: u8) -> Result<Self, ()>
PASID granular translation type; see PasidTranslationType.
Bits: 6..9
Sourcepub const fn with_pgtt(self, value: u8) -> Self
pub const fn with_pgtt(self, value: u8) -> Self
PASID granular translation type; see PasidTranslationType.
Bits: 6..9
Sourcepub const fn set_pgtt(&mut self, value: u8)
pub const fn set_pgtt(&mut self, value: u8)
PASID granular translation type; see PasidTranslationType.
Bits: 6..9
Sourcepub const fn set_pgtt_checked(&mut self, value: u8) -> Result<(), ()>
pub const fn set_pgtt_checked(&mut self, value: u8) -> Result<(), ()>
PASID granular translation type; see PasidTranslationType.
Bits: 6..9
Sourcepub const fn ssade(&self) -> bool
pub const fn ssade(&self) -> bool
Second Stage Access/Dirty bit Enable (SSADE, bit 9). Enables hardware updates of accessed and leaf dirty flags in the referenced second-stage paging entries; ignored for pass-through.
Bits: 9..10
Sourcepub const fn with_ssade_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_ssade_checked(self, value: bool) -> Result<Self, ()>
Second Stage Access/Dirty bit Enable (SSADE, bit 9). Enables hardware updates of accessed and leaf dirty flags in the referenced second-stage paging entries; ignored for pass-through.
Bits: 9..10
Sourcepub const fn with_ssade(self, value: bool) -> Self
pub const fn with_ssade(self, value: bool) -> Self
Second Stage Access/Dirty bit Enable (SSADE, bit 9). Enables hardware updates of accessed and leaf dirty flags in the referenced second-stage paging entries; ignored for pass-through.
Bits: 9..10
Sourcepub const fn set_ssade(&mut self, value: bool)
pub const fn set_ssade(&mut self, value: bool)
Second Stage Access/Dirty bit Enable (SSADE, bit 9). Enables hardware updates of accessed and leaf dirty flags in the referenced second-stage paging entries; ignored for pass-through.
Bits: 9..10
Sourcepub const fn set_ssade_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_ssade_checked(&mut self, value: bool) -> Result<(), ()>
Second Stage Access/Dirty bit Enable (SSADE, bit 9). Enables hardware updates of accessed and leaf dirty flags in the referenced second-stage paging entries; ignored for pass-through.
Bits: 9..10
Sourcepub const fn ssptptr(&self) -> u64
pub const fn ssptptr(&self) -> u64
Second-stage root address, bits 63:12; ignored for pass-through except that bits above HAW remain reserved.
Bits: 12..64
Sourcepub const fn with_ssptptr_checked(self, value: u64) -> Result<Self, ()>
pub const fn with_ssptptr_checked(self, value: u64) -> Result<Self, ()>
Second-stage root address, bits 63:12; ignored for pass-through except that bits above HAW remain reserved.
Bits: 12..64
Sourcepub const fn with_ssptptr(self, value: u64) -> Self
pub const fn with_ssptptr(self, value: u64) -> Self
Second-stage root address, bits 63:12; ignored for pass-through except that bits above HAW remain reserved.
Bits: 12..64
Sourcepub const fn set_ssptptr(&mut self, value: u64)
pub const fn set_ssptptr(&mut self, value: u64)
Second-stage root address, bits 63:12; ignored for pass-through except that bits above HAW remain reserved.
Bits: 12..64
Trait Implementations§
Source§impl Clone for PasidTableEntryLo
impl Clone for PasidTableEntryLo
Source§fn clone(&self) -> PasidTableEntryLo
fn clone(&self) -> PasidTableEntryLo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PasidTableEntryLo
impl Debug for PasidTableEntryLo
Source§impl Default for PasidTableEntryLo
impl Default for PasidTableEntryLo
Source§impl From<PasidTableEntryLo> for u64
impl From<PasidTableEntryLo> for u64
Source§fn from(v: PasidTableEntryLo) -> u64
fn from(v: PasidTableEntryLo) -> u64
Source§impl From<u64> for PasidTableEntryLo
impl From<u64> for PasidTableEntryLo
Source§impl FromBytes for PasidTableEntryLowhere
u64: FromBytes,
impl FromBytes for PasidTableEntryLowhere
u64: FromBytes,
§fn ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
fn ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
§fn ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
fn ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
§fn ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: Immutable + KnownLayout,
fn ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: Immutable + KnownLayout,
&Self. Read more§fn mut_from_bytes(
source: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
fn mut_from_bytes(
source: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
§fn mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
fn mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
§fn mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
fn mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
Source§impl FromZeros for PasidTableEntryLowhere
u64: FromZeros,
impl FromZeros for PasidTableEntryLowhere
u64: FromZeros,
§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Self from zeroed bytes. Read more§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Box<Self> from zeroed bytes. Read more§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Vec<Self> from zeroed bytes. Read moreSource§impl Inspect for PasidTableEntryLo
impl Inspect for PasidTableEntryLo
Source§impl IntoBytes for PasidTableEntryLowhere
u64: IntoBytes,
impl IntoBytes for PasidTableEntryLowhere
u64: IntoBytes,
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl KnownLayout for PasidTableEntryLowhere
Self: Sized,
impl KnownLayout for PasidTableEntryLowhere
Self: Sized,
Source§type PointerMetadata = ()
type PointerMetadata = ()
Self. Read more§fn size_for_metadata(meta: Self::PointerMetadata) -> Option<usize>
fn size_for_metadata(meta: Self::PointerMetadata) -> Option<usize>
Self with the given pointer
metadata. Read more