Struct panda_sys::CPUX86State

source ·
#[repr(C, align(16))]
pub struct CPUX86State {
Show 150 fields pub regs: [target_ulong; 16], pub eip: target_ulong, pub eflags: target_ulong, pub cc_dst: target_ulong, pub cc_src: target_ulong, pub cc_src2: target_ulong, pub cc_op: u32, pub df: i32, pub hflags: u32, pub hflags2: u32, pub segs: [SegmentCache; 6], pub ldt: SegmentCache, pub tr: SegmentCache, pub gdt: SegmentCache, pub idt: SegmentCache, pub cr: [target_ulong; 5], pub a20_mask: i32, pub bnd_regs: [BNDReg; 4], pub bndcs_regs: BNDCSReg, pub msr_bndcfgs: u64, pub efer: u64, pub start_init_save: CPUX86State__bindgen_ty_1, pub fpstt: c_uint, pub fpus: u16, pub fpuc: u16, pub fptags: [u8; 8], pub __bindgen_padding_0: u64, pub fpregs: [FPReg; 8], pub fpop: u16, pub fpip: u64, pub fpdp: u64, pub fp_status: float_status, pub ft0: floatx80, pub mmx_status: float_status, pub sse_status: float_status, pub mxcsr: u32, pub xmm_regs: [ZMMReg; 32], pub xmm_t0: ZMMReg, pub mmx_t0: MMXReg, pub opmask_regs: [u64; 8], pub sysenter_cs: u32, pub sysenter_esp: target_ulong, pub sysenter_eip: target_ulong, pub star: u64, pub vm_hsave: u64, pub lstar: target_ulong, pub cstar: target_ulong, pub fmask: target_ulong, pub kernelgsbase: target_ulong, pub tsc: u64, pub tsc_adjust: u64, pub tsc_deadline: u64, pub tsc_aux: u64, pub xcr0: u64, pub mcg_status: u64, pub msr_ia32_misc_enable: u64, pub msr_ia32_feature_control: u64, pub msr_fixed_ctr_ctrl: u64, pub msr_global_ctrl: u64, pub msr_global_status: u64, pub msr_global_ovf_ctrl: u64, pub msr_fixed_counters: [u64; 3], pub msr_gp_counters: [u64; 18], pub msr_gp_evtsel: [u64; 18], pub pat: u64, pub smbase: u32, pub pkru: u32, pub end_init_save: CPUX86State__bindgen_ty_2, pub system_time_msr: u64, pub wall_clock_msr: u64, pub steal_time_msr: u64, pub async_pf_en_msr: u64, pub pv_eoi_en_msr: u64, pub msr_hv_hypercall: u64, pub msr_hv_guest_os_id: u64, pub msr_hv_vapic: u64, pub msr_hv_tsc: u64, pub msr_hv_crash_params: [u64; 5], pub msr_hv_runtime: u64, pub msr_hv_synic_control: u64, pub msr_hv_synic_version: u64, pub msr_hv_synic_evt_page: u64, pub msr_hv_synic_msg_page: u64, pub msr_hv_synic_sint: [u64; 16], pub msr_hv_stimer_config: [u64; 4], pub msr_hv_stimer_count: [u64; 4], pub error_code: c_int, pub exception_is_int: c_int, pub exception_next_eip: target_ulong, pub dr: [target_ulong; 8], pub __bindgen_anon_1: CPUX86State__bindgen_ty_3, pub old_exception: c_int, pub vm_vmcb: u64, pub tsc_offset: u64, pub intercept: u64, pub intercept_cr_read: u16, pub intercept_cr_write: u16, pub intercept_dr_read: u16, pub intercept_dr_write: u16, pub intercept_exceptions: u32, pub v_tpr: u8, pub nmi_injected: u8, pub nmi_pending: u8, pub end_reset_fields: CPUX86State__bindgen_ty_4, pub tlb_table: [[CPUTLBEntry; 256]; 3], pub tlb_v_table: [[CPUTLBEntry; 8]; 3], pub iotlb: [[CPUIOTLBEntry; 256]; 3], pub iotlb_v: [[CPUIOTLBEntry; 8]; 3], pub tlb_flush_addr: target_ulong, pub tlb_flush_mask: target_ulong, pub vtlb_index: target_ulong, pub cpuid_min_level: u32, pub cpuid_min_xlevel: u32, pub cpuid_min_xlevel2: u32, pub cpuid_max_level: u32, pub cpuid_max_xlevel: u32, pub cpuid_max_xlevel2: u32, pub cpuid_level: u32, pub cpuid_xlevel: u32, pub cpuid_xlevel2: u32, pub cpuid_vendor1: u32, pub cpuid_vendor2: u32, pub cpuid_vendor3: u32, pub cpuid_version: u32, pub features: FeatureWordArray, pub user_features: FeatureWordArray, pub cpuid_model: [u32; 12], pub mtrr_fixed: [u64; 11], pub mtrr_deftype: u64, pub mtrr_var: [MTRRVar; 8], pub mp_state: u32, pub exception_injected: i32, pub interrupt_injected: i32, pub soft_interrupt: u8, pub has_error_code: u8, pub sipi_vector: u32, pub tsc_valid: bool, pub tsc_khz: i64, pub user_tsc_khz: i64, pub kvm_xsave_buf: *mut c_void, pub mcg_cap: u64, pub mcg_ctl: u64, pub mcg_ext_ctl: u64, pub mce_banks: [u64; 40], pub xstate_bv: u64, pub fpus_vmstate: u16, pub fptag_vmstate: u16, pub fpregs_format_vmstate: u16, pub xss: u64, pub tpr_access_type: TPRAccess,
}

