Struct simics::api::interface::interfaces::X86ExceptionInterface
source · pub struct X86ExceptionInterface {
obj: *mut ConfObject,
interface: *mut x86_exception_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut x86_exception_interface
Implementations§
source§impl X86ExceptionInterface
impl X86ExceptionInterface
sourcepub fn DF_abort(&mut self, desc: *const c_char) -> Result<()>
pub fn DF_abort(&mut self, desc: *const c_char) -> Result<()>
Automatically generated method for the interface
sourcepub fn TS_fault(&mut self, sel: uint16) -> Result<()>
pub fn TS_fault(&mut self, sel: uint16) -> Result<()>
Automatically generated method for the interface
sourcepub fn NP_fault(&mut self, sel_vec: uint16, is_vec: bool) -> Result<()>
pub fn NP_fault(&mut self, sel_vec: uint16, is_vec: bool) -> Result<()>
Automatically generated method for the interface
sourcepub fn SS_fault(&mut self, sel: uint16) -> Result<()>
pub fn SS_fault(&mut self, sel: uint16) -> Result<()>
Automatically generated method for the interface
sourcepub fn GP_fault(
&mut self,
sel_vec: uint16,
is_vec: bool,
desc: *const c_char,
) -> Result<()>
pub fn GP_fault( &mut self, sel_vec: uint16, is_vec: bool, desc: *const c_char, ) -> Result<()>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for X86ExceptionInterface
impl Interface for X86ExceptionInterface
source§const NAME: &'static [u8] = crate::api::sys::X86_EXCEPTION_INTERFACE
const NAME: &'static [u8] = crate::api::sys::X86_EXCEPTION_INTERFACE
The name of the interface
source§type InternalInterface = x86_exception_interface
type InternalInterface = x86_exception_interface
The inner interface type, which is a struct of nullable extern “C” function pointers
and must be default constructable as all NULL pointers (i.e. None values)
source§type Name = &'static [u8]
type Name = &'static [u8]
The type of the name of the interface, must be convertible to raw C string to pass to
the simulator
source§fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
Create a new instance of this interface
Auto Trait Implementations§
impl Freeze for X86ExceptionInterface
impl RefUnwindSafe for X86ExceptionInterface
impl !Send for X86ExceptionInterface
impl !Sync for X86ExceptionInterface
impl Unpin for X86ExceptionInterface
impl UnwindSafe for X86ExceptionInterface
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