Struct simics_api_sys::port_space_interface
source · #[repr(C)]pub struct port_space_interface {
pub port_operation: Option<unsafe extern "C" fn(pspace_obj: *mut conf_object_t, mop: *mut generic_transaction_t, map_info: map_info_t) -> exception_type_t>,
pub read: Option<unsafe extern "C" fn(obj: *mut conf_object_t, initiator: *mut conf_object_t, addr: physical_address_t, length: c_int, inquiry: c_int) -> attr_value_t>,
pub write: Option<unsafe extern "C" fn(obj: *mut conf_object_t, initiator: *mut conf_object_t, addr: physical_address_t, data: attr_value_t, inquiry: c_int) -> exception_type_t>,
}
Fields§
§port_operation: Option<unsafe extern "C" fn(pspace_obj: *mut conf_object_t, mop: *mut generic_transaction_t, map_info: map_info_t) -> exception_type_t>
§read: Option<unsafe extern "C" fn(obj: *mut conf_object_t, initiator: *mut conf_object_t, addr: physical_address_t, length: c_int, inquiry: c_int) -> attr_value_t>
§write: Option<unsafe extern "C" fn(obj: *mut conf_object_t, initiator: *mut conf_object_t, addr: physical_address_t, data: attr_value_t, inquiry: c_int) -> exception_type_t>
Trait Implementations§
source§impl Clone for port_space_interface
impl Clone for port_space_interface
source§fn clone(&self) -> port_space_interface
fn clone(&self) -> port_space_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 port_space_interface
impl Debug for port_space_interface
source§impl Default for port_space_interface
impl Default for port_space_interface
source§fn default() -> port_space_interface
fn default() -> port_space_interface
Returns the “default value” for a type. Read more
source§impl Hash for port_space_interface
impl Hash for port_space_interface
source§impl Ord for port_space_interface
impl Ord for port_space_interface
source§fn cmp(&self, other: &port_space_interface) -> Ordering
fn cmp(&self, other: &port_space_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 port_space_interface
impl PartialEq for port_space_interface
source§impl PartialOrd for port_space_interface
impl PartialOrd for port_space_interface
impl Copy for port_space_interface
impl Eq for port_space_interface
impl StructuralPartialEq for port_space_interface
Auto Trait Implementations§
impl Freeze for port_space_interface
impl RefUnwindSafe for port_space_interface
impl Send for port_space_interface
impl Sync for port_space_interface
impl Unpin for port_space_interface
impl UnwindSafe for port_space_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
)