Fields§

§regs: [target_ulong; 16]§eip: target_ulong§eflags: target_ulong§cc_dst: target_ulong§cc_src: target_ulong§cc_src2: target_ulong§cc_op: u32§df: i32§hflags: u32§hflags2: u32§segs: [SegmentCache; 6]§ldt: SegmentCache§tr: SegmentCache§gdt: SegmentCache§idt: SegmentCache§cr: [target_ulong; 5]§a20_mask: i32§bnd_regs: [BNDReg; 4]§bndcs_regs: BNDCSReg§msr_bndcfgs: u64§efer: u64§start_init_save: CPUX86State__bindgen_ty_1§fpstt: c_uint§fpus: u16§fpuc: u16§fptags: [u8; 8]§__bindgen_padding_0: u64§fpregs: [FPReg; 8]§fpop: u16§fpip: u64§fpdp: u64§fp_status: float_status§ft0: floatx80§mmx_status: float_status§sse_status: float_status§mxcsr: u32§xmm_regs: [ZMMReg; 32]§xmm_t0: ZMMReg§mmx_t0: MMXReg§opmask_regs: [u64; 8]§sysenter_cs: u32§sysenter_esp: target_ulong§sysenter_eip: target_ulong§star: u64§vm_hsave: u64§lstar: target_ulong§cstar: target_ulong§fmask: target_ulong§kernelgsbase: target_ulong§tsc: u64§tsc_adjust: u64§tsc_deadline: u64§tsc_aux: u64§xcr0: u64§mcg_status: u64§msr_ia32_misc_enable: u64§msr_ia32_feature_control: u64§msr_fixed_ctr_ctrl: u64§msr_global_ctrl: u64§msr_global_status: u64§msr_global_ovf_ctrl: u64§msr_fixed_counters: [u64; 3]§msr_gp_counters: [u64; 18]§msr_gp_evtsel: [u64; 18]§pat: u64§smbase: u32§pkru: u32§end_init_save: CPUX86State__bindgen_ty_2§system_time_msr: u64§wall_clock_msr: u64§steal_time_msr: u64§async_pf_en_msr: u64§pv_eoi_en_msr: u64§msr_hv_hypercall: u64§msr_hv_guest_os_id: u64§msr_hv_vapic: u64§msr_hv_tsc: u64§msr_hv_crash_params: [u64; 5]§msr_hv_runtime: u64§msr_hv_synic_control: u64§msr_hv_synic_version: u64§msr_hv_synic_evt_page: u64§msr_hv_synic_msg_page: u64§msr_hv_synic_sint: [u64; 16]§msr_hv_stimer_config: [u64; 4]§msr_hv_stimer_count: [u64; 4]§error_code: c_int§exception_is_int: c_int§exception_next_eip: target_ulong§dr: [target_ulong; 8]§__bindgen_anon_1: CPUX86State__bindgen_ty_3§old_exception: c_int§vm_vmcb: u64§tsc_offset: u64§intercept: u64§intercept_cr_read: u16§intercept_cr_write: u16§intercept_dr_read: u16§intercept_dr_write: u16§intercept_exceptions: u32§v_tpr: u8§nmi_injected: u8§nmi_pending: u8§end_reset_fields: CPUX86State__bindgen_ty_4§tlb_table: [[CPUTLBEntry; 256]; 3]§tlb_v_table: [[CPUTLBEntry; 8]; 3]§iotlb: [[CPUIOTLBEntry; 256]; 3]§iotlb_v: [[CPUIOTLBEntry; 8]; 3]§tlb_flush_addr: target_ulong§tlb_flush_mask: target_ulong§vtlb_index: target_ulong§cpuid_min_level: u32§cpuid_min_xlevel: u32§cpuid_min_xlevel2: u32§cpuid_max_level: u32§cpuid_max_xlevel: u32§cpuid_max_xlevel2: u32§cpuid_level: u32§cpuid_xlevel: u32§cpuid_xlevel2: u32§cpuid_vendor1: u32§cpuid_vendor2: u32§cpuid_vendor3: u32§cpuid_version: u32§features: FeatureWordArray§user_features: FeatureWordArray§cpuid_model: [u32; 12]§mtrr_fixed: [u64; 11]§mtrr_deftype: u64§mtrr_var: [MTRRVar; 8]§mp_state: u32§exception_injected: i32§interrupt_injected: i32§soft_interrupt: u8§has_error_code: u8§sipi_vector: u32§tsc_valid: bool§tsc_khz: i64§user_tsc_khz: i64§kvm_xsave_buf: *mut c_void§mcg_cap: u64§mcg_ctl: u64§mcg_ext_ctl: u64§mce_banks: [u64; 40]§xstate_bv: u64§fpus_vmstate: u16§fptag_vmstate: u16§fpregs_format_vmstate: u16§xss: u64§tpr_access_type: TPRAccess

Trait Implementations§

source§

impl Clone for CPUX86State

source§

fn clone(&self) -> CPUX86State

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for CPUX86State

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> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

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>,

§

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.