Skip to main content

ExtendedFeatureIdentification2

Struct ExtendedFeatureIdentification2 

Source
pub struct ExtendedFeatureIdentification2 { /* private fields */ }
Expand description

Extended Feature Identification 2 (LEAF=0x8000_0021).

§Platforms

✅ AMD ❌ Intel

Implementations§

Source§

impl ExtendedFeatureIdentification2

Source

pub fn has_no_nested_data_bp(&self) -> bool

Processor ignores nested data breakpoints if set

Source

pub fn has_lfence_always_serializing(&self) -> bool

LFENCE is always dispatch serializing if set

Source

pub fn has_smm_pg_cfg_lock(&self) -> bool

SMM paging configuration lock supported if set

Source

pub fn has_null_select_clears_base(&self) -> bool

Null segment selector loads also clear the destination segment register base and limit supported if set

Source

pub fn has_upper_address_ignore(&self) -> bool

Upper Address Ignore is supported if set

Source

pub fn has_automatic_ibrs(&self) -> bool

Automatic IBRS if set

Source

pub fn has_no_smm_ctl_msr(&self) -> bool

SMM_CTL MSR (C001_0116h) is not supported if set

Source

pub fn has_prefetch_ctl_msr(&self) -> bool

Prefetch control MSR supported if set

Source

pub fn has_cpuid_user_dis(&self) -> bool

CPUID disable for non-privileged software if set

Source

pub fn microcode_patch_size(&self) -> u16

The size of the Microcode patch in 16-byte multiples. If 0, the size of the patch is at most 5568 (15C0h) bytes.

Trait Implementations§

Source§

impl Debug for ExtendedFeatureIdentification2

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for ExtendedFeatureIdentification2

Source§

impl PartialEq for ExtendedFeatureIdentification2

Source§

fn eq(&self, other: &ExtendedFeatureIdentification2) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ExtendedFeatureIdentification2

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.