Home
last modified time | relevance | path

Searched refs:kregs (Results 1 – 20 of 20) sorted by relevance

/arch/sparc/include/asm/
Dprocessor_32.h53 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])
Dswitch_to_32.h23 (prv)->thread.kregs->psr &= ~PSR_EF; \
33 (nxt)->thread.kregs->psr&=~PSR_EF; \
Dprocessor_64.h196 #define task_pt_regs(tsk) (task_thread_info(tsk)->kregs)
Dthread_info_64.h46 struct pt_regs *kregs; member
Dcompat.h173 struct pt_regs *regs = current_thread_info()->kregs; in arch_compat_alloc_user_space()
/arch/openrisc/kernel/
Dprocess.c117 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/
Dprocess_64.c262 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()
Dptrace_32.c51 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()
Dprocess_32.c385 current->thread.kregs = (struct pt_regs *)
510 p->thread.kregs = &fake_swapper_regs;
518 p->thread.kregs = childregs;
Dsetup_32.c314 init_task.thread.kregs = &fake_swapper_regs; in setup_arch()
Dunaligned_32.c55 die_if_kernel("Byte sized unaligned access?!?!", current->thread.kregs); in decode_access_size()
Dsetup_64.c523 task_thread_info(&init_task)->kregs = &fake_swapper_regs; in setup_arch()
Dtraps_64.c2535 TI_KREGS != offsetof(struct thread_info, kregs) || in trap_init()
/arch/sh/include/asm/
Dprocessor_64.h118 struct pt_regs *kregs; member
139 .kregs = &fake_swapper_regs, \
/arch/mn10300/kernel/
Dprocess.c228 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/
Dprocess_64.c280 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()
Dtraps_64.c262 regs = tsk ? tsk->thread.kregs : NULL; in show_stack()
/arch/sparc/mm/
Dfault_32.c552 __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/
Dprocess.c737 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/
Dswitchto.S121 st.l r3, 8, r1 ! prev->thread.kregs