pub struct PasidTableEntryHi(/* private fields */);Expand description
PASID-table bits 127:64.
Implementations§
Source§impl PasidTableEntryHi
impl PasidTableEntryHi
Sourcepub const fn did(&self) -> u16
pub const fn did(&self) -> u16
Domain identifier (all 16 bits supported, including zero with CM=0).
Bits: 0..16
Sourcepub const fn with_did_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_did_checked(self, value: u16) -> Result<Self, ()>
Domain identifier (all 16 bits supported, including zero with CM=0).
Bits: 0..16
Sourcepub const fn with_did(self, value: u16) -> Self
pub const fn with_did(self, value: u16) -> Self
Domain identifier (all 16 bits supported, including zero with CM=0).
Bits: 0..16
Sourcepub const fn set_did(&mut self, value: u16)
pub const fn set_did(&mut self, value: u16)
Domain identifier (all 16 bits supported, including zero with CM=0).
Bits: 0..16
Sourcepub const fn set_did_checked(&mut self, value: u16) -> Result<(), ()>
pub const fn set_did_checked(&mut self, value: u16) -> Result<(), ()>
Domain identifier (all 16 bits supported, including zero with CM=0).
Bits: 0..16
Sourcepub const fn with_pwsnp_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_pwsnp_checked(self, value: bool) -> Result<Self, ()>
Page-walk snoop, full-entry bit 87.
Bits: 23..24
Sourcepub const fn with_pwsnp(self, value: bool) -> Self
pub const fn with_pwsnp(self, value: bool) -> Self
Page-walk snoop, full-entry bit 87.
Bits: 23..24
Sourcepub const fn set_pwsnp(&mut self, value: bool)
pub const fn set_pwsnp(&mut self, value: bool)
Page-walk snoop, full-entry bit 87.
Bits: 23..24
Sourcepub const fn set_pwsnp_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_pwsnp_checked(&mut self, value: bool) -> Result<(), ()>
Page-walk snoop, full-entry bit 87.
Bits: 23..24
Sourcepub const fn pgsnp(&self) -> bool
pub const fn pgsnp(&self) -> bool
Page snoop, full-entry bit 88 (supported with ECAP.SC).
Bits: 24..25
Sourcepub const fn with_pgsnp_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_pgsnp_checked(self, value: bool) -> Result<Self, ()>
Page snoop, full-entry bit 88 (supported with ECAP.SC).
Bits: 24..25
Sourcepub const fn with_pgsnp(self, value: bool) -> Self
pub const fn with_pgsnp(self, value: bool) -> Self
Page snoop, full-entry bit 88 (supported with ECAP.SC).
Bits: 24..25
Sourcepub const fn set_pgsnp(&mut self, value: bool)
pub const fn set_pgsnp(&mut self, value: bool)
Page snoop, full-entry bit 88 (supported with ECAP.SC).
Bits: 24..25
Sourcepub const fn set_pgsnp_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_pgsnp_checked(&mut self, value: bool) -> Result<(), ()>
Page snoop, full-entry bit 88 (supported with ECAP.SC).
Bits: 24..25
Sourcepub const fn cd(&self) -> bool
pub const fn cd(&self) -> bool
Cache disable; reserved-zero without memory-type support.
Bits: 25..26
Sourcepub const fn with_cd_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_cd_checked(self, value: bool) -> Result<Self, ()>
Cache disable; reserved-zero without memory-type support.
Bits: 25..26
Sourcepub const fn with_cd(self, value: bool) -> Self
pub const fn with_cd(self, value: bool) -> Self
Cache disable; reserved-zero without memory-type support.
Bits: 25..26
Sourcepub const fn set_cd(&mut self, value: bool)
pub const fn set_cd(&mut self, value: bool)
Cache disable; reserved-zero without memory-type support.
Bits: 25..26
Sourcepub const fn set_cd_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_cd_checked(&mut self, value: bool) -> Result<(), ()>
Cache disable; reserved-zero without memory-type support.
Bits: 25..26
Sourcepub const fn emte(&self) -> bool
pub const fn emte(&self) -> bool
Extended memory type enable; reserved-zero without memory-type support.
Bits: 26..27
Sourcepub const fn with_emte_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_emte_checked(self, value: bool) -> Result<Self, ()>
Extended memory type enable; reserved-zero without memory-type support.
Bits: 26..27
Sourcepub const fn with_emte(self, value: bool) -> Self
pub const fn with_emte(self, value: bool) -> Self
Extended memory type enable; reserved-zero without memory-type support.
Bits: 26..27
Sourcepub const fn set_emte(&mut self, value: bool)
pub const fn set_emte(&mut self, value: bool)
Extended memory type enable; reserved-zero without memory-type support.
Bits: 26..27
Sourcepub const fn set_emte_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_emte_checked(&mut self, value: bool) -> Result<(), ()>
Extended memory type enable; reserved-zero without memory-type support.
Bits: 26..27
Sourcepub const fn pat(&self) -> u32
pub const fn pat(&self) -> u32
Page attribute table; reserved-zero without memory-type support.
Bits: 32..64
Sourcepub const fn with_pat_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_pat_checked(self, value: u32) -> Result<Self, ()>
Page attribute table; reserved-zero without memory-type support.
Bits: 32..64
Sourcepub const fn with_pat(self, value: u32) -> Self
pub const fn with_pat(self, value: u32) -> Self
Page attribute table; reserved-zero without memory-type support.
Bits: 32..64
Trait Implementations§
Source§impl Clone for PasidTableEntryHi
impl Clone for PasidTableEntryHi
Source§fn clone(&self) -> PasidTableEntryHi
fn clone(&self) -> PasidTableEntryHi
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PasidTableEntryHi
impl Debug for PasidTableEntryHi
Source§impl Default for PasidTableEntryHi
impl Default for PasidTableEntryHi
Source§impl From<PasidTableEntryHi> for u64
impl From<PasidTableEntryHi> for u64
Source§fn from(v: PasidTableEntryHi) -> u64
fn from(v: PasidTableEntryHi) -> u64
Source§impl From<u64> for PasidTableEntryHi
impl From<u64> for PasidTableEntryHi
Source§impl FromBytes for PasidTableEntryHiwhere
u64: FromBytes,
impl FromBytes for PasidTableEntryHiwhere
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 PasidTableEntryHiwhere
u64: FromZeros,
impl FromZeros for PasidTableEntryHiwhere
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 PasidTableEntryHi
impl Inspect for PasidTableEntryHi
Source§impl IntoBytes for PasidTableEntryHiwhere
u64: IntoBytes,
impl IntoBytes for PasidTableEntryHiwhere
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 PasidTableEntryHiwhere
Self: Sized,
impl KnownLayout for PasidTableEntryHiwhere
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