Struct simics_api_sys::bindings::x86_interface
source · #[repr(C)]pub struct x86_interface {
pub set_pin_status: Option<unsafe extern "C" fn(obj: *mut conf_object_t, pin: x86_pin_t, status: c_int)>,
pub start_up: Option<unsafe extern "C" fn(obj: *mut conf_object_t, start_address: uint32)>,
pub interrupt: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ack: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>, data: *mut conf_object_t) -> c_int>,
pub uninterrupt: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ack: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>)>,
pub has_pending_interrupt: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>,
pub has_waiting_interrupt: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>,
pub logical_to_linear: Option<unsafe extern "C" fn(obj: *mut conf_object_t, segment: c_int, addr: logical_address_t) -> tagged_linear_address_t>,
pub linear_to_physical: Option<unsafe extern "C" fn(obj: *mut conf_object_t, d_or_i: data_or_instr_t, addr: linear_address_t) -> physical_address_t>,
pub enter_acpi_c2_state: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>,
}
Fields§
§set_pin_status: Option<unsafe extern "C" fn(obj: *mut conf_object_t, pin: x86_pin_t, status: c_int)>
§start_up: Option<unsafe extern "C" fn(obj: *mut conf_object_t, start_address: uint32)>
§interrupt: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ack: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>, data: *mut conf_object_t) -> c_int>
§uninterrupt: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ack: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>)>
§has_pending_interrupt: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>
§has_waiting_interrupt: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>
§logical_to_linear: Option<unsafe extern "C" fn(obj: *mut conf_object_t, segment: c_int, addr: logical_address_t) -> tagged_linear_address_t>
§linear_to_physical: Option<unsafe extern "C" fn(obj: *mut conf_object_t, d_or_i: data_or_instr_t, addr: linear_address_t) -> physical_address_t>
§enter_acpi_c2_state: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>
Trait Implementations§
source§impl Clone for x86_interface
impl Clone for x86_interface
source§fn clone(&self) -> x86_interface
fn clone(&self) -> x86_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_interface
impl Debug for x86_interface
source§impl Default for x86_interface
impl Default for x86_interface
source§fn default() -> x86_interface
fn default() -> x86_interface
Returns the “default value” for a type. Read more
source§impl Hash for x86_interface
impl Hash for x86_interface
source§impl Ord for x86_interface
impl Ord for x86_interface
source§fn cmp(&self, other: &x86_interface) -> Ordering
fn cmp(&self, other: &x86_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_interface
impl PartialEq for x86_interface
source§impl PartialOrd for x86_interface
impl PartialOrd for x86_interface
impl Copy for x86_interface
impl Eq for x86_interface
impl StructuralPartialEq for x86_interface
Auto Trait Implementations§
impl Freeze for x86_interface
impl RefUnwindSafe for x86_interface
impl Send for x86_interface
impl Sync for x86_interface
impl Unpin for x86_interface
impl UnwindSafe for x86_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
)