Type Alias simics_api_sys::bindings::vmx_mode_switch_cb_t

source ·
pub type vmx_mode_switch_cb_t = Option<unsafe extern "C" fn(obj: *mut conf_object_t, cpu: *mut conf_object_t, mode: vmx_mode_t, vmcs_address: physical_address_t, user_data: *mut lang_void)>;
Expand description
This callback type is used by the vmx_instrumentation_subscribe to implements VMX mode switch instrumentation.

Aliased Type§

enum vmx_mode_switch_cb_t {
    None,
    Some(unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object, _: vmx_mode_t, _: u64, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object, _: vmx_mode_t, _: u64, _: *mut c_void))

Some value of type T.