VIRTUTECH CONFIDENTIAL    Previous - Up - Next
Core_Sync_Instruction
- Provided By
- 
Simics Core
- Callback Type
- 
    void (*)(lang_void *callback_data, 
 conf_object_t *trigger_obj, integer_t type);
- Index
- 
type
- Description
- 
  Called when an synchronizing instruction is executed. The type parameter describe what kind of instruction is executing. Its encoding is specific to each architecture.
For SPARC-V9, this hap is called when a membar or stbar instruction is executed. For membar, the type contains the 7-bit field cmask|mmask specified in the instruction. For stbar, the type is 8 (equivalent to membar #StoreStore).
 
For x86, this hap is called when a fence instruction is executed. The type is set from the list provided by the x86_instruction_sync_type_t enum. 
VIRTUTECH CONFIDENTIAL    Previous - Up - Next