• Home
  • Raw
  • Download

Lines Matching refs:tregs

93 	struct pt_regs *tregs;  in fixup_exception()  local
102 tregs = (struct pt_regs *)((long)regs + regs->stkadj); in fixup_exception()
103 tregs->vector = regs->vector; in fixup_exception()
104 tregs->format = FORMAT; in fixup_exception()
105 tregs->pc = fixup->fixup; in fixup_exception()
106 tregs->sr = regs->sr; in fixup_exception()
814 struct pt_regs *tregs = rte_regs(regs); in setup_sigcontext() local
821 sc->sc_sr = tregs->sr; in setup_sigcontext()
822 sc->sc_pc = tregs->pc; in setup_sigcontext()
823 sc->sc_formatvec = tregs->format << 12 | tregs->vector; in setup_sigcontext()
831 struct pt_regs *tregs = rte_regs(regs); in rt_setup_ucontext() local
852 err |= __put_user(tregs->pc, &gregs[16]); in rt_setup_ucontext()
853 err |= __put_user(tregs->sr, &gregs[17]); in rt_setup_ucontext()
854 err |= __put_user((tregs->format << 12) | tregs->vector, &uc->uc_formatvec); in rt_setup_ucontext()
860 get_sigframe(struct ksignal *ksig, struct pt_regs *tregs, size_t frame_size) in get_sigframe() argument
865 if (CPU_IS_020_OR_030 && tregs->format == 0xb) { in get_sigframe()
877 struct pt_regs *tregs = rte_regs(regs); in setup_frame() local
878 int fsize = frame_extra_sizes(tregs->format); in setup_frame()
884 tregs->format); in setup_frame()
888 frame = get_sigframe(ksig, tregs, sizeof(*frame) + fsize); in setup_frame()
895 err |= __put_user(tregs->vector, &frame->code); in setup_frame()
928 tregs = rte_regs(regs); in setup_frame()
930 tregs->vector = 0; in setup_frame()
931 tregs->format = 0; in setup_frame()
932 tregs->sr = regs->sr; in setup_frame()
940 tregs->pc = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame()
950 struct pt_regs *tregs = rte_regs(regs); in setup_rt_frame() local
951 int fsize = frame_extra_sizes(tregs->format); in setup_rt_frame()
960 frame = get_sigframe(ksig, tregs, sizeof(*frame)); in setup_rt_frame()
1008 tregs = rte_regs(regs); in setup_rt_frame()
1010 tregs->vector = 0; in setup_rt_frame()
1011 tregs->format = 0; in setup_rt_frame()
1012 tregs->sr = regs->sr; in setup_rt_frame()
1020 tregs->pc = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame()