/linux-2.4.37.9/arch/sparc64/kernel/ |
D | process.c | 178 rw = (struct reg_window32 *)((long)(unsigned)regs->u_regs[14]); in show_regwindow32() 205 rw = (struct reg_window *)(regs->u_regs[14] + STACK_BIAS); in show_regwindow() 309 regs->u_regs[0], regs->u_regs[1], regs->u_regs[2], in __show_regs() 310 regs->u_regs[3]); in __show_regs() 312 regs->u_regs[4], regs->u_regs[5], regs->u_regs[6], in __show_regs() 313 regs->u_regs[7]); in __show_regs() 315 regs->u_regs[8], regs->u_regs[9], regs->u_regs[10], in __show_regs() 316 regs->u_regs[11]); in __show_regs() 318 regs->u_regs[12], regs->u_regs[13], regs->u_regs[14], in __show_regs() 319 regs->u_regs[15]); in __show_regs() [all …]
|
D | signal.c | 77 struct ucontext *ucp = (struct ucontext *) regs->u_regs[UREG_I0]; in sparc64_set_context() 95 if(regs->u_regs[UREG_I1]) { in sparc64_set_context() 121 err |= __get_user(regs->u_regs[UREG_G1], (&(*grp)[MC_G1])); in sparc64_set_context() 122 err |= __get_user(regs->u_regs[UREG_G2], (&(*grp)[MC_G2])); in sparc64_set_context() 123 err |= __get_user(regs->u_regs[UREG_G3], (&(*grp)[MC_G3])); in sparc64_set_context() 124 err |= __get_user(regs->u_regs[UREG_G4], (&(*grp)[MC_G4])); in sparc64_set_context() 125 err |= __get_user(regs->u_regs[UREG_G5], (&(*grp)[MC_G5])); in sparc64_set_context() 126 err |= __get_user(regs->u_regs[UREG_G6], (&(*grp)[MC_G6])); in sparc64_set_context() 127 err |= __get_user(regs->u_regs[UREG_G7], (&(*grp)[MC_G7])); in sparc64_set_context() 128 err |= __get_user(regs->u_regs[UREG_I0], (&(*grp)[MC_O0])); in sparc64_set_context() [all …]
|
D | signal32.c | 186 regs->u_regs[UREG_I0] = EINTR; in _sigpause32_common() 200 regs->u_regs[UREG_I0] = EINVAL; in do_rt_sigsuspend32() 205 regs->u_regs[UREG_I0] = EFAULT; in do_rt_sigsuspend32() 241 regs->u_regs[UREG_I0] = EINTR; in do_rt_sigsuspend32() 275 regs->u_regs[UREG_FP] &= 0x00000000ffffffffUL; in do_new_sigreturn32() 276 sf = (struct new_signal_frame32 *) regs->u_regs [UREG_FP]; in do_new_sigreturn32() 301 err |= __get_user(regs->u_regs[i], &sf->info.si_regs.u_regs[i]); in do_new_sigreturn32() 308 err |= __get_user(((u32 *)regs->u_regs)[2*i], &sf->v8plus.g_upper[i]); in do_new_sigreturn32() 356 (regs->u_regs[UREG_I0] & 0x00000000ffffffffUL); in do_sigreturn32() 391 err = __get_user(regs->u_regs[UREG_FP], &scptr->sigc_sp); in do_sigreturn32() [all …]
|
D | ptrace.c | 39 regs->u_regs[UREG_I0] = error; in pt_error_return() 47 regs->u_regs[UREG_I0] = value; in pt_succ_return() 63 regs->u_regs[UREG_I0] = 0; in pt_succ_return_linux() 105 int request = regs->u_regs[UREG_I0]; in do_ptrace() 106 pid_t pid = regs->u_regs[UREG_I1]; in do_ptrace() 107 unsigned long addr = regs->u_regs[UREG_I2]; in do_ptrace() 108 unsigned long data = regs->u_regs[UREG_I3]; in do_ptrace() 109 unsigned long addr2 = regs->u_regs[UREG_I4]; in do_ptrace() 197 addr = regs->u_regs[UREG_G2]; in do_ptrace() 198 addr2 = regs->u_regs[UREG_G3]; in do_ptrace() [all …]
|
D | unaligned.c | 116 return (!reg ? 0 : regs->u_regs[reg]); in fetch_reg() 119 win = (struct reg_window *)(regs->u_regs[UREG_FP] + STACK_BIAS); in fetch_reg() 123 win32 = (struct reg_window32 *)((unsigned long)((u32)regs->u_regs[UREG_FP])); in fetch_reg() 127 win = (struct reg_window *)(regs->u_regs[UREG_FP] + STACK_BIAS); in fetch_reg() 136 return ®s->u_regs[reg]; in fetch_reg_addr() 139 win = (struct reg_window *)(regs->u_regs[UREG_FP] + STACK_BIAS); in fetch_reg_addr() 143 win32 = (struct reg_window32 *)((unsigned long)((u32)regs->u_regs[UREG_FP])); in fetch_reg_addr() 147 win = (struct reg_window *)(regs->u_regs[UREG_FP] + STACK_BIAS); in fetch_reg_addr() 358 unsigned long g2 = regs->u_regs [UREG_G2]; in kernel_mna_trap_fault() 379 regs->u_regs [UREG_G2] = g2; in kernel_mna_trap_fault() [all …]
|
D | binfmt_elf32.c | 33 dest[i] = (unsigned int) src->u_regs[i];\ 36 sp = (unsigned int *) (src->u_regs[14] & \
|
/linux-2.4.37.9/arch/sparc/kernel/ |
D | ptrace.c | 35 regs->u_regs[UREG_I0] = error; in pt_error_return() 43 regs->u_regs[UREG_I0] = value; in pt_succ_return() 54 regs->u_regs[UREG_I0] = 0; in pt_succ_return_linux() 110 v = cregs->u_regs[UREG_I0]; in read_sunos_user() 113 v = cregs->u_regs[UREG_I1]; in read_sunos_user() 116 v = cregs->u_regs[UREG_I2]; in read_sunos_user() 119 v = cregs->u_regs[UREG_I3]; in read_sunos_user() 122 v = cregs->u_regs[UREG_I4]; in read_sunos_user() 125 v = cregs->u_regs[UREG_I5]; in read_sunos_user() 128 v = cregs->u_regs[UREG_I6]; in read_sunos_user() [all …]
|
D | process.c | 299 regs->u_regs[0], regs->u_regs[1], regs->u_regs[2], in show_regs() 300 regs->u_regs[3]); in show_regs() 302 regs->u_regs[4], regs->u_regs[5], regs->u_regs[6], in show_regs() 303 regs->u_regs[7]); in show_regs() 305 regs->u_regs[8], regs->u_regs[9], regs->u_regs[10], in show_regs() 306 regs->u_regs[11]); in show_regs() 308 regs->u_regs[12], regs->u_regs[13], regs->u_regs[14], in show_regs() 309 regs->u_regs[15]); in show_regs() 310 show_regwindow((struct reg_window *)regs->u_regs[14]); in show_regs() 475 childregs->u_regs[UREG_FP] = (unsigned long) new_stack; [all …]
|
D | signal.c | 163 regs->u_regs[UREG_I0] = EINTR; in _sigpause_common() 176 _sigpause_common(regs->u_regs[UREG_I0], regs); in do_sigsuspend() 187 regs->u_regs[UREG_I0] = EINVAL; in do_rt_sigsuspend() 193 regs->u_regs[UREG_I0] = EFAULT; in do_rt_sigsuspend() 220 regs->u_regs[UREG_I0] = EINTR; in do_rt_sigsuspend() 265 sf = (struct new_signal_frame *) regs->u_regs [UREG_FP]; in do_new_sigreturn() 326 scptr = (struct sigcontext *) regs->u_regs[UREG_I0]; in do_sigreturn() 359 err = __get_user(regs->u_regs[UREG_FP], &scptr->sigc_sp); in do_sigreturn() 360 err |= __get_user(regs->u_regs[UREG_I0], &scptr->sigc_o0); in do_sigreturn() 361 err |= __get_user(regs->u_regs[UREG_G1], &scptr->sigc_g1); in do_sigreturn() [all …]
|
D | unaligned.c | 102 return (!reg ? 0 : regs->u_regs[reg]); in fetch_reg() 105 win = (struct reg_window *) regs->u_regs[UREG_FP]; in fetch_reg() 115 return (!reg ? 0 : regs->u_regs[reg]); in safe_fetch_reg() 118 win = (struct reg_window *) regs->u_regs[UREG_FP]; in safe_fetch_reg() 134 return ®s->u_regs[reg]; in fetch_reg_addr() 135 win = (struct reg_window *) regs->u_regs[UREG_FP]; in fetch_reg_addr() 344 unsigned long g2 = regs->u_regs [UREG_G2]; in kernel_mna_trap_fault() 365 regs->u_regs [UREG_G2] = g2; in kernel_mna_trap_fault() 392 regs->pc, dirstrings[dir], addr, size, regs->u_regs[UREG_RETPC]); in kernel_unaligned_trap() 433 #define WINREG_ADDR(regnum) ((void *)(((unsigned long *)regs->u_regs[UREG_FP])+(regnum))) in ok_for_user()
|
D | muldiv.c | 66 ret = regs->u_regs[(reg)]; \ 69 win = (struct reg_window *)regs->u_regs[UREG_FP]; \ 83 regs->u_regs[reg] = result; in store_reg() 87 win = (struct reg_window *)regs->u_regs[UREG_FP]; in store_reg()
|
D | traps.c | 42 printk("scall<%d> (could be %d)\n", (int) regs->u_regs[UREG_G1], in syscall_trace_entry() 43 (int) regs->u_regs[UREG_I0]); in syscall_trace_entry() 110 struct reg_window *rw = (struct reg_window *)regs->u_regs[UREG_FP]; in die_if_kernel() 199 regs->u_regs[UREG_RETPC]); in do_memaccess_unaligned()
|
/linux-2.4.37.9/include/asm-sparc64/ |
D | sigcontext.h | 50 unsigned int u_regs[16]; /* globals and ins */ member 70 unsigned long u_regs[16]; /* globals and ins */ member
|
D | elf.h | 43 dest[i] = src->u_regs[i]; \ 47 ((src->u_regs[14] + STACK_BIAS) \
|
D | processor.h | 228 "i" ((const unsigned long)(&((struct pt_regs *)0)->u_regs[0]))); \ 268 "i" ((const unsigned long)(&((struct pt_regs *)0)->u_regs[0]))); \ 310 #define KSTK_ESP(tsk) ((tsk)->thread.kregs->u_regs[UREG_FP])
|
D | ptrace.h | 14 unsigned long u_regs[16]; /* globals and ins */ member 27 unsigned int u_regs[16]; /* globals and ins */ member
|
/linux-2.4.37.9/include/asm-sparc/ |
D | elf.h | 31 memcpy(&dest[0], &src->u_regs[0], \ 35 sp = (unsigned long *) src->u_regs[14]; \
|
D | processor.h | 147 "i" ((const unsigned long)(&((struct pt_regs *)0)->u_regs[0])) in start_thread() 189 #define KSTK_ESP(tsk) ((tsk)->thread.kregs->u_regs[UREG_FP])
|
D | sigcontext.h | 45 unsigned long u_regs[16]; /* globals and ins */ member
|
D | ptrace.h | 18 unsigned long u_regs[16]; /* globals and ins */ member
|
/linux-2.4.37.9/arch/sparc64/solaris/ |
D | misc.c | 120 if (regs->u_regs[UREG_G1]) { in solaris_mmap64() 121 if (get_user (offlo, (u32 *)(long)((u32)regs->u_regs[UREG_I6] + 0x5c))) in solaris_mmap64() 124 if (get_user (offlo, (u32 *)(long)((u32)regs->u_regs[UREG_I6] + 0x60))) in solaris_mmap64() 127 return do_solaris_mmap((u32)regs->u_regs[UREG_I0], len, prot, flags, fd, (((u64)offhi)<<32)|offlo); in solaris_mmap64() 695 (int)regs->u_regs[UREG_G1], in do_sol_unimplemented() 696 (int)regs->u_regs[UREG_I0], in do_sol_unimplemented() 697 (int)regs->u_regs[UREG_I1], in do_sol_unimplemented() 698 (int)regs->u_regs[UREG_I2], in do_sol_unimplemented() 699 (int)regs->u_regs[UREG_I3]); in do_sol_unimplemented()
|
D | signal.c | 410 switch ((unsigned)regs->u_regs[UREG_I0]) { in solaris_context() 412 return svr4_getcontext((svr4_ucontext_t *)(long)(u32)regs->u_regs[UREG_I1], regs); in solaris_context() 414 return svr4_setcontext((svr4_ucontext_t *)(long)(u32)regs->u_regs[UREG_I1], regs); in solaris_context()
|
/linux-2.4.37.9/arch/sparc/mm/ |
D | fault.c | 336 g2 = regs->u_regs[UREG_G2]; in do_sparc_fault() 353 regs->u_regs[UREG_I4] = address; in do_sparc_fault() 354 regs->u_regs[UREG_I5] = regs->pc; in do_sparc_fault() 356 regs->u_regs[UREG_G2] = g2; in do_sparc_fault() 581 sp = regs->u_regs[UREG_FP]; in window_ret_fault()
|
/linux-2.4.37.9/arch/sparc64/mm/ |
D | fault.c | 37 …%s[%d]/cpu%d: %d\n", current->comm, current->pid, smp_processor_id(), (int) regs->u_regs[UREG_G1]); in syscall_trace_entry() 45 …%s[%d]/cpu%d: %d\n", current->comm, current->pid, smp_processor_id(), (int) regs->u_regs[UREG_G1]); in syscall_trace_exit() 276 g2 = regs->u_regs[UREG_G2]; in do_kernel_fault() 294 regs->u_regs[UREG_G2] = g2; in do_kernel_fault()
|
/linux-2.4.37.9/arch/sparc64/math-emu/ |
D | math.c | 298 XR = regs->u_regs[freg]; in do_mathemu() 302 win32 = (struct reg_window32 *)((unsigned long)((u32)regs->u_regs[UREG_FP])); in do_mathemu() 307 win = (struct reg_window *)(regs->u_regs[UREG_FP] + STACK_BIAS); in do_mathemu()
|