pub struct HvInstructionEmulatorHintsRegister(/* private fields */);
Implementations§
Source§impl HvInstructionEmulatorHintsRegister
impl HvInstructionEmulatorHintsRegister
Sourcepub const fn partition_secure_vtl_enabled(&self) -> bool
pub const fn partition_secure_vtl_enabled(&self) -> bool
Indicates whether any secure VTL is enabled for the partition.
Bits: 0..1
Sourcepub const fn with_partition_secure_vtl_enabled_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_partition_secure_vtl_enabled_checked( self, value: bool, ) -> Result<Self, ()>
Indicates whether any secure VTL is enabled for the partition.
Bits: 0..1
Sourcepub const fn with_partition_secure_vtl_enabled(self, value: bool) -> Self
pub const fn with_partition_secure_vtl_enabled(self, value: bool) -> Self
Indicates whether any secure VTL is enabled for the partition.
Bits: 0..1
Sourcepub const fn set_partition_secure_vtl_enabled(&mut self, value: bool)
pub const fn set_partition_secure_vtl_enabled(&mut self, value: bool)
Indicates whether any secure VTL is enabled for the partition.
Bits: 0..1
Sourcepub const fn set_partition_secure_vtl_enabled_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_partition_secure_vtl_enabled_checked( &mut self, value: bool, ) -> Result<(), ()>
Indicates whether any secure VTL is enabled for the partition.
Bits: 0..1
Sourcepub const fn mbec_user_execute_control(&self) -> bool
pub const fn mbec_user_execute_control(&self) -> bool
Indicates whether kernel or user execute control architecturally applies to execute accesses.
Bits: 1..2
Sourcepub const fn with_mbec_user_execute_control_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_mbec_user_execute_control_checked( self, value: bool, ) -> Result<Self, ()>
Indicates whether kernel or user execute control architecturally applies to execute accesses.
Bits: 1..2
Sourcepub const fn with_mbec_user_execute_control(self, value: bool) -> Self
pub const fn with_mbec_user_execute_control(self, value: bool) -> Self
Indicates whether kernel or user execute control architecturally applies to execute accesses.
Bits: 1..2
Sourcepub const fn set_mbec_user_execute_control(&mut self, value: bool)
pub const fn set_mbec_user_execute_control(&mut self, value: bool)
Indicates whether kernel or user execute control architecturally applies to execute accesses.
Bits: 1..2
Trait Implementations§
Source§impl Clone for HvInstructionEmulatorHintsRegister
impl Clone for HvInstructionEmulatorHintsRegister
Source§fn clone(&self) -> HvInstructionEmulatorHintsRegister
fn clone(&self) -> HvInstructionEmulatorHintsRegister
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl From<HvInstructionEmulatorHintsRegister> for u64
impl From<HvInstructionEmulatorHintsRegister> for u64
Source§fn from(v: HvInstructionEmulatorHintsRegister) -> u64
fn from(v: HvInstructionEmulatorHintsRegister) -> u64
Source§impl From<u64> for HvInstructionEmulatorHintsRegister
impl From<u64> for HvInstructionEmulatorHintsRegister
Source§impl FromBytes for HvInstructionEmulatorHintsRegisterwhere
u64: FromBytes,
impl FromBytes for HvInstructionEmulatorHintsRegisterwhere
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 HvInstructionEmulatorHintsRegisterwhere
u64: FromZeros,
impl FromZeros for HvInstructionEmulatorHintsRegisterwhere
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 IntoBytes for HvInstructionEmulatorHintsRegisterwhere
u64: IntoBytes,
impl IntoBytes for HvInstructionEmulatorHintsRegisterwhere
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 HvInstructionEmulatorHintsRegisterwhere
Self: Sized,
impl KnownLayout for HvInstructionEmulatorHintsRegisterwhere
Self: Sized,
Source§type PointerMetadata = ()
type PointerMetadata = ()
Self
. Read more