Lines Matching refs:usp
91 unsigned long usp = (regs->gr[30] & ~(0x01UL)); in sys_rt_sigreturn() local
104 (usp - sigframe_size); in sys_rt_sigreturn()
135 usp, &compat_frame->uc.uc_stack); in sys_rt_sigreturn()
146 usp, &frame->uc.uc_stack); in sys_rt_sigreturn()
231 unsigned long rp, usp; in setup_rt_frame() local
239 usp = (regs->gr[30] & ~(0x01UL)); in setup_rt_frame()
244 usp = (compat_uint_t)usp; in setup_rt_frame()
248 frame = get_sigframe(&ksig->ka, usp, sigframe_size); in setup_rt_frame()
515 unsigned int *usp = (unsigned int *)regs->gr[30]; in insert_restart_trampoline() local
516 unsigned long start = (unsigned long) &usp[2]; in insert_restart_trampoline()
517 unsigned long end = (unsigned long) &usp[5]; in insert_restart_trampoline()
521 if (A(&usp[0]) >= user_addr_max() - 5 * sizeof(int)) in insert_restart_trampoline()
534 err |= put_user(regs->gr[31] >> 32, &usp[0]); in insert_restart_trampoline()
535 err |= put_user(regs->gr[31] & 0xffffffff, &usp[1]); in insert_restart_trampoline()
536 err |= put_user(0x0fc010df, &usp[2]); in insert_restart_trampoline()
538 err |= put_user(regs->gr[31], &usp[0]); in insert_restart_trampoline()
539 err |= put_user(0x0fc0109f, &usp[2]); in insert_restart_trampoline()
541 err |= put_user(0xe0008200, &usp[3]); in insert_restart_trampoline()
542 err |= put_user(0x34140000, &usp[4]); in insert_restart_trampoline()