65 |
#ifdef USE_DIRECT_JUMP |
#ifdef USE_DIRECT_JUMP |
66 |
uint16_t tb_jmp_offset[2]; /* offset of jump instruction */ |
uint16_t tb_jmp_offset[2]; /* offset of jump instruction */ |
67 |
#else |
#else |
68 |
uint8_t *tb_next[2]; /* address of jump generated code */ |
uint32_t tb_next[2]; /* address of jump generated code */ |
69 |
#endif |
#endif |
70 |
/* list of TBs jumping to this one. This is a circular list using |
/* list of TBs jumping to this one. This is a circular list using |
71 |
the two least significant bits of the pointers to tell what is |
the two least significant bits of the pointers to tell what is |
142 |
static inline void tb_set_jmp_target(TranslationBlock *tb, |
static inline void tb_set_jmp_target(TranslationBlock *tb, |
143 |
int n, unsigned long addr) |
int n, unsigned long addr) |
144 |
{ |
{ |
145 |
tb->tb_next[n] = (void *)addr; |
tb->tb_next[n] = addr; |
146 |
} |
} |
147 |
|
|
148 |
#endif |
#endif |