/linux-2.4.37.9/arch/ppc/kernel/ |
D | mk_defs.c | 69 DEFINE(GPR0, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[0])); in main() 70 DEFINE(GPR1, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[1])); in main() 71 DEFINE(GPR2, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[2])); in main() 72 DEFINE(GPR3, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[3])); in main() 73 DEFINE(GPR4, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[4])); in main() 74 DEFINE(GPR5, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[5])); in main() 75 DEFINE(GPR6, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[6])); in main() 76 DEFINE(GPR7, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[7])); in main() 77 DEFINE(GPR8, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[8])); in main() 78 DEFINE(GPR9, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[9])); in main() [all …]
|
D | signal.c | 99 regs->gpr[3] = EINTR; in sys_sigsuspend() 113 return regs->gpr[3]; in sys_sigsuspend() 138 regs->gpr[3] = EINTR; in sys_rt_sigsuspend() 144 return regs->gpr[3]; in sys_rt_sigsuspend() 153 return do_sigaltstack(uss, uoss, regs->gpr[1]); in sys_sigaltstack() 370 || __put_user(sas_ss_flags(regs->gpr[1]), in handle_rt_signal() 382 if (put_user(regs->gpr[1], (unsigned long *)newsp)) in handle_rt_signal() 384 regs->gpr[1] = newsp; in handle_rt_signal() 385 regs->gpr[3] = sig; in handle_rt_signal() 386 regs->gpr[4] = (unsigned long) &rt_sf->info; in handle_rt_signal() [all …]
|
D | softemu8xx.c | 71 ea = (uint *)(regs->gpr[idxreg] + disp); in Soft_emulate_8xx() 81 ea = (uint *)(regs->gpr[idxreg] + sdisp); in Soft_emulate_8xx() 90 regs->gpr[idxreg] = (uint)ea; in Soft_emulate_8xx() 94 ea = (uint *)(regs->gpr[idxreg] + sdisp); in Soft_emulate_8xx() 103 ea = (uint *)(regs->gpr[idxreg] + sdisp); in Soft_emulate_8xx() 112 regs->gpr[idxreg] = (uint)ea; in Soft_emulate_8xx()
|
D | process.c | 247 regs->nip, regs->xer, regs->link, regs->gpr[1], regs,regs->trap, print_tainted()); in show_regs() 296 if ( __get_user(r, &(regs->gpr[i])) ) in show_regs() 305 print_backtrace((unsigned long *)regs->gpr[1]); in show_regs() 348 childregs->gpr[1] = sp + sizeof(struct pt_regs); in copy_thread() 349 childregs->gpr[2] = (unsigned long) p; in copy_thread() 353 childregs->gpr[3] = 0; /* Result from fork() */ in copy_thread() 405 memset(regs->gpr, 0, sizeof(regs->gpr)); in start_thread() 408 regs->gpr[1] = sp; in start_thread() 467 return do_fork(SIGCHLD, regs->gpr[1], regs, 0); in sys_fork() 473 return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, regs->gpr[1], regs, 0); in sys_vfork()
|
D | align.c | 288 regs->gpr[reg] = data.l; in fix_alignment() 297 regs->gpr[reg] = data.l; in fix_alignment() 300 data.l = regs->gpr[reg]; in fix_alignment() 303 data.l = regs->gpr[reg]; in fix_alignment() 349 regs->gpr[areg] = regs->dar; in fix_alignment()
|
D | traps.c | 160 regs->gpr[rb] - _IO_BASE, nip); in check_io_access() 354 regs->gpr[rd] = mfspr(PVR); in emulate_instruction() 476 current, regs->gpr[1]); in StackOverflow() 486 current, current->pid, regs->nip, regs->link, regs->gpr[0], in trace_syscall() 487 regs->ccr&0x10000000?"Error=":"", regs->gpr[3], print_tainted()); in trace_syscall()
|
/linux-2.4.37.9/drivers/sound/emu10k1/ |
D | efxmgr.h | 107 struct dsp_gpr gpr[NUM_GPRS]; /* gpr usage table */ member 220 mgr->gpr[(g) - GPR_BASE].type = GPR_TYPE_IO; \ 221 mgr->gpr[(g) - GPR_BASE].usage++; \ 222 mgr->gpr[(g) - GPR_BASE].line = ln; \ 228 mgr->gpr[(g) - GPR_BASE].type = GPR_TYPE_IO; \ 229 mgr->gpr[(g) - GPR_BASE].usage++; \ 230 mgr->gpr[(g) - GPR_BASE].line = ln; \ 237 mgr->gpr[(g) - GPR_BASE].type = GPR_TYPE_DYNAMIC; \ 238 mgr->gpr[(g) - GPR_BASE].usage++; \ 244 strcpy(mgr->gpr[(g) - GPR_BASE].name, nm); \ [all …]
|
D | efxmgr.c | 66 if (mgr->gpr[i].type == GPR_TYPE_CONTROL && in emu10k1_find_control_gpr() 68 !strcmp(mgr->gpr[i].name, gpr_name)) in emu10k1_find_control_gpr() 86 if (val > mgr->gpr[addr].max) in emu10k1_set_control_gpr() 87 val = mgr->gpr[addr].max; in emu10k1_set_control_gpr() 88 else if (val < mgr->gpr[addr].min) in emu10k1_set_control_gpr() 89 val = mgr->gpr[addr].min; in emu10k1_set_control_gpr()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | mk_defs.c | 158 DEFINE(GPR0, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[0])); in main() 159 DEFINE(GPR1, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[1])); in main() 160 DEFINE(GPR2, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[2])); in main() 161 DEFINE(GPR3, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[3])); in main() 162 DEFINE(GPR4, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[4])); in main() 163 DEFINE(GPR5, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[5])); in main() 164 DEFINE(GPR6, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[6])); in main() 165 DEFINE(GPR7, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[7])); in main() 166 DEFINE(GPR8, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[8])); in main() 167 DEFINE(GPR9, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[9])); in main() [all …]
|
D | signal.c | 138 regs->gpr[3] = EINTR; in sys_sigsuspend() 152 return regs->gpr[3]; in sys_sigsuspend() 177 regs->gpr[3] = EINTR; in sys_rt_sigsuspend() 183 return regs->gpr[3]; in sys_rt_sigsuspend() 192 return do_sigaltstack(uss, uoss, regs->gpr[1]); in sys_sigaltstack() 299 newsp = regs->gpr[1]; in get_sigframe() 302 if (! on_sig_stack(regs->gpr[1])) in get_sigframe() 340 struct ucontext *uc = (struct ucontext *)regs->gpr[1]; in sys_rt_sigreturn() 401 err |= __put_user(sas_ss_flags(regs->gpr[1]), in setup_rt_frame() 424 regs->gpr[1] = newsp; in setup_rt_frame() [all …]
|
D | process.c | 212 if ( __get_user(r, &(regs->gpr[i])) ) in show_regs() 265 childregs->gpr[3] = 0; /* Result from fork() */ in copy_thread() 278 kregs->gpr[1] = (unsigned long)childregs - STACK_FRAME_OVERHEAD; in copy_thread() 279 kregs->gpr[2] = (((unsigned long)&__toc_start) + 0x8000); in copy_thread() 283 childregs->gpr[1] = (unsigned long)(childregs + 1); in copy_thread() 284 *((unsigned long *) childregs->gpr[1]) = 0; in copy_thread() 287 childregs->gpr[1] = usp; in copy_thread() 323 unsigned long entry, toc, load_addr = regs->gpr[2]; in start_thread() 343 regs->gpr[1] = sp; in start_thread() 344 regs->gpr[2] = toc; in start_thread() [all …]
|
D | signal32.c | 250 sc = (struct sigcontext32 *)(regs->gpr[1] + __SIGNAL_FRAMESIZE32); in sys32_sigreturn() 287 regs->gpr[i] = (u64)(saved_regs[i]) & 0xFFFFFFFF; in sys32_sigreturn() 349 if (__copy_to_user(&frame->gp_regs[i], (u32*)(®s->gpr[i])+1, sizeof(u32))) in setup_frame32() 377 regs->gpr[3] = sig; in setup_frame32() 378 regs->gpr[4] = newsp; in setup_frame32() 383 if (put_user(regs->gpr[1], (u32*)(u64)newsp)) in setup_frame32() 385 regs->gpr[1] = newsp; in setup_frame32() 439 rt_stack_frame = (struct rt_sigframe_32 *)(regs->gpr[1] + __SIGNAL_FRAMESIZE32); in sys32_rt_sigreturn() 479 regs->gpr[i] = (u64)(saved_regs[i]) & 0xFFFFFFFF; in sys32_rt_sigreturn() 836 regs->gpr[3] = EINTR; in sys32_rt_sigsuspend() [all …]
|
D | traps.c | 109 print_backtrace((unsigned long *)regs->gpr[1]); in _exception() 128 unsigned long errdata = regs->gpr[3]; in FWNMI_get_errinfo() 135 regs->gpr[3] = savep[0]; /* restore original r3 */ in FWNMI_get_errinfo() 162 unsigned long *r3 = __va(regs->gpr[3]); /* for FWNMI debug */ in SystemResetException() 271 print_backtrace((unsigned long *)regs->gpr[1]); in MachineCheckException() 285 print_backtrace((unsigned long *)regs->gpr[1]); in SMIException()
|
D | align.c | 316 data.ll = regs->gpr[reg]; in fix_alignment() 350 regs->gpr[reg] = data.ll; in fix_alignment() 381 regs->gpr[areg] = regs->dar; in fix_alignment()
|
/linux-2.4.37.9/arch/ppc/math-emu/ |
D | math.c | 237 op1 = (void *)((idx ? regs->gpr[idx] : 0) + sdisp); in do_mathemu() 244 op1 = (void *)((idx ? regs->gpr[idx] : 0) + sdisp); in do_mathemu() 246 regs->gpr[idx] = (unsigned long)op1; in do_mathemu() 252 op1 = (void *)((idx ? regs->gpr[idx] : 0) + sdisp); in do_mathemu() 259 op1 = (void *)((idx ? regs->gpr[idx] : 0) + sdisp); in do_mathemu() 261 regs->gpr[idx] = (unsigned long)op1; in do_mathemu() 384 op1 = (void *)((idx ? regs->gpr[idx] : 0) + sdisp); in do_mathemu() 394 op1 = (void *)(regs->gpr[idx] + sdisp); in do_mathemu() 417 op1 = (void *)(regs->gpr[idx] + regs->gpr[(insn >> 11) & 0x1f]); in do_mathemu() 423 op1 = (void *)((idx ? regs->gpr[idx] : 0) in do_mathemu() [all …]
|
/linux-2.4.37.9/include/asm-ppc64/ |
D | elf.h | 101 memset(_r->gpr, 0, sizeof(_r->gpr)); \ 103 _r->gpr[2] = interp_load_addr; \
|
D | ptrace.h | 32 PPC_REG gpr[32]; member 49 PPC_REG_32 gpr[32]; member
|
/linux-2.4.37.9/arch/ppc64/mm/ |
D | fault.c | 184 if (address + 2048 < uregs->gpr[1] in do_page_fault() 308 print_backtrace( (unsigned long *)regs->gpr[1] ); in bad_page_fault()
|
/linux-2.4.37.9/include/asm-mips64/sn/ |
D | nmi.h | 71 unsigned long gpr[32]; member
|
/linux-2.4.37.9/include/asm-ppc/ |
D | ptrace.h | 22 unsigned long gpr[32]; member
|
/linux-2.4.37.9/arch/ppc64/xmon/ |
D | xmon.c | 301 regs.nip = regs.link = ((unsigned long *)(regs.gpr[1]))[2]; in xmon() 946 sp = excp->gpr[1]; in backtrace() 993 if (regs.gpr[1] < sp) { in backtrace() 994 printf("<Stack drops into 32-bit userspace %.16lx>\n", regs.gpr[1]); in backtrace() 998 sp = regs.gpr[1]; in backtrace() 1062 printf(" sp: %lx\n", fp->gpr[1]); in excprint() 1091 printf("R%.2ld = %.16lx R%.2ld = %.16lx\n", n, fp->gpr[n], in prregs() 1092 n+16, fp->gpr[n+16]); in prregs()
|
/linux-2.4.37.9/arch/mips/sgi-ip27/ |
D | ip27-nmi.c | 73 printk(" %016lx", nr->gpr[i]); in nmi_cpu_eframe_save()
|
/linux-2.4.37.9/arch/ppc/xmon/ |
D | xmon.c | 181 regs.nip = regs.link = ((unsigned long *)regs.gpr[1])[1]; in xmon() 721 sp = excp->gpr[1]; in backtrace() 740 sp = regs.gpr[1]; in backtrace() 767 printf("\nmsr = %x, sp = %x [%x]\n", fp->msr, fp->gpr[1], fp); in excprint() 784 printf("R%.2d = %.8x%s", n, fp->gpr[n], in prregs()
|
/linux-2.4.37.9/arch/s390x/kernel/ |
D | entry.S | 80 stg %r2,SP_ORIG_R2(%r15) # store original content of gpr 2
|
/linux-2.4.37.9/arch/s390/kernel/ |
D | entry.S | 93 st %r2,SP_ORIG_R2(%r15) # store original content of gpr 2
|