Home
last modified time | relevance | path

Searched refs:new_pc (Results 1 – 10 of 10) sorted by relevance

/openbmc/qemu/target/i386/tcg/
H A Dtcg-cpu.c71 uint64_t new_pc; in x86_restore_state_to_opc() local
81 new_pc = (pc & TARGET_PAGE_MASK) | data[0]; in x86_restore_state_to_opc()
83 new_pc = data[0]; in x86_restore_state_to_opc()
86 env->eip = new_pc; in x86_restore_state_to_opc()
88 env->eip = (uint32_t)(new_pc - tb->cs_base); in x86_restore_state_to_opc()
H A Dtranslate.c2203 target_ulong new_pc = s->pc + diff; in gen_jmp_rel() local
2204 target_ulong new_eip = new_pc - s->cs_base; in gen_jmp_rel()
2222 tcg_gen_addi_tl(cpu_eip, cpu_eip, new_pc - s->pc_save); in gen_jmp_rel()
2228 if (!use_goto_tb || !is_same_page(&s->base, new_pc)) { in gen_jmp_rel()
2233 new_pc = (uint32_t)(new_eip + s->cs_base); in gen_jmp_rel()
2236 if (use_goto_tb && translator_use_goto_tb(&s->base, new_pc)) { in gen_jmp_rel()
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_builtin.c521 unsigned long msr, pc, new_msr, new_pc; in inject_interrupt() local
526 new_pc = vec; in inject_interrupt()
546 new_pc += 0xC000000000004000ULL; in inject_interrupt()
551 kvmppc_set_pc(vcpu, new_pc); in inject_interrupt()
H A Dbook3s_pr.c109 unsigned long msr, pc, new_msr, new_pc; in kvmppc_inject_interrupt_pr() local
116 new_pc = to_book3s(vcpu)->hior + vec; in kvmppc_inject_interrupt_pr()
128 kvmppc_set_pc(vcpu, new_pc); in kvmppc_inject_interrupt_pr()
/openbmc/linux/arch/xtensa/include/asm/
H A Dprocessor.h198 #define start_thread(regs, new_pc, new_sp) \ argument
204 (regs)->pc = (new_pc); \
/openbmc/linux/arch/sh/kernel/
H A Dprocess_32.c62 void start_thread(struct pt_regs *regs, unsigned long new_pc, in start_thread() argument
67 regs->pc = new_pc; in start_thread()
/openbmc/linux/arch/parisc/include/asm/
H A Dprocessor.h241 #define start_thread(regs, new_pc, new_sp) do { \ argument
244 elf_addr_t pc = (elf_addr_t)new_pc | 3; \
/openbmc/qemu/target/arm/tcg/
H A Dhelper-a64.c772 void HELPER(exception_return)(CPUARMState *env, uint64_t new_pc) in HELPER()
841 env->regs[15] = new_pc & ~0x1; in HELPER()
843 env->regs[15] = new_pc & ~0x3; in HELPER()
869 if ((tbii >> extract64(new_pc, 55, 1)) & 1) { in HELPER()
873 new_pc = sextract64(new_pc, 0, 56); in HELPER()
875 new_pc = extract64(new_pc, 0, 56); in HELPER()
878 env->pc = new_pc; in HELPER()
906 env->pc = new_pc; in HELPER()
/openbmc/linux/arch/sh/include/asm/
H A Dprocessor_32.h129 extern void start_thread(struct pt_regs *regs, unsigned long new_pc, unsigned long new_sp);
/openbmc/qemu/target/hexagon/
H A Dgenptr.c698 static void gen_jumpr(DisasContext *ctx, TCGv new_pc) in gen_jumpr() argument
700 gen_write_new_pc_addr(ctx, new_pc, TCG_COND_ALWAYS, NULL); in gen_jumpr()
710 static void gen_callr(DisasContext *ctx, TCGv new_pc) in gen_callr() argument
714 gen_write_new_pc_addr(ctx, new_pc, TCG_COND_ALWAYS, NULL); in gen_callr()
731 TCGCond cond, TCGv pred, TCGv new_pc) in gen_cond_callr() argument
737 gen_callr(ctx, new_pc); in gen_cond_callr()