Lines Matching refs:valp
250 unw_word_t *valp, int write) in update_nat() argument
261 if (*valp) in update_nat()
268 *valp = (nat_word & mask) != 0; in update_nat()
275 unw_word_t *valp, int write) in access_nat() argument
287 if (*valp) in access_nat()
321 *valp = (memcmp (&tmp, &unw.nat_val_be, sizeof (tmp)) == 0); in access_nat()
323 *valp = (memcmp (&tmp, &unw.nat_val_le, sizeof (tmp)) == 0); in access_nat()
333 return ia64_put (c, nat_loc, *valp); in access_nat()
335 return ia64_get (c, nat_loc, valp); in access_nat()
347 if (*valp) in access_nat()
351 *valp = 0; in access_nat()
356 return update_nat (c, nat_loc, mask, valp, write); in access_nat()
360 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, in tdep_access_reg() argument
374 c->bsp = *valp; in tdep_access_reg()
376 *valp = c->bsp; in tdep_access_reg()
381 c->sp = *valp; in tdep_access_reg()
383 *valp = c->sp; in tdep_access_reg()
389 c->ip = *valp; /* also update the IP cache */ in tdep_access_reg()
390 if (c->pi_valid && (*valp < c->pi.start_ip || *valp >= c->pi.end_ip)) in tdep_access_reg()
406 return access_nat (c, loc, reg_loc, nat_bitnr, valp, write); in tdep_access_reg()
423 c->cfm = *valp; /* also update the CFM cache */ in tdep_access_reg()
434 c->pr = *valp; /* update the predicate cache */ in tdep_access_reg()
435 return ia64_put (c, c->loc[IA64_REG_PR], *valp); in tdep_access_reg()
438 return ia64_get (c, c->loc[IA64_REG_PR], valp); in tdep_access_reg()
458 return update_nat (c, nat_loc, mask, valp, write); in tdep_access_reg()
466 val = ((val & ~((unw_word_t) 0x3f << 52)) | ((*valp & 0x3f) << 52)); in tdep_access_reg()
471 *valp = (val >> 52) & 0x3f; in tdep_access_reg()
480 *valp = 0; in tdep_access_reg()
486 *valp = 0; in tdep_access_reg()
498 *valp = 0; in tdep_access_reg()
504 return update_nat(c, loc, (unw_word_t) 1 << nat_bitnr, valp, write); in tdep_access_reg()
511 c->eh_args[reg - (UNW_IA64_GR + 15)] = *valp; in tdep_access_reg()
517 *valp = c->eh_args[reg - (UNW_IA64_GR + 15)]; in tdep_access_reg()
545 *valp = c->pi.gp; in tdep_access_reg()
556 return ia64_put (c, loc, *valp); in tdep_access_reg()
558 return ia64_get (c, loc, valp); in tdep_access_reg()
562 tdep_access_fpreg (struct cursor *c, int reg, unw_fpreg_t *valp, in tdep_access_fpreg() argument
572 *valp = unw.read_only.f0; in tdep_access_fpreg()
580 *valp = unw.read_only.f1_be; in tdep_access_fpreg()
582 *valp = unw.read_only.f1_le; in tdep_access_fpreg()
609 return ia64_putfp (c, loc, *valp); in tdep_access_fpreg()
611 return ia64_getfp (c, loc, valp); in tdep_access_fpreg()