Struct simics::api::interface::interfaces::VirtualDataBreakpointInterface
source · pub struct VirtualDataBreakpointInterface {
obj: *mut ConfObject,
interface: *mut virtual_data_breakpoint_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut virtual_data_breakpoint_interface
Implementations§
source§impl VirtualDataBreakpointInterface
impl VirtualDataBreakpointInterface
sourcepub fn add_read(
&mut self,
first: generic_address_t,
last: generic_address_t,
callback: Option<unsafe extern "C" fn(data: cbdata_call_t, initiator: *mut conf_object_t, address: generic_address_t, size: c_uint)>,
data: cbdata_register_t,
flags: uint32,
) -> Result<*mut virtual_data_bp_handle_t>
pub fn add_read( &mut self, first: generic_address_t, last: generic_address_t, callback: Option<unsafe extern "C" fn(data: cbdata_call_t, initiator: *mut conf_object_t, address: generic_address_t, size: c_uint)>, data: cbdata_register_t, flags: uint32, ) -> Result<*mut virtual_data_bp_handle_t>
Automatically generated method for the interface
sourcepub fn add_write(
&mut self,
first: generic_address_t,
last: generic_address_t,
callback: Option<unsafe extern "C" fn(data: cbdata_call_t, initiator: *mut conf_object_t, address: generic_address_t, value: bytes_t)>,
data: cbdata_register_t,
flags: uint32,
) -> Result<*mut virtual_data_bp_handle_t>
pub fn add_write( &mut self, first: generic_address_t, last: generic_address_t, callback: Option<unsafe extern "C" fn(data: cbdata_call_t, initiator: *mut conf_object_t, address: generic_address_t, value: bytes_t)>, data: cbdata_register_t, flags: uint32, ) -> Result<*mut virtual_data_bp_handle_t>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for VirtualDataBreakpointInterface
impl Interface for VirtualDataBreakpointInterface
source§const NAME: &'static [u8] = crate::api::sys::VIRTUAL_DATA_BREAKPOINT_INTERFACE
const NAME: &'static [u8] = crate::api::sys::VIRTUAL_DATA_BREAKPOINT_INTERFACE
The name of the interface
source§type InternalInterface = virtual_data_breakpoint_interface
type InternalInterface = virtual_data_breakpoint_interface
The inner interface type, which is a struct of nullable extern “C” function pointers
and must be default constructable as all NULL pointers (i.e. None values)
source§type Name = &'static [u8]
type Name = &'static [u8]
The type of the name of the interface, must be convertible to raw C string to pass to
the simulator
source§fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
Create a new instance of this interface
Auto Trait Implementations§
impl Freeze for VirtualDataBreakpointInterface
impl RefUnwindSafe for VirtualDataBreakpointInterface
impl !Send for VirtualDataBreakpointInterface
impl !Sync for VirtualDataBreakpointInterface
impl Unpin for VirtualDataBreakpointInterface
impl UnwindSafe for VirtualDataBreakpointInterface
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