Struct GlaListInfo

Source
pub struct GlaListInfo(/* private fields */);
Expand description

The GlaListInfo is used as a GPR input and output operand of TDG.VP.INVGLA.

It provides the GPA of the GLA list page in private memory, the index of the first entry and the number of entries to be processed.

The GlaListInfo consists of the following fields:

  • Bit 0-8 FIRST_ENTRY: Index of the first entry of the list to be processed.
  • Bit 9-11 RESERVED: Reserved: must be 0.
  • Bit 12-51 LIST_GPA: Bits 51:12 of the guest physical address of the GLA list page, which must be a private GPA.
  • Bit 52-61 NUM_ENTRIES: Number of entries in the GLA list to be processed, must be between 0 through 512.
  • Bit 62-63 RESERVED: Reserved: must be 0.

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.