Searched refs:PT_NIP (Results 1 – 17 of 17) sorted by relevance
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/gperftools/gperftools/ |
| H A D | ppc-musl.patch | 8 pc_fields="$pc_fields uc_mcontext.gp_regs[[PT_NIP]]" # Suse SLES 11 (ppc64) 9 + pc_fields="$pc_fields uc_mcontext.gregs[[PT_NIP]]" 29 +#if defined(__powerpc__) && !defined(PT_NIP) 30 +#define PT_NIP 32 41 - result[n] = (void*) sigframe->uc.uc_mcontext.gp_regs[PT_NIP]; 50 - result[n] = (void*) sigframe->mctx.gregs[PT_NIP]; 60 result[n] = (void*) sigframe->uc.uc_mcontext.uc_regs->gregs[PT_NIP];
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/tm/ |
| H A D | tm-trap.c | 116 ucp->uc_mcontext.gp_regs[PT_NIP] += 16; in trap_signal_handler() 124 ucp->uc_mcontext.gp_regs[PT_NIP] += 4; in trap_signal_handler() 172 ucp->uc_mcontext.gp_regs[PT_NIP] += 8; in trap_signal_handler()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/alignment/ |
| H A D | copy_first_unaligned.c | 22 unsigned int *pc = (unsigned int *)ctx->uc_mcontext.gp_regs[PT_NIP]; in signal_action_handler() 24 unsigned int *pc = (unsigned int *)ctx->uc_mcontext.uc_regs->gregs[PT_NIP]; in signal_action_handler()
|
| H A D | alignment_handler.c | 80 u32 inst = *(u32 *)ucp->uc_mcontext.gp_regs[PT_NIP]; in sighandler() 81 ucp->uc_mcontext.gp_regs[PT_NIP] += ((inst >> 26 == 1) ? 8 : 4); in sighandler() 83 ucp->uc_mcontext.gp_regs[PT_NIP] += 4; in sighandler() 86 ucp->uc_mcontext.uc_regs->gregs[PT_NIP] += 4; in sighandler()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/ltrace/ltrace/ |
| H A D | add_ppc64le.patch | 30 - if (ptrace(PTRACE_POKEUSER, proc->pid, sizeof(long)*PT_NIP, addr) != 0) 32 + if (ptrace(PTRACE_POKEUSER, proc->pid, sizeof(long)*PT_NIP, addr) != 0){
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/include/ |
| H A D | utils.h | 139 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.gp_regs[PT_NIP] 142 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.uc_regs->gregs[PT_NIP]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/copyloops/ |
| H A D | exc_validate.c | 14 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.gp_regs[PT_NIP] 16 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.uc_regs->gregs[PT_NIP]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/qemu/qemu/ |
| H A D | 0001-ppc-Include-asm-ptrace.h-for-pt_regs-struct-definiti.patch | 78 + return uc->uc_mcontext.gp_regs[PT_NIP]; 83 + uc->uc_mcontext.gp_regs[PT_NIP] = pc;
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/signal/ |
| H A D | sigfuz.c | 155 ucp->uc_mcontext.gp_regs[PT_NIP] = random(); in trap_signal_handler() 159 ucp->uc_link->uc_mcontext.gp_regs[PT_NIP] = random(); in trap_signal_handler()
|
| /OK3568_Linux_fs/u-boot/arch/powerpc/include/asm/ |
| H A D | ptrace.h | 90 #define PT_NIP 32 macro
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/vm/ |
| H A D | pkey-powerpc.h | 13 #define REG_IP_IDX PT_NIP
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/uapi/asm/ |
| H A D | ptrace.h | 101 #define PT_NIP 32 macro
|
| /OK3568_Linux_fs/kernel/arch/powerpc/perf/ |
| H A D | callchain_64.c | 130 if (read_user_stack_64(&uregs[PT_NIP], &next_ip) || in perf_callchain_user_64()
|
| H A D | callchain_32.c | 162 if (read_user_stack_32(&uregs[PT_NIP], &next_ip) || in perf_callchain_user_32()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | signal_64.c | 343 err |= __get_user(regs->nip, &sc->gp_regs[PT_NIP]); in restore_sigcontext() 450 err |= __get_user(regs->nip, &tm_sc->gp_regs[PT_NIP]); in restore_tm_sigcontexts() 451 err |= __get_user(tsk->thread.tm_tfhar, &sc->gp_regs[PT_NIP]); in restore_tm_sigcontexts()
|
| H A D | signal_32.c | 607 err |= __get_user(current->thread.tm_tfhar, &sr->mc_gregs[PT_NIP]); in restore_tm_user_regs()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ptrace/ |
| H A D | ptrace.c | 466 CHECK_REG(PT_NIP, nip); in pt_regs_check()
|