/external/libunwind/src/ia64/ |
D | Grbs.c | 92 lo = rse_skip_regs (c->bsp, -ndirty); in rbs_switch() 117 c->bsp = saved_bsp; in rbs_switch() 128 unw_word_t nregs, bsp = c->bsp, curr = c->rbs_curr, n; in rbs_find_stacked() local 134 while (!rbs_contains (&c->rbs_area[curr], bsp)) in rbs_find_stacked() 142 n = rse_num_regs (c->rbs_area[curr].end, bsp); in rbs_find_stacked() 144 bsp = rse_skip_regs (c->rbs_area[curr].end - c->rbs_area[curr].size, n); in rbs_find_stacked() 149 nregs = rse_num_regs (bsp, c->rbs_area[curr].end); in rbs_find_stacked() 156 addr = rse_skip_regs (bsp, regs_to_skip); in rbs_find_stacked() 173 bsp = c->rbs_area[curr].end - c->rbs_area[curr].size; in rbs_find_stacked() 180 get_rnat (struct cursor *c, struct rbs_area *rbs, unw_word_t bsp, in get_rnat() argument [all …]
|
D | Ginit_local.c | 52 unw_word_t *sp, unw_word_t *bsp) in get_initial_stack_pointers() argument 66 *bsp = rse_skip_regs (bspstore, -sol); in get_initial_stack_pointers() 71 || (ret = ia64_get (c, IA64_REG_LOC (c, UNW_IA64_AR_BSP), bsp)) < 0) in get_initial_stack_pointers() 83 unw_word_t sp, bsp; in unw_init_local() local 94 if ((ret = get_initial_stack_pointers (c, uc, &sp, &bsp)) < 0) in unw_init_local() 97 Debug (4, "initial bsp=%lx, sp=%lx\n", bsp, sp); in unw_init_local() 99 if ((ret = common_init (c, sp, bsp)) < 0) in unw_init_local()
|
D | Gstep.c | 99 unw_word_t sc_addr, bsp, bspstore; in hpux_sigtramp() 154 if ((ret = ia64_get (c, c->loc[IA64_REG_BSP], &bsp)) < 0 in hpux_sigtramp() 157 if (bspstore < bsp) in hpux_sigtramp() 160 rbs_switch (c, bsp, bspstore, IA64_LOC_UC_ADDR (bsp | 0x1f8, 0)); in hpux_sigtramp() 176 saved_bsp = c->bsp; in check_rbs_switch() 211 ndirty = rse_num_regs (c->bsp - loadrs, c->bsp); in check_rbs_switch() 215 if (saved_bsp == c->bsp) in check_rbs_switch() 231 prev_bsp = c->bsp; in update_frame_state() 320 c->bsp = rse_skip_regs (c->bsp, -num_regs); in update_frame_state() 325 if (c->ip == prev_ip && c->sp == prev_sp && c->bsp == prev_bsp) in update_frame_state()
|
D | NOTES | 5 - bsp current backing store pointer 15 - bsp == if ar.bsp has been saved, saved ar.bsp, otherwise, 16 ar.bsp \ominus saved ar.pfs.pfm.sol 30 - save location of bsp (if it has been saved)
|
D | Ginit_remote.c | 36 unw_word_t sp, bsp; in unw_init_remote() 56 || (ret = ia64_get (c, IA64_REG_LOC (c, UNW_IA64_AR_BSP), &bsp)) < 0) in unw_init_remote() 59 return common_init (c, sp, bsp); in unw_init_remote()
|
D | unwind_i.h | 548 rbs_contains (struct rbs_area *rbs, unw_word_t bsp) in rbs_contains() argument 555 result = bsp - rbs->end > ~rbs->size; in rbs_contains() 557 (long) bsp, (long) (rbs->end - rbs->size), (long) rbs->end, result); in rbs_contains() 562 rbs_get_rnat_loc (struct rbs_area *rbs, unw_word_t bsp) in rbs_get_rnat_loc() argument 564 unw_word_t rnat_addr = rse_rnat_addr (bsp); in rbs_get_rnat_loc() 580 rbs_loc (struct rbs_area *rbs, unw_word_t bsp) in rbs_loc() argument 583 return IA64_LOC_UC_ADDR (bsp, 0); in rbs_loc() 585 return IA64_LOC_ADDR (bsp, 0); in rbs_loc() 598 addr = rse_skip_regs (c->bsp, regs_to_skip); in ia64_get_stacked()
|
D | init.h | 29 common_init (struct cursor *c, unw_word_t sp, unw_word_t bsp) in common_init() argument 100 c->bsp = bsp; in common_init()
|
D | setjmp.S | 35 mov r2 = ar.bsp
|
D | sigsetjmp.S | 49 mov loc2 = ar.bsp
|
D | mk_Gcursor_i.c | 44 OFFSET("BSP_OFF", offsetof (struct cursor, bsp)); in main()
|
D | Gregs.c | 374 c->bsp = *valp; in tdep_access_reg() 376 *valp = c->bsp; in tdep_access_reg()
|
/external/libunwind/src/setjmp/ |
D | setjmp_i.h | 34 unw_word_t bsp, pfs, sol; in bsp_match() local 36 if (unw_get_reg (c, UNW_IA64_BSP, &bsp) < 0 in bsp_match() 42 bsp = rse_skip_regs (bsp, sol); in bsp_match() 44 if (bsp != wp[JB_BSP]) in bsp_match()
|
/external/libunwind/src/ptrace/ |
D | _UPT_access_reg.c | 145 unsigned long sof, cfm, bsp; in _UPT_access_reg() local 161 bsp = rse_skip_regs (*val, sof); in _UPT_access_reg() 166 ptrace (PTRACE_POKEUSER, pid, PT_AR_BSP, bsp); in _UPT_access_reg() 177 bsp = ptrace (PTRACE_PEEKUSER, pid, PT_AR_BSP, 0); in _UPT_access_reg() 181 *val = rse_skip_regs (bsp, -sof); in _UPT_access_reg() 191 unsigned long new_sof, old_sof, cfm, bsp; in _UPT_access_reg() local 197 bsp = ptrace (PTRACE_PEEKUSER, pid, PT_AR_BSP, 0); in _UPT_access_reg() 206 bsp = rse_skip_regs (bsp, -old_sof + new_sof); in _UPT_access_reg()
|
/external/libunwind/tests/ |
D | ia64-test-setjmp.c | 82 uintptr_t guard_page_addr, bsp = get_bsp (); in doit() local 89 guard_page_addr = (bsp + page_size - 1) & -page_size; in doit() 108 return_bsp = bsp; in doit()
|
D | Gia64-test-nat.c | 131 unsigned long *bsp, *arg1; in sighandler() local 144 bsp = (unsigned long *) rse_skip_regs (uc->uc_mcontext.sc_ar_bsp, -sof); in sighandler() 147 if (__uc_get_ar (uc, UNW_IA64_AR_BSP - UNW_IA64_AR, &bsp) != 0) in sighandler() 155 arg0 = (save_func_t **) *bsp; in sighandler() 156 bsp = (unsigned long *) rse_skip_regs ((uint64_t) bsp, 1); in sighandler() 157 arg1 = (unsigned long *) *bsp; in sighandler()
|
D | Gia64-test-stack.c | 58 unw_word_t ip, sp, bsp, v0, v1, v2, v3, n0, n1, n2, n3, cfm, sof, sol, r32; in do_unwind_tests() local 76 || (ret = unw_get_reg (&c, UNW_IA64_BSP, &bsp)) < 0) in do_unwind_tests() 78 printf ("ip=0x%16lx sp=0x%16lx bsp=0x%16lx\n", ip, sp, bsp); in do_unwind_tests()
|
D | Gia64-test-rbs.c | 120 unw_word_t bsp; in unwind_and_resume() local 121 if (unw_get_reg (&c, UNW_IA64_BSP, &bsp) < 0) in unwind_and_resume() 123 printf (" bsp=%lx, old ip=%lx, new ip=%p\n", bsp, in unwind_and_resume()
|
D | test-ptrace.c | 123 unw_word_t bsp; in do_backtrace() local 125 if ((ret = unw_get_reg (&c, UNW_IA64_BSP, &bsp)) < 0) in do_backtrace() 128 printf (" bsp=%lx", bsp); in do_backtrace()
|
D | Gtest-bt.c | 96 unw_word_t bsp; in do_backtrace() local 98 unw_get_reg (&cursor, UNW_IA64_BSP, &bsp); in do_backtrace() 99 printf (" bsp=%lx", bsp); in do_backtrace()
|
D | ia64-test-stack-asm.S | 69 mov r16 = ar.bsp 73 .savesp ar.bsp, SAVED_BSP_OFF+16
|
D | ia64-test-rbs-asm.S | 75 mov r16 = ar.bsp; \ 79 .savesp ar.bsp, SAVED_BSP_OFF+16; \ 110 mov r3 = ar.bsp;; \
|
/external/libunwind/include/tdep-ia64/ |
D | rse.h | 46 rse_num_regs (uint64_t bspstore, uint64_t bsp) in rse_num_regs() argument 48 uint64_t slots = (bsp - bspstore) >> 3; in rse_num_regs()
|
D | libunwind_i.h | 142 unw_word_t bsp; /* backing store pointer value */ member
|
/external/libunwind/doc/ |
D | NOTES | 113 register backing store pointer (bsp). One quirk with this 115 register ar.bsp after flushing the current register stack to the 118 marker (CFM), it's easy to calculate the original value of ar.bsp: 120 unw_word_t cfm, bsp, bsp_after_flushrs, sof; 124 bsp = ia64_rse_skip_regs (bsp_after_flushrs, -(cfm & 0x7f));
|
/external/ltrace/sysdeps/linux-gnu/ia64/ |
D | fetch.c | 142 unsigned long *bsp = (unsigned long *)ctx->regs.ar[PT_AUR_BSP]; in allocate_reg() local 144 unsigned long *ptr = ia64_rse_skip_regs(bsp, idx); in allocate_reg()
|