Struct simics_api_sys::bindings::map_demap_interface
source · #[repr(C)]pub struct map_demap_interface {
pub add_map: Option<unsafe extern "C" fn(space: *mut conf_object_t, dev: *mut conf_object_t, target: *mut conf_object_t, map_info: map_info_t) -> c_int>,
pub remove_map: Option<unsafe extern "C" fn(space: *mut conf_object_t, dev: *mut conf_object_t, function: c_int) -> c_int>,
pub add_default: Option<unsafe extern "C" fn(space: *mut conf_object_t, dev: *mut conf_object_t, target: *mut conf_object_t, map_info: map_info_t) -> c_int>,
pub remove_default: Option<unsafe extern "C" fn(space: *mut conf_object_t)>,
pub map_simple: Option<unsafe extern "C" fn(space: *mut conf_object_t, dev: *mut conf_object_t, dev_port: *const c_char, map_info: map_info_t) -> c_int>,
pub map_bridge: Option<unsafe extern "C" fn(space: *mut conf_object_t, dev: *mut conf_object_t, dev_port: *const c_char, target: *mut conf_object_t, target_port: *const c_char, map_info: map_info_t) -> c_int>,
pub unmap: Option<unsafe extern "C" fn(space: *mut conf_object_t, dev: *mut conf_object_t, dev_port: *const c_char) -> c_int>,
pub unmap_address: Option<unsafe extern "C" fn(space: *mut conf_object_t, dev: *mut conf_object_t, base: physical_address_t, dev_port: *const c_char) -> c_int>,
}
Fields§
§add_map: Option<unsafe extern "C" fn(space: *mut conf_object_t, dev: *mut conf_object_t, target: *mut conf_object_t, map_info: map_info_t) -> c_int>
old-style
remove_map: Option<unsafe extern "C" fn(space: *mut conf_object_t, dev: *mut conf_object_t, function: c_int) -> c_int>
§add_default: Option<unsafe extern "C" fn(space: *mut conf_object_t, dev: *mut conf_object_t, target: *mut conf_object_t, map_info: map_info_t) -> c_int>
§remove_default: Option<unsafe extern "C" fn(space: *mut conf_object_t)>
§map_simple: Option<unsafe extern "C" fn(space: *mut conf_object_t, dev: *mut conf_object_t, dev_port: *const c_char, map_info: map_info_t) -> c_int>
new-style
map_bridge: Option<unsafe extern "C" fn(space: *mut conf_object_t, dev: *mut conf_object_t, dev_port: *const c_char, target: *mut conf_object_t, target_port: *const c_char, map_info: map_info_t) -> c_int>
§unmap: Option<unsafe extern "C" fn(space: *mut conf_object_t, dev: *mut conf_object_t, dev_port: *const c_char) -> c_int>
§unmap_address: Option<unsafe extern "C" fn(space: *mut conf_object_t, dev: *mut conf_object_t, base: physical_address_t, dev_port: *const c_char) -> c_int>
Trait Implementations§
source§impl Clone for map_demap_interface
impl Clone for map_demap_interface
source§fn clone(&self) -> map_demap_interface
fn clone(&self) -> map_demap_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 map_demap_interface
impl Debug for map_demap_interface
source§impl Default for map_demap_interface
impl Default for map_demap_interface
source§fn default() -> map_demap_interface
fn default() -> map_demap_interface
Returns the “default value” for a type. Read more
source§impl Hash for map_demap_interface
impl Hash for map_demap_interface
source§impl Ord for map_demap_interface
impl Ord for map_demap_interface
source§fn cmp(&self, other: &map_demap_interface) -> Ordering
fn cmp(&self, other: &map_demap_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 map_demap_interface
impl PartialEq for map_demap_interface
source§impl PartialOrd for map_demap_interface
impl PartialOrd for map_demap_interface
impl Copy for map_demap_interface
impl Eq for map_demap_interface
impl StructuralPartialEq for map_demap_interface
Auto Trait Implementations§
impl Freeze for map_demap_interface
impl RefUnwindSafe for map_demap_interface
impl Send for map_demap_interface
impl Sync for map_demap_interface
impl Unpin for map_demap_interface
impl UnwindSafe for map_demap_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
)