Struct simics_api_sys::pci_device_interface
source · #[repr(C)]pub struct pci_device_interface {
pub bus_reset: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>,
pub _deprecated_interrupt_acknowledge: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>,
pub _deprecated_special_cycle: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: uint32)>,
pub system_error: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>,
pub interrupt_raised: Option<unsafe extern "C" fn(obj: *mut conf_object_t, pin: c_int)>,
pub interrupt_lowered: Option<unsafe extern "C" fn(obj: *mut conf_object_t, pin: c_int)>,
}
Fields§
§bus_reset: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>
§_deprecated_interrupt_acknowledge: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>
§_deprecated_special_cycle: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: uint32)>
§system_error: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>
System Error
interrupt_raised: Option<unsafe extern "C" fn(obj: *mut conf_object_t, pin: c_int)>
peer-to-peer interrupt mechanism
interrupt_lowered: Option<unsafe extern "C" fn(obj: *mut conf_object_t, pin: c_int)>
Trait Implementations§
source§impl Clone for pci_device_interface
impl Clone for pci_device_interface
source§fn clone(&self) -> pci_device_interface
fn clone(&self) -> pci_device_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 pci_device_interface
impl Debug for pci_device_interface
source§impl Default for pci_device_interface
impl Default for pci_device_interface
source§fn default() -> pci_device_interface
fn default() -> pci_device_interface
Returns the “default value” for a type. Read more
source§impl Hash for pci_device_interface
impl Hash for pci_device_interface
source§impl Ord for pci_device_interface
impl Ord for pci_device_interface
source§fn cmp(&self, other: &pci_device_interface) -> Ordering
fn cmp(&self, other: &pci_device_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 pci_device_interface
impl PartialEq for pci_device_interface
source§impl PartialOrd for pci_device_interface
impl PartialOrd for pci_device_interface
impl Copy for pci_device_interface
impl Eq for pci_device_interface
impl StructuralPartialEq for pci_device_interface
Auto Trait Implementations§
impl Freeze for pci_device_interface
impl RefUnwindSafe for pci_device_interface
impl Send for pci_device_interface
impl Sync for pci_device_interface
impl Unpin for pci_device_interface
impl UnwindSafe for pci_device_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
)