Struct simics::api::interface::interfaces::X86RegAccessInterface
source · pub struct X86RegAccessInterface {
obj: *mut ConfObject,
interface: *mut x86_reg_access_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut x86_reg_access_interface
Implementations§
source§impl X86RegAccessInterface
impl X86RegAccessInterface
sourcepub fn get_gpr(&mut self, index: c_uint) -> Result<uint64>
pub fn get_gpr(&mut self, index: c_uint) -> Result<uint64>
Automatically generated method for the interface
sourcepub fn set_gpr(&mut self, index: c_uint, val: uint64) -> Result<()>
pub fn set_gpr(&mut self, index: c_uint, val: uint64) -> Result<()>
Automatically generated method for the interface
sourcepub fn set_rip(&mut self, rip: uint64) -> Result<()>
pub fn set_rip(&mut self, rip: uint64) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_rflags(&mut self) -> Result<uint64>
pub fn get_rflags(&mut self) -> Result<uint64>
Automatically generated method for the interface
sourcepub fn set_rflags(&mut self, rflags: uint64) -> Result<()>
pub fn set_rflags(&mut self, rflags: uint64) -> Result<()>
Automatically generated method for the interface
sourcepub fn set_status_flags(&mut self, flags: uint16) -> Result<()>
pub fn set_status_flags(&mut self, flags: uint16) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_seg(&mut self, n: x86_seg_t) -> Result<x86_seg_reg_t>
pub fn get_seg(&mut self, n: x86_seg_t) -> Result<x86_seg_reg_t>
Automatically generated method for the interface
sourcepub fn set_seg(&mut self, n: x86_seg_t, seg: x86_seg_reg_t) -> Result<()>
pub fn set_seg(&mut self, n: x86_seg_t, seg: x86_seg_reg_t) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_system_seg(
&mut self,
n: x86_system_seg_t,
) -> Result<x86_system_seg_reg_t>
pub fn get_system_seg( &mut self, n: x86_system_seg_t, ) -> Result<x86_system_seg_reg_t>
Automatically generated method for the interface
sourcepub fn set_system_seg(
&mut self,
n: x86_system_seg_t,
seg: x86_system_seg_reg_t,
) -> Result<()>
pub fn set_system_seg( &mut self, n: x86_system_seg_t, seg: x86_system_seg_reg_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_cr(&mut self, n: x86_cr_t) -> Result<uint64>
pub fn get_cr(&mut self, n: x86_cr_t) -> Result<uint64>
Automatically generated method for the interface
sourcepub fn set_cr(&mut self, n: x86_cr_t, val: uint64) -> Result<()>
pub fn set_cr(&mut self, n: x86_cr_t, val: uint64) -> Result<()>
Automatically generated method for the interface
sourcepub fn set_efer(&mut self, efer: uint64) -> Result<()>
pub fn set_efer(&mut self, efer: uint64) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_xcr(&mut self, n: x86_xcr_t) -> Result<uint64>
pub fn get_xcr(&mut self, n: x86_xcr_t) -> Result<uint64>
Automatically generated method for the interface
sourcepub fn set_xcr(&mut self, n: x86_xcr_t, val: uint64) -> Result<()>
pub fn set_xcr(&mut self, n: x86_xcr_t, val: uint64) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_freg(&mut self, index: c_uint) -> Result<x86_fpu_reg_t>
pub fn get_freg(&mut self, index: c_uint) -> Result<x86_fpu_reg_t>
Automatically generated method for the interface
sourcepub fn set_freg(&mut self, index: c_uint, freg: x86_fpu_reg_t) -> Result<()>
pub fn set_freg(&mut self, index: c_uint, freg: x86_fpu_reg_t) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_fpu_env(&mut self) -> Result<x86_fpu_env_t>
pub fn get_fpu_env(&mut self) -> Result<x86_fpu_env_t>
Automatically generated method for the interface
sourcepub fn set_fpu_env(&mut self, state: x86_fpu_env_t) -> Result<()>
pub fn set_fpu_env(&mut self, state: x86_fpu_env_t) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_xmm(&mut self, index: c_uint) -> Result<xmm_reg_t>
pub fn get_xmm(&mut self, index: c_uint) -> Result<xmm_reg_t>
Automatically generated method for the interface
sourcepub fn set_xmm(&mut self, index: c_uint, val: xmm_reg_t) -> Result<()>
pub fn set_xmm(&mut self, index: c_uint, val: xmm_reg_t) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_ymm(&mut self, index: c_uint) -> Result<ymm_reg_t>
pub fn get_ymm(&mut self, index: c_uint) -> Result<ymm_reg_t>
Automatically generated method for the interface
sourcepub fn set_ymm(&mut self, index: c_uint, val: ymm_reg_t) -> Result<()>
pub fn set_ymm(&mut self, index: c_uint, val: ymm_reg_t) -> Result<()>
Automatically generated method for the interface
sourcepub fn set_mxcsr(&mut self, mxcsr: uint32) -> Result<()>
pub fn set_mxcsr(&mut self, mxcsr: uint32) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_dr(&mut self, n: x86_dr_t) -> Result<uint64>
pub fn get_dr(&mut self, n: x86_dr_t) -> Result<uint64>
Automatically generated method for the interface
sourcepub fn set_dr(&mut self, n: x86_dr_t, val: uint64) -> Result<()>
pub fn set_dr(&mut self, n: x86_dr_t, val: uint64) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_in_smm(&mut self) -> Result<bool>
pub fn get_in_smm(&mut self) -> Result<bool>
Automatically generated method for the interface
sourcepub fn set_in_smm(&mut self, val: bool) -> Result<()>
pub fn set_in_smm(&mut self, val: bool) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_smm_base(&mut self) -> Result<uint64>
pub fn get_smm_base(&mut self) -> Result<uint64>
Automatically generated method for the interface
sourcepub fn set_smm_base(&mut self, val: uint64) -> Result<()>
pub fn set_smm_base(&mut self, val: uint64) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_monitor_info(&mut self) -> Result<x86_monitor_info_t>
pub fn get_monitor_info(&mut self) -> Result<x86_monitor_info_t>
Automatically generated method for the interface
sourcepub fn set_monitor_info(&mut self, val: x86_monitor_info_t) -> Result<()>
pub fn set_monitor_info(&mut self, val: x86_monitor_info_t) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_mwait_info(&mut self) -> Result<x86_mwait_info_t>
pub fn get_mwait_info(&mut self) -> Result<x86_mwait_info_t>
Automatically generated method for the interface
sourcepub fn set_mwait_info(&mut self, val: x86_mwait_info_t) -> Result<()>
pub fn set_mwait_info(&mut self, val: x86_mwait_info_t) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_activity_state(&mut self) -> Result<x86_activity_t>
pub fn get_activity_state(&mut self) -> Result<x86_activity_t>
Automatically generated method for the interface
sourcepub fn set_activity_state(&mut self, val: x86_activity_t) -> Result<()>
pub fn set_activity_state(&mut self, val: x86_activity_t) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_interruptibility_state(&mut self) -> Result<x86_intstate_t>
pub fn get_interruptibility_state(&mut self) -> Result<x86_intstate_t>
Automatically generated method for the interface
sourcepub fn set_interruptibility_state(&mut self, val: x86_intstate_t) -> Result<()>
pub fn set_interruptibility_state(&mut self, val: x86_intstate_t) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_pending_debug_exc(&mut self) -> Result<x86_pending_debug_exc_t>
pub fn get_pending_debug_exc(&mut self) -> Result<x86_pending_debug_exc_t>
Automatically generated method for the interface
sourcepub fn set_pending_debug_exc(
&mut self,
val: x86_pending_debug_exc_t,
) -> Result<()>
pub fn set_pending_debug_exc( &mut self, val: x86_pending_debug_exc_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_xmode_info(&mut self) -> Result<x86_xmode_info_t>
pub fn get_xmode_info(&mut self) -> Result<x86_xmode_info_t>
Automatically generated method for the interface
sourcepub fn get_exec_mode(&mut self) -> Result<x86_exec_mode_t>
pub fn get_exec_mode(&mut self) -> Result<x86_exec_mode_t>
Automatically generated method for the interface
sourcepub fn get_mxcsr_mask(&mut self) -> Result<uint32>
pub fn get_mxcsr_mask(&mut self) -> Result<uint32>
Automatically generated method for the interface
sourcepub fn get_ext_state_dirty_bits(&mut self) -> Result<uint64>
pub fn get_ext_state_dirty_bits(&mut self) -> Result<uint64>
Automatically generated method for the interface
sourcepub fn or_ext_state_dirty_bits(&mut self, dirty_bits: uint64) -> Result<()>
pub fn or_ext_state_dirty_bits(&mut self, dirty_bits: uint64) -> Result<()>
Automatically generated method for the interface
sourcepub fn and_ext_state_dirty_bits(&mut self, dirty_bits: uint64) -> Result<()>
pub fn and_ext_state_dirty_bits(&mut self, dirty_bits: uint64) -> Result<()>
Automatically generated method for the interface