Searched refs:kregs (Results 1 – 20 of 20) sorted by relevance
/arch/sparc/include/asm/ |
D | processor_32.h | 53 struct pt_regs *kregs; member 117 #define task_pt_regs(tsk) ((tsk)->thread.kregs) 118 #define KSTK_EIP(tsk) ((tsk)->thread.kregs->pc) 119 #define KSTK_ESP(tsk) ((tsk)->thread.kregs->u_regs[UREG_FP])
|
D | switch_to_32.h | 23 (prv)->thread.kregs->psr &= ~PSR_EF; \ 33 (nxt)->thread.kregs->psr&=~PSR_EF; \
|
D | processor_64.h | 196 #define task_pt_regs(tsk) (task_thread_info(tsk)->kregs)
|
D | thread_info_64.h | 46 struct pt_regs *kregs; member
|
D | compat.h | 173 struct pt_regs *regs = current_thread_info()->kregs; in arch_compat_alloc_user_space()
|
/arch/openrisc/kernel/ |
D | process.c | 117 struct pt_regs *kregs; in copy_thread() local 158 kregs = (struct pt_regs *)sp; in copy_thread() 167 kregs->sp = top_of_kernel_stack; in copy_thread() 168 kregs->gpr[3] = (unsigned long)current; /* arg to schedule_tail */ in copy_thread() 169 kregs->gpr[10] = (unsigned long)task_thread_info(p); in copy_thread() 170 kregs->gpr[9] = (unsigned long)ret_from_fork; in copy_thread()
|
/arch/sparc/kernel/ |
D | process_64.c | 262 regs = tp->kregs; in arch_trigger_all_cpu_backtrace() 565 t->kregs = (struct pt_regs *) (child_trap_frame + in copy_thread() 575 t->kregs->u_regs[UREG_FP] = in copy_thread() 579 t->kregs->u_regs[UREG_G6] = (unsigned long) t; in copy_thread() 580 t->kregs->u_regs[UREG_G4] = (unsigned long) t->task; in copy_thread() 586 t->kregs->u_regs[UREG_FP] = sp; in copy_thread() 594 t->kregs->u_regs[UREG_FP] = csp; in copy_thread() 601 t->kregs->u_regs[UREG_I0] = current->pid; in copy_thread() 602 t->kregs->u_regs[UREG_I1] = 1; in copy_thread() 608 t->kregs->u_regs[UREG_G7] = regs->u_regs[UREG_I3]; in copy_thread()
|
D | ptrace_32.c | 51 const struct pt_regs *regs = target->thread.kregs; in genregs32_get() 129 struct pt_regs *regs = target->thread.kregs; in genregs32_set() 341 unsigned long addr2 = current->thread.kregs->u_regs[UREG_I4]; in arch_ptrace()
|
D | process_32.c | 385 current->thread.kregs = (struct pt_regs *) 510 p->thread.kregs = &fake_swapper_regs; 518 p->thread.kregs = childregs;
|
D | setup_32.c | 314 init_task.thread.kregs = &fake_swapper_regs; in setup_arch()
|
D | unaligned_32.c | 55 die_if_kernel("Byte sized unaligned access?!?!", current->thread.kregs); in decode_access_size()
|
D | setup_64.c | 523 task_thread_info(&init_task)->kregs = &fake_swapper_regs; in setup_arch()
|
D | traps_64.c | 2535 TI_KREGS != offsetof(struct thread_info, kregs) || in trap_init()
|
/arch/sh/include/asm/ |
D | processor_64.h | 118 struct pt_regs *kregs; member 139 .kregs = &fake_swapper_regs, \
|
/arch/mn10300/kernel/ |
D | process.c | 228 struct task_struct *p, struct pt_regs *kregs) in copy_thread() argument 255 if (kregs != uregs) { in copy_thread() 258 *c_kregs = *kregs; in copy_thread()
|
/arch/sh/kernel/ |
D | process_64.c | 280 tsk->thread.kregs = regs; in show_regs() 363 if(current->thread.kregs==&fake_swapper_regs) { in flush_thread() 364 current->thread.kregs = in flush_thread() 366 current->thread.uregs = current->thread.kregs; in flush_thread()
|
D | traps_64.c | 262 regs = tsk ? tsk->thread.kregs : NULL; in show_stack()
|
/arch/sparc/mm/ |
D | fault_32.c | 552 __do_fault_siginfo(code, SIGSEGV, tsk->thread.kregs, address); in force_user_fault() 557 __do_fault_siginfo(BUS_ADRERR, SIGBUS, tsk->thread.kregs, address); in force_user_fault()
|
/arch/powerpc/kernel/ |
D | process.c | 737 struct pt_regs *childregs, *kregs; in copy_thread() local 779 kregs = (struct pt_regs *) sp; in copy_thread() 814 kregs->nip = *((unsigned long *)ret_from_fork); in copy_thread() 816 kregs->nip = (unsigned long)ret_from_fork; in copy_thread()
|
/arch/sh/kernel/cpu/sh5/ |
D | switchto.S | 121 st.l r3, 8, r1 ! prev->thread.kregs
|