Searched refs:kregs (Results 1 – 23 of 23) sorted by relevance
/arch/openrisc/kernel/ |
D | process.c | 159 struct pt_regs *kregs; in copy_thread() local 173 kregs = (struct pt_regs *)sp; in copy_thread() 176 memset(kregs, 0, sizeof(struct pt_regs)); in copy_thread() 177 kregs->gpr[20] = usp; /* fn, kernel thread */ in copy_thread() 178 kregs->gpr[22] = arg; in copy_thread() 199 kregs->gpr[20] = 0; /* Userspace thread */ in copy_thread() 206 kregs->sp = top_of_kernel_stack; in copy_thread() 207 kregs->gpr[9] = (unsigned long)ret_from_fork; in copy_thread() 209 task_thread_info(p)->ksp = (unsigned long)kregs; in copy_thread()
|
/arch/nios2/include/asm/ |
D | processor.h | 52 struct pt_regs *kregs; member 63 .kregs = NULL, \ 84 #define KSTK_EIP(tsk) ((tsk)->thread.kregs->ea) 85 #define KSTK_ESP(tsk) ((tsk)->thread.kregs->sp)
|
/arch/sparc/include/asm/ |
D | processor_32.h | 47 struct pt_regs *kregs; member 104 #define task_pt_regs(tsk) ((tsk)->thread.kregs) 105 #define KSTK_EIP(tsk) ((tsk)->thread.kregs->pc) 106 #define KSTK_ESP(tsk) ((tsk)->thread.kregs->u_regs[UREG_FP])
|
D | switch_to_32.h | 24 (prv)->thread.kregs->psr &= ~PSR_EF; \ 34 (nxt)->thread.kregs->psr&=~PSR_EF; \
|
D | processor_64.h | 194 #define task_pt_regs(tsk) (task_thread_info(tsk)->kregs)
|
D | thread_info_64.h | 46 struct pt_regs *kregs; member
|
D | compat.h | 232 struct pt_regs *regs = current_thread_info()->kregs; in arch_compat_alloc_user_space()
|
/arch/sh/include/asm/ |
D | processor_64.h | 118 struct pt_regs *kregs; member 148 .kregs = &fake_swapper_regs, \
|
/arch/sparc/kernel/ |
D | process_64.c | 260 regs = tp->kregs; in arch_trigger_cpumask_backtrace() 638 t->kregs = (struct pt_regs *) (child_trap_frame + in copy_thread() 647 t->kregs->u_regs[UREG_G1] = sp; /* function */ in copy_thread() 648 t->kregs->u_regs[UREG_G2] = arg; in copy_thread() 658 t->kregs->u_regs[UREG_FP] = sp; in copy_thread() 668 t->kregs->u_regs[UREG_FP] = csp; in copy_thread() 674 t->kregs->u_regs[UREG_I0] = current->pid; in copy_thread() 675 t->kregs->u_regs[UREG_I1] = 1; in copy_thread() 681 t->kregs->u_regs[UREG_G7] = regs->u_regs[UREG_I3]; in copy_thread()
|
D | ptrace_32.c | 54 const struct pt_regs *regs = target->thread.kregs; in genregs32_get() 132 struct pt_regs *regs = target->thread.kregs; in genregs32_set() 344 unsigned long addr2 = current->thread.kregs->u_regs[UREG_I4]; in arch_ptrace()
|
D | process_32.c | 228 current->thread.kregs = (struct pt_regs *) 339 p->thread.kregs = childregs;
|
D | setup_32.c | 373 init_task.thread.kregs = &fake_swapper_regs; in setup_arch()
|
D | unaligned_32.c | 60 die_if_kernel("Byte sized unaligned access?!?!", current->thread.kregs); in decode_access_size()
|
D | setup_64.c | 664 task_thread_info(&init_task)->kregs = &fake_swapper_regs; in setup_arch()
|
D | traps_64.c | 2818 TI_KREGS != offsetof(struct thread_info, kregs) || in trap_init()
|
/arch/nios2/kernel/ |
D | kgdb.c | 113 gdb_regs[GDB_SP] = p->thread.kregs->sp; in sleeping_thread_to_gdb_regs() 114 gdb_regs[GDB_PC] = p->thread.kregs->ea; in sleeping_thread_to_gdb_regs()
|
D | process.c | 123 p->thread.kregs = childregs; in copy_thread() 135 p->thread.kregs = childregs; in copy_thread()
|
D | setup.c | 157 init_task.thread.kregs = &fake_regs; in setup_arch()
|
D | signal.c | 238 current->thread.kregs = regs; in do_signal()
|
/arch/sh/kernel/ |
D | process_64.c | 285 tsk->thread.kregs = regs; in show_regs() 334 if(current->thread.kregs==&fake_swapper_regs) { in flush_thread() 335 current->thread.kregs = in flush_thread() 337 current->thread.uregs = current->thread.kregs; in flush_thread()
|
/arch/sparc/mm/ |
D | fault_32.c | 424 __do_fault_siginfo(code, SIGSEGV, tsk->thread.kregs, address); in force_user_fault() 429 __do_fault_siginfo(BUS_ADRERR, SIGBUS, tsk->thread.kregs, address); in force_user_fault()
|
/arch/sh/kernel/cpu/sh5/ |
D | switchto.S | 121 st.l r3, 8, r1 ! prev->thread.kregs
|
/arch/powerpc/kernel/ |
D | process.c | 1498 struct pt_regs *childregs, *kregs; in copy_thread() local 1558 kregs = (struct pt_regs *) sp; in copy_thread() 1584 kregs->nip = ppc_function_entry(f); in copy_thread()
|