Struct simics_api_sys::bindings::rapidio_v4_interface
source · #[repr(C)]pub struct rapidio_v4_interface {
pub transaction_request: Option<unsafe extern "C" fn(obj: *mut conf_object_t, target_id: uint16, source_id: uint16, addr: uint64, op: rapidio_operation_t, msg: bytes_t, id: uint64)>,
pub transaction_response: Option<unsafe extern "C" fn(obj: *mut conf_object_t, msg: bytes_t, id: uint64)>,
pub doorbell: Option<unsafe extern "C" fn(obj: *mut conf_object_t, target_id: uint16, source_id: uint16, val: uint16)>,
pub deliver_message: Option<unsafe extern "C" fn(obj: *mut conf_object_t, target_id: uint16, source_id: uint16, mbox: uint16, letter: uint16, msg: bytes_t)>,
pub read_register_request: Option<unsafe extern "C" fn(obj: *mut conf_object_t, target_id: uint16, source_id: uint16, hopcount: uint8, reg_no: uint32, id: uint64)>,
pub read_register_response: Option<unsafe extern "C" fn(obj: *mut conf_object_t, val: uint32, id: uint64)>,
pub write_register: Option<unsafe extern "C" fn(obj: *mut conf_object_t, target_id: uint16, source_id: uint16, hopcount: uint8, reg_no: uint32, val: uint32)>,
pub port_write: Option<unsafe extern "C" fn(obj: *mut conf_object_t, target_id: uint16, source_id: uint16, hopcount: uint8, msg: bytes_t)>,
}
Fields§
§transaction_request: Option<unsafe extern "C" fn(obj: *mut conf_object_t, target_id: uint16, source_id: uint16, addr: uint64, op: rapidio_operation_t, msg: bytes_t, id: uint64)>
§transaction_response: Option<unsafe extern "C" fn(obj: *mut conf_object_t, msg: bytes_t, id: uint64)>
§doorbell: Option<unsafe extern "C" fn(obj: *mut conf_object_t, target_id: uint16, source_id: uint16, val: uint16)>
§deliver_message: Option<unsafe extern "C" fn(obj: *mut conf_object_t, target_id: uint16, source_id: uint16, mbox: uint16, letter: uint16, msg: bytes_t)>
§read_register_request: Option<unsafe extern "C" fn(obj: *mut conf_object_t, target_id: uint16, source_id: uint16, hopcount: uint8, reg_no: uint32, id: uint64)>
§read_register_response: Option<unsafe extern "C" fn(obj: *mut conf_object_t, val: uint32, id: uint64)>
§write_register: Option<unsafe extern "C" fn(obj: *mut conf_object_t, target_id: uint16, source_id: uint16, hopcount: uint8, reg_no: uint32, val: uint32)>
§port_write: Option<unsafe extern "C" fn(obj: *mut conf_object_t, target_id: uint16, source_id: uint16, hopcount: uint8, msg: bytes_t)>
Trait Implementations§
source§impl Clone for rapidio_v4_interface
impl Clone for rapidio_v4_interface
source§fn clone(&self) -> rapidio_v4_interface
fn clone(&self) -> rapidio_v4_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 rapidio_v4_interface
impl Debug for rapidio_v4_interface
source§impl Default for rapidio_v4_interface
impl Default for rapidio_v4_interface
source§fn default() -> rapidio_v4_interface
fn default() -> rapidio_v4_interface
Returns the “default value” for a type. Read more
source§impl Hash for rapidio_v4_interface
impl Hash for rapidio_v4_interface
source§impl Ord for rapidio_v4_interface
impl Ord for rapidio_v4_interface
source§fn cmp(&self, other: &rapidio_v4_interface) -> Ordering
fn cmp(&self, other: &rapidio_v4_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 rapidio_v4_interface
impl PartialEq for rapidio_v4_interface
source§impl PartialOrd for rapidio_v4_interface
impl PartialOrd for rapidio_v4_interface
impl Copy for rapidio_v4_interface
impl Eq for rapidio_v4_interface
impl StructuralPartialEq for rapidio_v4_interface
Auto Trait Implementations§
impl Freeze for rapidio_v4_interface
impl RefUnwindSafe for rapidio_v4_interface
impl Send for rapidio_v4_interface
impl Sync for rapidio_v4_interface
impl Unpin for rapidio_v4_interface
impl UnwindSafe for rapidio_v4_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
)