  | 
  
    TEMU
    4.4
    
   The Terma Emulator 
   | 
 
 
 
 
Go to the documentation of this file.
    9 #ifndef TEMU_INSTRUMENTER_H 
   10 #define TEMU_INSTRUMENTER_H 
   11 #include "temu-c/Support/Objsys.h" 
   32 } temu_InstructionFlags;
 
   41   int (*
endBlock)(
void *Obj, uint64_t VA, uint64_t PA);
 
   43   int (*
beginInstr)(
void *Obj, uint64_t VA, uint64_t PA, uint32_t Instr,
 
   49   int (*
endInstr)(
void *Obj, uint64_t VA, uint64_t PA, uint32_t Instr,
 
   50                   uint32_t Flags, 
int Arm);
 
   51 } temu_InstrumenterIface;
 
   53 #define TEMU_INSTRUMENTER_IFACE_TYPE "temu::InstrumenterIface" 
   54 TEMU_IFACE_REFERENCE_TYPE(temu_Instrumenter);
 
  
 
@ teIF_OnPage
On page branch.
Definition: Instrumenter.h:28
 
int(* beginInstr)(void *Obj, uint64_t VA, uint64_t PA, uint32_t Instr, uint32_t Flags)
Called when instruction is started.
Definition: Instrumenter.h:43
 
@ teIF_Load
Instruction is a load.
Definition: Instrumenter.h:20
 
@ teIF_UnconditionalNotTaken
Unconditional not-taken branch.
Definition: Instrumenter.h:27
 
int(* beginBlock)(void *Obj, uint64_t VA, uint64_t PA)
Called on start of a block.
Definition: Instrumenter.h:39
 
@ teIF_ModeSwitch
Privilege mode switching instruction.
Definition: Instrumenter.h:29
 
@ teIF_Call
Call instruction.
Definition: Instrumenter.h:30
 
@ teIF_IndirectBranch
Instruction is an indirect branch.
Definition: Instrumenter.h:19
 
@ teIF_UnconditionalTaken
Unconditional taken branch.
Definition: Instrumenter.h:26
 
@ teIF_Unimplemented
Permanently unimplemented.
Definition: Instrumenter.h:31
 
@ teIF_Float
Floating point instruction.
Definition: Instrumenter.h:23
 
@ teIF_Store
Instruction is a store.
Definition: Instrumenter.h:21
 
int(* endBlock)(void *Obj, uint64_t VA, uint64_t PA)
Called at the end of a block.
Definition: Instrumenter.h:41
 
@ teIF_Integer
Integer instruction.
Definition: Instrumenter.h:22
 
@ teIF_Annulled
Annulled branch.
Definition: Instrumenter.h:25
 
@ teIF_Branch
Instruction is a branch.
Definition: Instrumenter.h:18
 
@ teIF_Arithmetic
Arithmetic instruction.
Definition: Instrumenter.h:24
 
int(* endInstr)(void *Obj, uint64_t VA, uint64_t PA, uint32_t Instr, uint32_t Flags, int Arm)
Definition: Instrumenter.h:49