VIRTUTECH CONFIDENTIAL    Previous - Up - Next

Core_Control_Register_Read

Provided By
Simics Core
Callback Type
void (*)(lang_void *callback_data,
conf_object_t *trigger_obj,
integer_t register_number);
Index
register_number
Description
Called when a control register is read.

For x86 processors, this hap is triggered when a control register is read using a MOV or SMSW instruction (i.e., only explicit reads).Note that if the callback routine breaks to the frontend by raising an exception, the instruction will be replayed possibly causing repeated memory operations.

For PowerPC processors, this hap is triggered by the MFSPR instruction (i.e., only explicit reads).

VIRTUTECH CONFIDENTIAL    Previous - Up - Next