Home
last modified time | relevance | path

Searched refs:tb (Results 1 – 25 of 59) sorted by relevance

123

/illumos-kvm-cmd/
H A Dtranslate-all.c73 gen_intermediate_code(env, tb); in cpu_gen_code()
76 gen_code_buf = tb->tc_ptr; in cpu_gen_code()
77 tb->tb_next_offset[0] = 0xffff; in cpu_gen_code()
78 tb->tb_next_offset[1] = 0xffff; in cpu_gen_code()
81 s->tb_jmp_offset = tb->tb_jmp_offset; in cpu_gen_code()
85 s->tb_next = tb->tb_next; in cpu_gen_code()
97 s->code_in_len += tb->size; in cpu_gen_code()
130 gen_intermediate_code_pc(env, tb); in cpu_restore_state()
140 tc_ptr = (unsigned long)tb->tc_ptr; in cpu_restore_state()
146 s->tb_jmp_offset = tb->tb_jmp_offset; in cpu_restore_state()
[all …]
H A Dexec.c745 for(tb = tb_phys_hash[i]; tb != NULL; tb = tb->phys_hash_next) { in tb_invalidate_check()
747 address >= tb->pc + tb->size)) { in tb_invalidate_check()
750 address, (long)tb->pc, tb->size); in tb_invalidate_check()
763 for(tb = tb_phys_hash[i]; tb != NULL; tb = tb->phys_hash_next) { in tb_page_check()
840 tb_set_jmp_target(tb, n, (unsigned long)(tb->tc_ptr + tb->tb_next_offset[n])); in tb_reset_jump()
936 tb = (TranslationBlock *)((long)tb & ~3); in build_page_bitmap()
950 tb = tb->page_next[n]; in build_page_bitmap()
1029 tb = (TranslationBlock *)((long)tb & ~3); in tb_invalidate_phys_page_range()
1158 tb = (TranslationBlock *)((long)tb & ~3); in tb_invalidate_phys_page()
1175 tb = tb->page_next[n]; in tb_invalidate_phys_page()
[all …]
H A Dexec-all.h80 void gen_pc_load(CPUState *env, struct TranslationBlock *tb,
84 int cpu_gen_code(CPUState *env, struct TranslationBlock *tb,
86 int cpu_restore_state(struct TranslationBlock *tb,
184 void tb_free(TranslationBlock *tb);
186 void tb_link_page(TranslationBlock *tb,
230 static inline void tb_set_jmp_target(TranslationBlock *tb, in tb_set_jmp_target() argument
235 offset = tb->tb_jmp_offset[n]; in tb_set_jmp_target()
242 static inline void tb_set_jmp_target(TranslationBlock *tb, in tb_set_jmp_target() argument
245 tb->tb_next[n] = addr; in tb_set_jmp_target()
254 if (!tb->jmp_next[n]) { in tb_add_jump()
[all …]
H A Dcpu-exec.c108 TranslationBlock *tb; in cpu_exec_nocache() local
117 env->current_tb = tb; in cpu_exec_nocache()
128 tb_free(tb); in cpu_exec_nocache()
149 tb = *ptb1; in tb_find_slow()
150 if (!tb) in tb_find_slow()
182 return tb; in tb_find_slow()
187 TranslationBlock *tb; in tb_find_fast() local
196 if (unlikely(!tb || tb->pc != pc || tb->cs_base != cs_base || in tb_find_fast()
200 return tb; in tb_find_fast()
596 (long)tb->tc_ptr, tb->pc, in cpu_exec()
[all …]
H A Dgen-icount.h27 static void gen_icount_end(TranslationBlock *tb, int num_insns) in gen_icount_end() argument
32 tcg_gen_exit_tb((long)tb + 2); in gen_icount_end()
/illumos-kvm-cmd/hw/
H A Dppc.c418 uint64_t tb; in cpu_ppc_load_tbl() local
423 return tb; in cpu_ppc_load_tbl()
429 uint64_t tb; in _cpu_ppc_load_tbu() local
434 return tb >> 32; in _cpu_ppc_load_tbu()
453 uint64_t tb; in cpu_ppc_store_tbl() local
464 uint64_t tb; in _cpu_ppc_store_tbu() local
480 uint64_t tb; in cpu_ppc_load_atbl() local
485 return tb; in cpu_ppc_load_atbl()
491 uint64_t tb; in cpu_ppc_load_atbu() local
502 uint64_t tb; in cpu_ppc_store_atbl() local
[all …]
/illumos-kvm-cmd/target-s390x/
H A Dop_helper.c46 TranslationBlock *tb; in tlb_fill() local
60 tb = tb_find_pc(pc); in tlb_fill()
61 if (likely(tb)) { in tlb_fill()
64 cpu_restore_state(tb, env, pc, NULL); in tlb_fill()
H A Dtranslate.c49 void gen_intermediate_code (CPUState *env, struct TranslationBlock *tb) in gen_intermediate_code() argument
53 void gen_intermediate_code_pc (CPUState *env, struct TranslationBlock *tb) in gen_intermediate_code_pc() argument
57 void gen_pc_load(CPUState *env, TranslationBlock *tb, in gen_pc_load() argument
H A Dexec.h49 static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock* tb) in cpu_pc_from_tb() argument
51 env->psw.addr = tb->pc; in cpu_pc_from_tb()
/illumos-kvm-cmd/audio/
H A Daudio.h149 __typeof (b) tb = b; \
150 ((ta)>(tb)?(tb):(ta)); \
155 __typeof (b) tb = b; \
156 ((ta)<(tb)?(tb):(ta)); \
/illumos-kvm-cmd/target-sh4/
H A Dexec.h50 static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) in cpu_pc_from_tb() argument
52 env->pc = tb->pc; in cpu_pc_from_tb()
53 env->flags = tb->flags; in cpu_pc_from_tb()
H A Dtranslate.c40 struct TranslationBlock *tb; member
297 TranslationBlock *tb; in gen_goto_tb() local
298 tb = ctx->tb; in gen_goto_tb()
305 tcg_gen_exit_tb((long) tb + n); in gen_goto_tb()
1947 pc_start = tb->pc; in gen_intermediate_code_internal()
1950 ctx.flags = (uint32_t)tb->flags; in gen_intermediate_code_internal()
1958 ctx.tb = tb; in gen_intermediate_code_internal()
2012 if (tb->cflags & CF_LAST_IO) in gen_intermediate_code_internal()
2038 gen_icount_end(tb, num_insns); in gen_intermediate_code_internal()
2046 tb->size = ctx.pc - pc_start; in gen_intermediate_code_internal()
[all …]
/illumos-kvm-cmd/target-sparc/
H A Dexec.h35 static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) in cpu_pc_from_tb() argument
37 env->pc = tb->pc; in cpu_pc_from_tb()
38 env->npc = tb->cs_base; in cpu_pc_from_tb()
/illumos-kvm-cmd/target-mips/
H A Dexec.h91 static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) in cpu_pc_from_tb() argument
93 env->active_tc.PC = tb->pc; in cpu_pc_from_tb()
95 env->hflags |= tb->flags & MIPS_HFLAG_BMASK; in cpu_pc_from_tb()
/illumos-kvm-cmd/target-m68k/
H A Dop_helper.c53 TranslationBlock *tb; in tlb_fill() local
67 tb = tb_find_pc(pc); in tlb_fill()
68 if (tb) { in tlb_fill()
71 cpu_restore_state(tb, env, pc, NULL); in tlb_fill()
H A Dexec.h46 static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) in cpu_pc_from_tb() argument
48 env->pc = tb->pc; in cpu_pc_from_tb()
/illumos-kvm-cmd/target-ia64/
H A Dtranslate.c32 int gen_intermediate_code(CPUState *env, TranslationBlock *tb) in gen_intermediate_code() argument
36 int gen_intermediate_code_pc(CPUState *env, TranslationBlock *tb) in gen_intermediate_code_pc() argument
H A Dfake-exec.c33 int cpu_ia64_gen_code(CPUState *env, TranslationBlock *tb, int *gen_code_size_ptr) in cpu_ia64_gen_code() argument
44 int cpu_restore_state(TranslationBlock *tb, in cpu_restore_state() argument
/illumos-kvm-cmd/target-ppc/
H A Dexec.h52 static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) in cpu_pc_from_tb() argument
54 env->nip = tb->pc; in cpu_pc_from_tb()
/illumos-kvm-cmd/target-cris/
H A Dexec.h49 static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) in cpu_pc_from_tb() argument
51 env->pc = tb->pc; in cpu_pc_from_tb()
/illumos-kvm-cmd/target-microblaze/
H A Dexec.h48 static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) in cpu_pc_from_tb() argument
50 env->sregs[SR_PC] = tb->pc; in cpu_pc_from_tb()
H A Dtranslate.c90 struct TranslationBlock *tb; member
144 TranslationBlock *tb; in gen_goto_tb() local
145 tb = dc->tb; in gen_goto_tb()
149 tcg_gen_exit_tb((long)tb + n); in gen_goto_tb()
1582 pc_start = tb->pc; in gen_intermediate_code_internal()
1584 dc->tb = tb; in gen_intermediate_code_internal()
1614 max_insns = tb->cflags & CF_COUNT_MASK; in gen_intermediate_code_internal()
1707 if (tb->cflags & CF_LAST_IO) in gen_intermediate_code_internal()
1738 gen_icount_end(tb, num_insns); in gen_intermediate_code_internal()
1746 tb->size = dc->pc - pc_start; in gen_intermediate_code_internal()
[all …]
/illumos-kvm-cmd/target-i386/
H A Dfake-exec.c33 int cpu_restore_state(TranslationBlock *tb, in cpu_restore_state() argument
41 int cpu_x86_gen_code(CPUState *env, TranslationBlock *tb, int *gen_code_size_ptr) in cpu_x86_gen_code() argument
/illumos-kvm-cmd/target-alpha/
H A Dexec.h56 static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) in cpu_pc_from_tb() argument
58 env->pc = tb->pc; in cpu_pc_from_tb()
/illumos-kvm-cmd/target-arm/
H A Dexec.h54 static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) in cpu_pc_from_tb() argument
56 env->regs[15] = tb->pc; in cpu_pc_from_tb()

Completed in 191 milliseconds

123