6 #define DYNTRANS_MAX_VPH_TLB_ENTRIES SH_MAX_VPH_TLB_ENTRIES 7 #define DYNTRANS_ARCH sh 10 #define DYNTRANS_L2N SH_L2N 11 #define DYNTRANS_L3N SH_L3N 12 #if !defined(SH_L2N) || !defined(SH_L3N) 13 #error arch_L2N, and arch_L3N must be defined for this arch! 15 #define DYNTRANS_L2_64_TABLE sh_l2_64_table 16 #define DYNTRANS_L3_64_TABLE sh_l3_64_table 18 #ifndef DYNTRANS_PAGESIZE 19 #define DYNTRANS_PAGESIZE 4096 21 #define DYNTRANS_IC sh_instr_call 22 #define DYNTRANS_IC_ENTRIES_PER_PAGE SH_IC_ENTRIES_PER_PAGE 23 #define DYNTRANS_INSTR_ALIGNMENT_SHIFT SH_INSTR_ALIGNMENT_SHIFT 24 #define DYNTRANS_TC_PHYSPAGE sh_tc_physpage 25 #define DYNTRANS_INVALIDATE_TLB_ENTRY sh_invalidate_tlb_entry 26 #define DYNTRANS_ADDR_TO_PAGENR SH_ADDR_TO_PAGENR 27 #define DYNTRANS_PC_TO_IC_ENTRY SH_PC_TO_IC_ENTRY 28 #define DYNTRANS_TC_ALLOCATE sh_tc_allocate_default_page 29 #define DYNTRANS_TC_PHYSPAGE sh_tc_physpage 30 #define DYNTRANS_PC_TO_POINTERS sh_pc_to_pointers 31 #define DYNTRANS_PC_TO_POINTERS_GENERIC sh_pc_to_pointers_generic 32 #define COMBINE_INSTRUCTIONS sh_combine_instructions 33 #define DISASSEMBLE sh_cpu_disassemble_instr 43 #define instr(n) sh_instr_ ## n 45 #ifdef DYNTRANS_DUALMODE_32 46 #define instr32(n) sh32_instr_ ## n 51 #define X(n) void sh_instr_ ## n(struct cpu *cpu, \ 52 struct sh_instr_call *ic) 66 static struct sh_instr_call nothing_call = {
instr(nothing), {0,0} };
int debugger_n_steps_left_before_interaction
volatile int single_step_breakpoint
int old_instruction_trace