Struct simics_api_sys::pcie_map_interface
source · #[repr(C)]pub struct pcie_map_interface {
pub add_map: Option<unsafe extern "C" fn(obj: *mut conf_object_t, map_obj: *mut conf_object_t, nfo: map_info_t, type_: pcie_type_t)>,
pub del_map: Option<unsafe extern "C" fn(obj: *mut conf_object_t, map_obj: *mut conf_object_t, base: physical_address_t, type_: pcie_type_t)>,
pub add_function: Option<unsafe extern "C" fn(obj: *mut conf_object_t, map_obj: *mut conf_object_t, function_id: uint16)>,
pub del_function: Option<unsafe extern "C" fn(obj: *mut conf_object_t, map_obj: *mut conf_object_t, function_id: uint16)>,
pub enable_function: Option<unsafe extern "C" fn(obj: *mut conf_object_t, function_id: uint16)>,
pub disable_function: Option<unsafe extern "C" fn(obj: *mut conf_object_t, function_id: uint16)>,
pub get_device_id: Option<unsafe extern "C" fn(obj: *mut conf_object_t, dev_obj: *mut conf_object_t) -> uint16>,
}
Fields§
§add_map: Option<unsafe extern "C" fn(obj: *mut conf_object_t, map_obj: *mut conf_object_t, nfo: map_info_t, type_: pcie_type_t)>
§del_map: Option<unsafe extern "C" fn(obj: *mut conf_object_t, map_obj: *mut conf_object_t, base: physical_address_t, type_: pcie_type_t)>
§add_function: Option<unsafe extern "C" fn(obj: *mut conf_object_t, map_obj: *mut conf_object_t, function_id: uint16)>
§del_function: Option<unsafe extern "C" fn(obj: *mut conf_object_t, map_obj: *mut conf_object_t, function_id: uint16)>
§enable_function: Option<unsafe extern "C" fn(obj: *mut conf_object_t, function_id: uint16)>
§disable_function: Option<unsafe extern "C" fn(obj: *mut conf_object_t, function_id: uint16)>
§get_device_id: Option<unsafe extern "C" fn(obj: *mut conf_object_t, dev_obj: *mut conf_object_t) -> uint16>
Trait Implementations§
source§impl Clone for pcie_map_interface
impl Clone for pcie_map_interface
source§fn clone(&self) -> pcie_map_interface
fn clone(&self) -> pcie_map_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 pcie_map_interface
impl Debug for pcie_map_interface
source§impl Default for pcie_map_interface
impl Default for pcie_map_interface
source§fn default() -> pcie_map_interface
fn default() -> pcie_map_interface
Returns the “default value” for a type. Read more
source§impl Hash for pcie_map_interface
impl Hash for pcie_map_interface
source§impl Ord for pcie_map_interface
impl Ord for pcie_map_interface
source§fn cmp(&self, other: &pcie_map_interface) -> Ordering
fn cmp(&self, other: &pcie_map_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 pcie_map_interface
impl PartialEq for pcie_map_interface
source§impl PartialOrd for pcie_map_interface
impl PartialOrd for pcie_map_interface
impl Copy for pcie_map_interface
impl Eq for pcie_map_interface
impl StructuralPartialEq for pcie_map_interface
Auto Trait Implementations§
impl Freeze for pcie_map_interface
impl RefUnwindSafe for pcie_map_interface
impl Send for pcie_map_interface
impl Sync for pcie_map_interface
impl Unpin for pcie_map_interface
impl UnwindSafe for pcie_map_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
)