Type Alias simics_api_sys::bindings::core_mode_change_hap_callback
source · pub type core_mode_change_hap_callback = Option<unsafe extern "C" fn(callback_data: *mut lang_void, trigger_obj: *mut conf_object_t, old_mode: int64, new_mode: int64)>;
Expand description
Index: Indices not supported Description: Triggered when a processor changes privilege mode for whatever reason; usually an exception or return from an exception. The hap occurs after the processor has changed mode but before any instructions have been executed in the new mode.
Aliased Type§
enum core_mode_change_hap_callback {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: *mut conf_object, _: i64, _: i64)),
}