• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/

Lines Matching refs:regs

118 void show_regs(struct pt_regs * regs)
122 print_symbol("PC is at %s\n", instruction_pointer(regs));
124 regs->pc, regs->regs[15], regs->sr);
133 regs->regs[0],regs->regs[1],
134 regs->regs[2],regs->regs[3]);
136 regs->regs[4],regs->regs[5],
137 regs->regs[6],regs->regs[7]);
139 regs->regs[8],regs->regs[9],
140 regs->regs[10],regs->regs[11]);
142 regs->regs[12],regs->regs[13],
143 regs->regs[14]);
145 regs->mach, regs->macl, regs->gbr, regs->pr);
147 show_trace(NULL, (unsigned long *)regs->regs[15], regs);
172 struct pt_regs regs;
174 memset(&regs, 0, sizeof(regs));
175 regs.regs[4] = (unsigned long)arg;
176 regs.regs[5] = (unsigned long)fn;
178 regs.pc = (unsigned long)kernel_thread_helper;
179 regs.sr = (1 << 30);
183 &regs, 0, NULL, NULL);
213 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu)
222 unlazy_fpu(tsk, regs);
233 int dump_task_regs(struct task_struct *tsk, elf_gregset_t *regs)
238 elf_core_copy_regs(regs, &ptregs);
262 struct task_struct *p, struct pt_regs *regs)
269 unlazy_fpu(tsk, regs);
275 *childregs = *regs;
277 if (user_mode(regs)) {
278 childregs->regs[15] = usp;
281 childregs->regs[15] = (unsigned long)childregs;
286 childregs->gbr = childregs->regs[0];
288 childregs->regs[0] = 0; /* Set return value for child */
355 struct pt_regs *regs;
358 regs = task_pt_regs(prev);
359 if (user_mode(regs) && regs->regs[15] >= 0xc0000000) {
360 int offset = (int)regs->regs[15];
363 regs->regs[15] = regs->regs[1];
364 if (regs->pc < regs->regs[0])
366 regs->pc = regs->regs[0] + offset;
408 struct pt_regs *regs = RELOC_HIDE(&__regs, 0);
410 return do_fork(SIGCHLD, regs->regs[15], regs, 0, NULL, NULL);
422 struct pt_regs *regs = RELOC_HIDE(&__regs, 0);
424 newsp = regs->regs[15];
425 return do_fork(clone_flags, newsp, regs, 0,
444 struct pt_regs *regs = RELOC_HIDE(&__regs, 0);
445 return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, regs->regs[15], regs,
456 struct pt_regs *regs = RELOC_HIDE(&__regs, 0);
468 regs);
522 struct pt_regs *regs = RELOC_HIDE(&__regs, 0);
525 regs->pc -= instruction_size(ctrl_inw(regs->pc - 4));
527 if (notify_die(DIE_TRAP, "debug trap", regs, 0, regs->tra & 0xff,
541 struct pt_regs *regs = RELOC_HIDE(&__regs, 0);
544 regs->pc -= instruction_size(ctrl_inw(regs->pc - 4));
546 if (notify_die(DIE_TRAP, "bug trap", regs, 0, TRAPA_BUG_OPCODE & 0xff,
551 if (__kernel_text_address(instruction_pointer(regs))) {
552 u16 insn = *(u16 *)instruction_pointer(regs);
554 handle_BUG(regs);