Home | History | Annotate | Download | only in ppc32

Lines Matching refs:reg

46 uc_addr (ucontext_t *uc, int reg)
50 if ((unsigned) (reg - UNW_PPC32_R0) < 32)
51 addr = &uc->uc_mcontext.uc_regs->gregs[reg - UNW_PPC32_R0];
54 if ( ((unsigned) (reg - UNW_PPC32_F0) < 32) &&
55 ((unsigned) (reg - UNW_PPC32_F0) >= 0) )
56 addr = &uc->uc_mcontext.uc_regs->fpregs.fpregs[reg - UNW_PPC32_F0];
62 switch (reg)
87 tdep_uc_addr (ucontext_t *uc, int reg)
89 return uc_addr (uc, reg);
157 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val,
163 if ( ((unsigned int) (reg - UNW_PPC32_F0) < 32) &&
164 ((unsigned int) (reg - UNW_PPC32_F0) >= 0))
167 addr = uc_addr (uc, reg);
174 Debug (12, "%s <- %lx\n", unw_regname (reg), *val);
179 Debug (12, "%s -> %lx\n", unw_regname (reg), *val);
184 Debug (1, "bad register number %u\n", reg);
189 access_fpreg (unw_addr_space_t as, unw_regnum_t reg, unw_fpreg_t *val,
195 if ((unsigned) (reg - UNW_PPC32_F0) < 0)
198 addr = uc_addr (uc, reg);
204 Debug (12, "%s <- %016Lf\n", unw_regname (reg), *val);
210 Debug (12, "%s -> %016Lf\n", unw_regname (reg), *val);
215 Debug (1, "bad register number %u\n", reg);