Home
last modified time | relevance | path

Searched refs:xer (Results 1 – 25 of 49) sorted by relevance

12

/openbmc/qemu/target/ppc/
H A Dcpu.c33 return env->xer | (env->so << XER_SO) | in cpu_read_xer()
38 return env->xer | (env->so << XER_SO) | (env->ov << XER_OV) | in cpu_read_xer()
42 void cpu_write_xer(CPUPPCState *env, target_ulong xer) in cpu_write_xer() argument
44 env->so = (xer >> XER_SO) & 1; in cpu_write_xer()
45 env->ov = (xer >> XER_OV) & 1; in cpu_write_xer()
46 env->ca = (xer >> XER_CA) & 1; in cpu_write_xer()
48 env->ov32 = (xer >> XER_OV32) & 1; in cpu_write_xer()
49 env->ca32 = (xer >> XER_CA32) & 1; in cpu_write_xer()
50 env->xer = xer & ~((1ul << XER_SO) | in cpu_write_xer()
H A Darch_dump.c40 reg_t xer; member
127 reg->xer = cpu_to_dump_reg(s, cpu_read_xer(&cpu->env)); in ppc_write_elf_prstatus()
/openbmc/u-boot/post/lib_powerpc/
H A Dcr.c48 ulong xer; member
260 ulong xer; in cpu_post_test_cr() local
271 cpu_post_exec_21x (code, &res, &xer, test->xer); in cpu_post_test_cr()
273 ret = xer == 0 && ((res << (4 * test->cr)) & 0xe0000000) == test->xer ? in cpu_post_test_cr()
/openbmc/qemu/tests/tcg/ppc64/
H A Dsignal_save_restore_xer.c18 saved = uc->uc_mcontext.regs->xer; in sigtrap_handler()
19 uc->uc_mcontext.regs->xer |= XER_OV | XER_OV32; in sigtrap_handler()
/openbmc/linux/arch/powerpc/include/asm/
H A Dkvm_booke.h48 vcpu->arch.regs.xer = val; in kvmppc_set_xer()
53 return vcpu->arch.regs.xer; in kvmppc_get_xer()
H A Dsyscalls_32.h22 unsigned int xer; member
H A Dkvm_book3s_asm.h127 ulong xer; member
H A Dkvm_book3s_64.h593 vcpu->arch.regs.xer = vcpu->arch.xer_tm; in copy_from_checkpoint()
610 vcpu->arch.xer_tm = vcpu->arch.regs.xer; in copy_to_checkpoint()
/openbmc/linux/tools/perf/arch/powerpc/include/
H A Ddwarf-regs-table.h23 REG_DWARFNUM_NAME(xer, 101),
/openbmc/u-boot/arch/powerpc/lib/
H A Dkgdb.c176 *ptr++ = regs->xer; in kgdb_getregs()
246 regs->xer = *ptr++; in kgdb_putregs()
/openbmc/qemu/linux-user/ppc/
H A Dtarget_syscall.h37 abi_ulong xer; member
H A Dsignal.c331 target_ulong xer; in restore_user_regs() local
348 __get_user(xer, &frame->mc_gregs[TARGET_PT_XER]); in restore_user_regs()
349 cpu_write_xer(env, xer); in restore_user_regs()
/openbmc/linux/arch/powerpc/kernel/ptrace/
H A Dptrace.c359 BUILD_BUG_ON(offsetof(struct pt_regs, xer) != in pt_regs_check()
360 offsetof(struct user_pt_regs, xer)); in pt_regs_check()
427 CHECK_REG(PT_XER, xer); in pt_regs_check()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dptrace.h33 PPC_REG xer; member
/openbmc/linux/arch/powerpc/lib/
H A Dsstep.c1181 op->xerval = regs->xer; in add_with_carry()
1924 regs->xer & XER_CA); in analyse_instr()
1929 regs->xer & XER_CA); in analyse_instr()
1934 regs->xer & XER_CA); in analyse_instr()
1943 regs->xer & XER_CA); in analyse_instr()
2156 op->xerval = regs->xer; in analyse_instr()
2169 op->xerval = regs->xer; in analyse_instr()
2199 op->xerval = regs->xer; in analyse_instr()
2213 op->xerval = regs->xer; in analyse_instr()
3242 regs->xer = op->xerval; in emulate_update_regs()
[all …]
/openbmc/linux/tools/perf/arch/powerpc/util/
H A Ddwarf-regs.c70 REG_DWARFNUM_NAME(xer, 101),
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-fadump.h104 regs->xer = reg_val; in opal_fadump_set_regval_regnum()
/openbmc/u-boot/arch/powerpc/cpu/mpc8xx/
H A Dtraps.c59 regs->nip, regs->xer, regs->link, regs, regs->trap, regs->dar); in show_regs()
/openbmc/linux/arch/powerpc/include/uapi/asm/
H A Dptrace.h44 unsigned long xer; member
/openbmc/u-boot/arch/powerpc/cpu/mpc86xx/
H A Dtraps.c64 regs->nip, regs->xer, regs->link, regs, regs->trap, regs->dar); in show_regs()
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dtraps.c56 regs->nip, regs->xer, regs->link, regs, regs->trap, regs->dar); in show_regs()
/openbmc/linux/arch/powerpc/kernel/
H A Dkgdb.c228 PACK32(ptr, regs->xer); in sleeping_thread_to_gdb_regs()
316 { "xer", GDB_SIZEOF_REG, offsetof(struct pt_regs, xer) },
/openbmc/linux/arch/powerpc/perf/
H A Dperf_regs.c60 PT_REGS_OFFSET(PERF_REG_POWERPC_XER, xer),
/openbmc/qemu/include/hw/ppc/
H A Dspapr_nested.h399 uint64_t xer; member
421 uint64_t xer; member
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dtraps.c92 regs->nip, regs->xer, regs->link, regs, regs->trap, regs->dar); in show_regs()

12