Struct simics_api_sys::x86_exception_interface
source · #[repr(C)]pub struct x86_exception_interface {Show 13 fields
pub DE_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t)>,
pub BR_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t)>,
pub UD_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t)>,
pub NM_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t)>,
pub DF_abort: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, desc: *const c_char)>,
pub TS_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, sel: uint16)>,
pub NP_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, sel_vec: uint16, is_vec: bool)>,
pub SS_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, sel: uint16)>,
pub GP_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, sel_vec: uint16, is_vec: bool, desc: *const c_char)>,
pub PF_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, laddr: linear_address_t, ecode: uint32)>,
pub MF_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t)>,
pub AC_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t)>,
pub XM_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t)>,
}
Fields§
§DE_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t)>
§BR_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t)>
§UD_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t)>
§NM_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t)>
§DF_abort: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, desc: *const c_char)>
§TS_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, sel: uint16)>
§NP_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, sel_vec: uint16, is_vec: bool)>
§SS_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, sel: uint16)>
§GP_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, sel_vec: uint16, is_vec: bool, desc: *const c_char)>
§PF_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, laddr: linear_address_t, ecode: uint32)>
§MF_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t)>
§AC_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t)>
§XM_fault: Option<unsafe extern "C" fn(cpu: *mut conf_object_t)>
Trait Implementations§
source§impl Clone for x86_exception_interface
impl Clone for x86_exception_interface
source§fn clone(&self) -> x86_exception_interface
fn clone(&self) -> x86_exception_interface
Returns a copy 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 x86_exception_interface
impl Debug for x86_exception_interface
source§impl Default for x86_exception_interface
impl Default for x86_exception_interface
source§fn default() -> x86_exception_interface
fn default() -> x86_exception_interface
Returns the “default value” for a type. Read more
source§impl Hash for x86_exception_interface
impl Hash for x86_exception_interface
source§impl Ord for x86_exception_interface
impl Ord for x86_exception_interface
source§fn cmp(&self, other: &x86_exception_interface) -> Ordering
fn cmp(&self, other: &x86_exception_interface) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for x86_exception_interface
impl PartialEq for x86_exception_interface
source§impl PartialOrd for x86_exception_interface
impl PartialOrd for x86_exception_interface
impl Copy for x86_exception_interface
impl Eq for x86_exception_interface
impl StructuralPartialEq for x86_exception_interface
Auto Trait Implementations§
impl Freeze for x86_exception_interface
impl RefUnwindSafe for x86_exception_interface
impl Send for x86_exception_interface
impl Sync for x86_exception_interface
impl Unpin for x86_exception_interface
impl UnwindSafe for x86_exception_interface
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)