#[repr(C)]pub struct GhcbSaveArea {Show 38 fields
pub reserved_0x0: [u8; 203],
pub cpl: u8,
pub reserved_0xcc: [u8; 116],
pub xss: u64,
pub reserved_0x148: [u8; 24],
pub dr7: u64,
pub reserved_0x168: [u8; 16],
pub rip: u64,
pub reserved_0x180: [u8; 88],
pub rsp: u64,
pub reserved_0x1e0: [u8; 24],
pub rax: u64,
pub reserved_0x200: [u8; 264],
pub rcx: u64,
pub rdx: u64,
pub rbx: u64,
pub reserved_0x320: [u8; 8],
pub rbp: u64,
pub rsi: u64,
pub rdi: u64,
pub r8: u64,
pub r9: u64,
pub r10: u64,
pub r11: u64,
pub r12: u64,
pub r13: u64,
pub r14: u64,
pub r15: u64,
pub reserved_0x380: [u8; 16],
pub sw_exit_code: u64,
pub sw_exit_info1: u64,
pub sw_exit_info2: u64,
pub sw_scratch: u64,
pub reserved_0x3b0: [u8; 56],
pub xcr0: u64,
pub valid_bitmap0: u64,
pub valid_bitmap1: u64,
pub x87_state_gpa: u64,
}Fields§
§reserved_0x0: [u8; 203]§cpl: u8§reserved_0xcc: [u8; 116]§xss: u64§reserved_0x148: [u8; 24]§dr7: u64§reserved_0x168: [u8; 16]§rip: u64§reserved_0x180: [u8; 88]§rsp: u64§reserved_0x1e0: [u8; 24]§rax: u64§reserved_0x200: [u8; 264]§rcx: u64§rdx: u64§rbx: u64§reserved_0x320: [u8; 8]§rbp: u64§rsi: u64§rdi: u64§r8: u64§r9: u64§r10: u64§r11: u64§r12: u64§r13: u64§r14: u64§r15: u64§reserved_0x380: [u8; 16]§sw_exit_code: u64§sw_exit_info1: u64§sw_exit_info2: u64§sw_scratch: u64§reserved_0x3b0: [u8; 56]§xcr0: u64§valid_bitmap0: u64§valid_bitmap1: u64§x87_state_gpa: u64Trait Implementations§
Source§impl Clone for GhcbSaveArea
impl Clone for GhcbSaveArea
Source§fn clone(&self) -> GhcbSaveArea
fn clone(&self) -> GhcbSaveArea
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GhcbSaveArea
impl Debug for GhcbSaveArea
Source§impl FromBytes for GhcbSaveArea
impl FromBytes for GhcbSaveArea
Source§impl FromZeros for GhcbSaveArea
impl FromZeros for GhcbSaveArea
§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Creates an instance of
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,
Creates a
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,
Creates a
Vec<Self> from zeroed bytes. Read moreSource§impl IntoBytes for GhcbSaveArea
impl IntoBytes for GhcbSaveArea
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§impl TryFromBytes for GhcbSaveArea
impl TryFromBytes for GhcbSaveArea
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for GhcbSaveArea
Auto Trait Implementations§
impl Freeze for GhcbSaveArea
impl RefUnwindSafe for GhcbSaveArea
impl Send for GhcbSaveArea
impl Sync for GhcbSaveArea
impl Unpin for GhcbSaveArea
impl UnsafeUnpin for GhcbSaveArea
impl UnwindSafe for GhcbSaveArea
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more