Struct simics::api::interface::interfaces::X86Interface
source · pub struct X86Interface {
obj: *mut ConfObject,
interface: *mut x86_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut x86_interface
Implementations§
source§impl X86Interface
impl X86Interface
sourcepub fn set_pin_status(&mut self, pin: x86_pin_t, status: c_int) -> Result<()>
pub fn set_pin_status(&mut self, pin: x86_pin_t, status: c_int) -> Result<()>
Automatically generated method for the interface
sourcepub fn start_up(&mut self, start_address: uint32) -> Result<()>
pub fn start_up(&mut self, start_address: uint32) -> Result<()>
Automatically generated method for the interface
sourcepub fn interrupt(
&mut self,
ack: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>,
data: *mut conf_object_t,
) -> Result<c_int>
pub fn interrupt( &mut self, ack: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>, data: *mut conf_object_t, ) -> Result<c_int>
Automatically generated method for the interface
sourcepub fn uninterrupt(
&mut self,
ack: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>,
) -> Result<()>
pub fn uninterrupt( &mut self, ack: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn has_pending_interrupt(&mut self) -> Result<c_int>
pub fn has_pending_interrupt(&mut self) -> Result<c_int>
Automatically generated method for the interface
sourcepub fn has_waiting_interrupt(&mut self) -> Result<c_int>
pub fn has_waiting_interrupt(&mut self) -> Result<c_int>
Automatically generated method for the interface
sourcepub fn logical_to_linear(
&mut self,
segment: c_int,
addr: logical_address_t,
) -> Result<tagged_linear_address_t>
pub fn logical_to_linear( &mut self, segment: c_int, addr: logical_address_t, ) -> Result<tagged_linear_address_t>
Automatically generated method for the interface
sourcepub fn linear_to_physical(
&mut self,
d_or_i: data_or_instr_t,
addr: linear_address_t,
) -> Result<physical_address_t>
pub fn linear_to_physical( &mut self, d_or_i: data_or_instr_t, addr: linear_address_t, ) -> Result<physical_address_t>
Automatically generated method for the interface
sourcepub fn enter_acpi_c2_state(&mut self) -> Result<()>
pub fn enter_acpi_c2_state(&mut self) -> Result<()>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for X86Interface
impl Interface for X86Interface
source§type InternalInterface = x86_interface
type InternalInterface = x86_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 X86Interface
impl RefUnwindSafe for X86Interface
impl !Send for X86Interface
impl !Sync for X86Interface
impl Unpin for X86Interface
impl UnwindSafe for X86Interface
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