quick_pc_to_pointers.h Source File
Back to the index.
Go to the documentation of this file. 1 #ifdef quick_pc_to_pointers
2 #undef quick_pc_to_pointers
6 #define quick_pc_to_pointers(cpu) { \
7 uint32_t pc_tmp32 = cpu->pc; \
8 struct DYNTRANS_TC_PHYSPAGE *ppp_tmp; \
9 ppp_tmp = cpu->cd.DYNTRANS_ARCH.phys_page[pc_tmp32 >> 12]; \
10 if (ppp_tmp != NULL) { \
11 cpu->cd.DYNTRANS_ARCH.cur_ic_page = &ppp_tmp->ics[0]; \
12 cpu->cd.DYNTRANS_ARCH.next_ic = \
13 cpu->cd.DYNTRANS_ARCH.cur_ic_page + \
14 DYNTRANS_PC_TO_IC_ENTRY(pc_tmp32); \
16 DYNTRANS_PC_TO_POINTERS(cpu); \
19 #ifndef quick_pc_to_pointers_arm
20 #define quick_pc_to_pointers_arm(cpu) { \
21 if (cpu->cd.arm.cpsr & ARM_FLAG_T) { \
22 cpu->cd.arm.next_ic = ¬hing_call; \
24 quick_pc_to_pointers(cpu); \
29 #define quick_pc_to_pointers(cpu) DYNTRANS_PC_TO_POINTERS(cpu)
Generated on Tue Aug 25 2020 19:25:06 for GXemul by
1.8.18