Type Alias simics_api_sys::tlb_replace_data_hap_callback

source ·
pub type tlb_replace_data_hap_callback = Option<unsafe extern "C" fn(callback_data: *mut lang_void, trigger_obj: *mut conf_object_t, linear: int64, physical: int64, page_size: int64)>;
Expand description

Index: page_size Description: This hap is triggered when a TLB entry is replaced by another. The parameters relate to the old entry, and the insertion of the new entry will trigger a fill hap. Page size encoding: 0==4k, 1==2M, 2==4M, 3==1G.

Aliased Type§

enum tlb_replace_data_hap_callback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut conf_object, _: i64, _: i64, _: i64)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.