VIRTUTECH CONFIDENTIAL    Previous - Up - Next

Core_Magic_Instruction

Provided By
Simics Core
Callback Type
void (*)(lang_void *callback_data,
conf_object_t *trigger_obj, integer_t parameter);
Index
parameter
Description
Triggered when Simics executes a magic instruction.

The magic instruction on SPARC is sethi with destination g0 and imm22 != 0. The imm22 value is supplied as the parameter and range to the hap.

The magic instruction on x86 is xchg bx,bx. parameter is always zero.

The magic instruction on Alpha is sextb with Ra==R0. parameter is always zero.

The magic instruction on 64-bit PowerPC is fmr with identical source and destination registers. parameter is the number of the register (0–31). On 32-bit PowerPC, the magic instruction is mr with identical registers.

The magic instruction on ARM is orreq rN, rN, rN withrN != 15. The parameter is the register number (0..14).

The magic instruction on IA-64 is a nop with a 21-bit immediate, where most significant bit of the immediate is set.

VIRTUTECH CONFIDENTIAL    Previous - Up - Next