Type Alias simics_api_sys::cpu_address_cb_t
source · pub type cpu_address_cb_t = Option<unsafe extern "C" fn(obj: *mut conf_object_t, cpu: *mut conf_object_t, address: logical_address_t, handle: *mut address_handle_t, user_data: *mut lang_void) -> logical_address_t>;
Expand description
Instrumentation callback function registered through the
The callback will be called prior to a processor memory access, allowing the callback to change the logical address for an access.
The argument
Aliased Type§
enum cpu_address_cb_t {
None,
Some(unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object, _: u64, _: *mut cpu_address_info, _: *mut c_void) -> u64),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object, _: u64, _: *mut cpu_address_info, _: *mut c_void) -> u64)
Some value of type T
.