| /openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
| H A D | traps.c | 92 regs->nip, regs->xer, regs->link, regs, regs->trap, regs->dar); in show_regs() 119 panic("Exception in kernel pc %lx signal %d",regs->nip,signr); in _exception() 138 if ((fixup = search_exception_table(regs->nip)) != 0) { in MachineCheckException() 139 regs->nip = fixup; in MachineCheckException() 193 regs->nip += 4; /* skip offending instruction */ in MachineCheckException() 195 regs->nip); in MachineCheckException() 197 printf("Returning back to 0x%08lx\n",regs->nip); in MachineCheckException() 257 regs->nip, regs->msr, regs->trap); in UnknownException() 273 regs->nip, regs->msr, regs->trap); in ExtIntException() 282 printf("Debugger trap at @ %lx\n", regs->nip ); in DebugException()
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc8xx/ |
| H A D | traps.c | 59 regs->nip, regs->xer, regs->link, regs, regs->trap, regs->dar); in show_regs() 82 panic("Exception in kernel pc %lx signal %d", regs->nip, signr); in _exception() 87 unsigned long fixup = search_exception_table(regs->nip); in MachineCheckException() 94 regs->nip = fixup; in MachineCheckException() 148 regs->nip, regs->msr, regs->trap); in UnknownException() 154 printf("Debugger trap at @ %lx\n", regs->nip); in DebugException()
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc86xx/ |
| H A D | traps.c | 64 regs->nip, regs->xer, regs->link, regs, regs->trap, regs->dar); in show_regs() 90 panic("Exception in kernel pc %lx signal %d", regs->nip, signr); in _exception() 101 if ((fixup = search_exception_table(regs->nip)) != 0) { in MachineCheckException() 102 regs->nip = fixup; in MachineCheckException() 152 unsigned char *p = regs ? (unsigned char *)(regs->nip) : NULL; in ProgramCheckException() 194 regs->nip, regs->msr, regs->trap); in UnknownException()
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
| H A D | traps.c | 56 regs->nip, regs->xer, regs->link, regs, regs->trap, regs->dar); in show_regs() 81 panic("Exception in kernel pc %lx signal %d",regs->nip,signr); in _exception() 122 if ((fixup = search_exception_table(regs->nip)) != 0) { in MachineCheckException() 123 regs->nip = fixup; in MachineCheckException() 201 regs->nip, regs->msr, regs->trap); in UnknownException() 211 printf("Debugger trap at @ %lx\n", regs->nip ); in DebugException()
|
| /openbmc/u-boot/arch/powerpc/lib/ |
| H A D | kgdb.c | 87 if (regs->nip == (unsigned long)breakinst) { in kgdb_enter() 89 regs->nip += 4; in kgdb_enter() 99 kdp->regs[0].val = regs->nip; in kgdb_enter() 111 regs->nip = kdp->exaddr; in kgdb_exit() 171 *ptr++ = regs->nip; in kgdb_getregs() 204 case 64: regs->nip = *ptr; break; in kgdb_putreg() 241 regs->nip = *ptr++; in kgdb_putregs()
|
| /openbmc/qemu/linux-user/include/host/ppc/ |
| H A D | host-signal.h | 20 return uc->uc_mcontext.regs->nip; in host_signal_pc() 25 uc->uc_mcontext.regs->nip = pc; in host_signal_set_pc()
|
| /openbmc/u-boot/arch/powerpc/include/asm/ |
| H A D | ptrace.h | 28 PPC_REG nip; member 49 #define instruction_pointer(regs) ((regs)->nip)
|
| H A D | processor.h | 1218 void start_thread(struct pt_regs *regs, unsigned long nip, unsigned long sp); 1297 return (t->regs) ? t->regs->nip : 0; in thread_saved_pc() 1306 #define KSTK_EIP(tsk) ((tsk)->thread.regs->nip)
|
| /openbmc/qemu/target/ppc/ |
| H A D | trace-events | 33 ppc_excp_rfi(uint64_t nip, uint64_t msr) "Return from exception at 0x%" PRIx64 " with flags 0x%016"… 35 ppc_excp_isi(uint64_t msr, uint64_t nip) "ISI exception: msr=0x%016" PRIx64 " nip=0x%" PRIx64 37 ppc_excp_inval(uint64_t nip) "Invalid instruction at 0x%" PRIx64
|
| H A D | arch_dump.c | 35 reg_t nip; member 123 reg->nip = cpu_to_dump_reg(s, cpu->env.nip); in ppc_write_elf_prstatus()
|
| H A D | gdbstub.c | 125 gdb_get_regl(buf, env->nip); in ppc_cpu_gdb_read_register() 175 gdb_get_reg64(buf, env->nip); in ppc_cpu_gdb_read_register_apple() 223 env->nip = ldtul_p(mem_buf); in ppc_cpu_gdb_write_register() 269 env->nip = ldq_p(mem_buf); in ppc_cpu_gdb_write_register_apple()
|
| H A D | ppc-qmp-cmds.c | 98 { "nip|pc", offsetof(CPUPPCState, nip) },
|
| H A D | mem_helper.c | 536 env->spr[SPR_TFIAR] = env->nip | (FIELD_EX64_HV(env->msr) << 1) | 538 env->spr[SPR_TFHAR] = env->nip + 4;
|
| H A D | machine.c | 748 VMSTATE_UINTTL(env.nip, PowerPCCPU),
|
| H A D | mmu_common.c | 289 eaddr, (int)(eaddr >> 28), sr, env->nip, env->lr, in mmu6xx_get_physical_address()
|
| H A D | int_helper.c | 1707 ", RA = " TARGET_FMT_ld " > %d\n", env->nip, idx, maxidx); \ 1732 env->nip, idx < 0 ? SIZE - idx : idx, 32 - SIZE); \ in VINSX() 1749 env->nip, idx < 0 ? SIZE - idx : idx, 32 - SIZE); \
|
| H A D | mmu_helper.c | 179 value, env->nip); in dump_store_bat()
|
| /openbmc/qemu/linux-user/ppc/ |
| H A D | signal.c | 257 __put_user(env->nip, &frame->mc_gregs[TARGET_PT_NIP]); in save_user_regs() 344 __get_user(env->nip, &frame->mc_gregs[TARGET_PT_NIP]); in restore_user_regs() 466 env->nip = (target_ulong) ka->_sa_handler; in setup_frame() 546 env->nip = tswapl(handler->entry); in setup_rt_frame() 550 env->gpr[12] = env->nip = ka->_sa_handler; in setup_rt_frame() 553 env->nip = (target_ulong) ka->_sa_handler; in setup_rt_frame()
|
| /openbmc/qemu/tests/tcg/ppc64/ |
| H A D | signal_save_restore_xer.c | 17 uc->uc_mcontext.regs->nip += 4; in sigtrap_handler()
|
| /openbmc/qemu/include/hw/ppc/ |
| H A D | spapr_cpu_core.h | 39 void spapr_cpu_set_entry_state(PowerPCCPU *cpu, target_ulong nip,
|
| H A D | spapr_nested.h | 451 uint64_t nip; member 475 uint64_t nip; member
|
| /openbmc/qemu/hw/ppc/ |
| H A D | spapr_cpu_core.c | 89 void spapr_cpu_set_entry_state(PowerPCCPU *cpu, target_ulong nip, in spapr_cpu_set_entry_state() argument 96 env->nip = nip; in spapr_cpu_set_entry_state()
|
| H A D | spapr_nested.c | 147 save->nip = env->nip; in nested_save_state() 246 env->nip = load->nip; in nested_load_state() 398 l2_state.nip = regs->nip; in h_enter_nested() 551 regs->nip = l2_state.srr0; in spapr_exit_nested_hv() 554 regs->nip = hsrr0; in spapr_exit_nested_hv() 883 GUEST_STATE_ELEMENT_ENV_DW(GSB_VCPU_SPR_NIA, nip), 1627 vcpu->state.nip = env->spr[SPR_SRR0]; in exit_nested_store_l2() 1630 vcpu->state.nip = env->spr[SPR_HSRR0]; in exit_nested_store_l2()
|
| /openbmc/u-boot/cmd/ |
| H A D | bedbug.c | 348 printf ("%5d %08lx\n", depth++, bug_ctx.regs->nip); in do_bedbug_stack()
|
| /openbmc/u-boot/common/ |
| H A D | bedbug.c | 1082 pc = regs->nip & 0xfffffffc; in find_next_address()
|