Home
last modified time | relevance | path

Searched refs:jmp_addr (Results 1 – 3 of 3) sorted by relevance

/external/qemu/
Dexec-all.h265 extern void ppc_tb_set_jmp_target(unsigned long jmp_addr, unsigned long addr);
268 static inline void tb_set_jmp_target1(unsigned long jmp_addr, unsigned long addr) in tb_set_jmp_target1() argument
271 *(uint32_t *)jmp_addr = addr - (jmp_addr + 4); in tb_set_jmp_target1()
275 static inline void tb_set_jmp_target1(unsigned long jmp_addr, unsigned long addr) in tb_set_jmp_target1() argument
286 *(uint32_t *)jmp_addr = in tb_set_jmp_target1()
287 (*(uint32_t *)jmp_addr & ~0xffffff) in tb_set_jmp_target1()
288 | (((addr - (jmp_addr + 8)) >> 2) & 0xffffff); in tb_set_jmp_target1()
291 __clear_cache((char *) jmp_addr, (char *) jmp_addr + 4); in tb_set_jmp_target1()
294 _beg = jmp_addr; in tb_set_jmp_target1()
295 _end = jmp_addr + 4; in tb_set_jmp_target1()
/external/qemu/tcg/ppc64/
Dtcg-target.c1189 void ppc_tb_set_jmp_target (unsigned long jmp_addr, unsigned long addr) in ppc_tb_set_jmp_target() argument
1194 s.code_ptr = (uint8_t *) jmp_addr; in ppc_tb_set_jmp_target()
1196 patch_size = s.code_ptr - (uint8_t *) jmp_addr; in ppc_tb_set_jmp_target()
1197 flush_icache_range (jmp_addr, jmp_addr + patch_size); in ppc_tb_set_jmp_target()
/external/qemu/tcg/ppc/
Dtcg-target.c1263 void ppc_tb_set_jmp_target (unsigned long jmp_addr, unsigned long addr) in ppc_tb_set_jmp_target() argument
1266 long disp = addr - jmp_addr; in ppc_tb_set_jmp_target()
1269 ptr = (uint32_t *)jmp_addr; in ppc_tb_set_jmp_target()
1291 flush_icache_range(jmp_addr, jmp_addr + patch_size); in ppc_tb_set_jmp_target()