Home
last modified time | relevance | path

Searched refs:ppc_regs (Results 1 – 14 of 14) sorted by relevance

/external/strace/linux/powerpc/
Dget_syscall_args.c5 tcp->u_arg[0] = ppc_regs.orig_gpr3; in get_syscall_args()
6 tcp->u_arg[1] = ppc_regs.gpr[4]; in get_syscall_args()
7 tcp->u_arg[2] = ppc_regs.gpr[5]; in get_syscall_args()
8 tcp->u_arg[3] = ppc_regs.gpr[6]; in get_syscall_args()
9 tcp->u_arg[4] = ppc_regs.gpr[7]; in get_syscall_args()
10 tcp->u_arg[5] = ppc_regs.gpr[8]; in get_syscall_args()
Dset_error.c4 ppc_regs.gpr[3] = tcp->u_error; in arch_set_error()
6 return upoke(tcp->pid, sizeof(long) * (PT_R0 + 3), ppc_regs.gpr[3]); in arch_set_error()
15 ppc_regs.gpr[3] = tcp->u_rval; in arch_set_success()
16 ppc_regs.ccr &= ~0x10000000; in arch_set_success()
18 return upoke(tcp->pid, sizeof(long) * PT_CCR, ppc_regs.ccr) || in arch_set_success()
19 upoke(tcp->pid, sizeof(long) * (PT_R0 + 3), ppc_regs.gpr[3]); in arch_set_success()
Dgetregs_old.c12 r = upeek(pid, sizeof(long) * PT_NIP, &ppc_regs.nip); in getregs_old()
17 r = upeek(pid, sizeof(long) * PT_MSR, &ppc_regs.msr); in getregs_old()
21 r = upeek(pid, sizeof(long) * PT_CCR, &ppc_regs.ccr); in getregs_old()
24 r = upeek(pid, sizeof(long) * PT_ORIG_R3, &ppc_regs.orig_gpr3); in getregs_old()
29 &ppc_regs.gpr[i]); in getregs_old()
Darch_regs.c1 struct pt_regs ppc_regs; /* not static */ variable
3 #define ARCH_REGS_FOR_GETREGS ppc_regs
4 #define ARCH_PC_REG ppc_regs.nip
Dget_error.c4 if (ppc_regs.ccr & 0x10000000) { in get_error()
6 tcp->u_error = ppc_regs.gpr[3]; in get_error()
8 tcp->u_rval = ppc_regs.gpr[3]; in get_error()
Darch_regs.h1 extern struct pt_regs ppc_regs;
Dget_scno.c5 tcp->scno = ppc_regs.gpr[0]; in arch_get_scno()
Dset_scno.c7 ppc_regs.gpr[0] = scno; in arch_set_scno()
Darch_sigreturn.c4 unsigned long addr = ppc_regs.gpr[1]; in arch_sigreturn()
/external/strace/linux/powerpc64/
Dget_scno.c5 tcp->scno = ppc_regs.gpr[0]; in arch_get_scno()
12 unsigned int currpers = (ppc_regs.msr & 0x8000000080000000) ? 0 : 1; in arch_get_scno()
Darch_regs.c3 #define ARCH_PC_REG ppc_regs.nip
/external/elfutils/backends/
DMakefile.am92 ppc_SRCS = ppc_init.c ppc_symbol.c ppc_retval.c ppc_regs.c \
99 ppc64_corenote.c ppc_regs.c ppc_auxv.c ppc_attrs.c ppc_syscall.c \
DChangeLog388 * ppc_regs.c (ppc_register_info): Likewise.
660 * ppc_regs.c (ppc_register_info): Return "spefscr", not "spr512".
664 * ppc_regs.c (ppc_register_info): Assign 67 to "vscr".
764 * ppc_regs.c (ppc_register_info): Use some names instead of sprNNN:
800 * ppc_regs.c (ppc_register_name): Likewise.
828 * ppc_regs.c (ppc_register_name): Likewise.
897 * ppc_regs.c: New file.
/external/strace/
DChangeLog25761 POWERPC: read ppc_regs.nip if -i.
25783 * defs.h: declare ppc_regs and get_regs_error.
25784 * signal.c (sys_sigreturn): Use ppc_regs instead of upeek.
25785 * syscall.c: define ppc_regs.
25786 (printcall): Use ppc_regs instead of upeek.