Searched refs:bsp (Results 1 - 25 of 32) sorted by relevance

12

/external/libunwind/src/ia64/
H A DGrbs.c92 lo = rse_skip_regs (c->bsp, -ndirty);
117 c->bsp = saved_bsp;
128 unw_word_t nregs, bsp = c->bsp, curr = c->rbs_curr, n; local
134 while (!rbs_contains (&c->rbs_area[curr], bsp))
142 n = rse_num_regs (c->rbs_area[curr].end, bsp);
144 bsp = rse_skip_regs (c->rbs_area[curr].end - c->rbs_area[curr].size, n);
149 nregs = rse_num_regs (bsp, c->rbs_area[curr].end);
156 addr = rse_skip_regs (bsp, regs_to_skip);
173 bsp
180 get_rnat(struct cursor *c, struct rbs_area *rbs, unw_word_t bsp, unw_word_t *__restrict rnatp) argument
203 unw_word_t n, src_mask, dst_mask, bsp, *dst, src_rnat, dst_rnat = 0; local
[all...]
H A DGinit_remote.c36 unw_word_t sp, bsp;
56 || (ret = ia64_get (c, IA64_REG_LOC (c, UNW_IA64_AR_BSP), &bsp)) < 0)
59 return common_init (c, sp, bsp);
H A DGinit_local.c52 unw_word_t *sp, unw_word_t *bsp)
66 *bsp = rse_skip_regs (bspstore, -sol);
71 || (ret = ia64_get (c, IA64_REG_LOC (c, UNW_IA64_AR_BSP), bsp)) < 0)
83 unw_word_t sp, bsp; local
94 if ((ret = get_initial_stack_pointers (c, uc, &sp, &bsp)) < 0)
97 Debug (4, "initial bsp=%lx, sp=%lx\n", bsp, sp);
99 if ((ret = common_init (c, sp, bsp)) < 0)
51 get_initial_stack_pointers(struct cursor *c, unw_context_t *uc, unw_word_t *sp, unw_word_t *bsp) argument
H A Dsetjmp.S35 mov r2 = ar.bsp
44 st8 [r17] = r2 // jmp_buf[JB_BSP] = bsp
H A DGstep.c99 unw_word_t sc_addr, bsp, bspstore;
154 if ((ret = ia64_get (c, c->loc[IA64_REG_BSP], &bsp)) < 0
157 if (bspstore < bsp)
160 rbs_switch (c, bsp, bspstore, IA64_LOC_UC_ADDR (bsp | 0x1f8, 0));
176 saved_bsp = c->bsp;
179 /* Got ourselves a frame that has saved ar.bspstore, ar.bsp,
194 ar.rnat, ar.bsp, and ar.bspstore, it saves the former two
199 /* If ar.bsp has been saved already AND the current bsp i
[all...]
H A Dmk_Gcursor_i.c44 OFFSET("BSP_OFF", offsetof (struct cursor, bsp));
H A Dsigsetjmp.S49 mov loc2 = ar.bsp
61 st8 [in0] = loc2 // sigjmp_buf[JB_BSP] = bsp
H A Dunwind_i.h548 rbs_contains (struct rbs_area *rbs, unw_word_t bsp) argument
553 test is (bsp >= rbs->end - rbs->size) && (bsp < rbs->end). We
555 result = bsp - rbs->end > ~rbs->size;
557 (long) bsp, (long) (rbs->end - rbs->size), (long) rbs->end, result);
562 rbs_get_rnat_loc (struct rbs_area *rbs, unw_word_t bsp) argument
564 unw_word_t rnat_addr = rse_rnat_addr (bsp);
580 rbs_loc (struct rbs_area *rbs, unw_word_t bsp) argument
583 return IA64_LOC_UC_ADDR (bsp, 0);
585 return IA64_LOC_ADDR (bsp,
[all...]
H A Dinit.h29 common_init (struct cursor *c, unw_word_t sp, unw_word_t bsp) argument
100 c->bsp = bsp;
H A Dgetcontext.S60 mov.m rBSP = ar.bsp // M2, 12 cyc.
/external/libunwind/src/setjmp/
H A Dsetjmp_i.h34 unw_word_t bsp, pfs, sol; local
36 if (unw_get_reg (c, UNW_IA64_BSP, &bsp) < 0
40 /* simulate the effect of "br.call sigsetjmp" on ar.bsp: */
42 bsp = rse_skip_regs (bsp, sol);
44 if (bsp != wp[JB_BSP])
/external/libunwind/include/tdep-ia64/
H A Drse.h46 rse_num_regs (uint64_t bspstore, uint64_t bsp) argument
48 uint64_t slots = (bsp - bspstore) >> 3;
55 * registers, calculate ar.bsp.
H A Dlibunwind_i.h142 unw_word_t bsp; /* backing store pointer value */ member in struct:cursor
176 c->bsp. However, this rbs area may not actually contain the
177 value in the register that c->bsp corresponds to because that
181 uint8_t rbs_curr; /* index of curr. rbs-area (contains c->bsp) */
/external/libunwind/tests/
H A Dia64-test-setjmp.c68 printf ("got signal, stack at %p, saved bsp=0x%lx\n",
82 uintptr_t guard_page_addr, bsp = get_bsp (); local
89 guard_page_addr = (bsp + page_size - 1) & -page_size;
108 return_bsp = bsp;
150 printf ("sigsetjmp returned at level %d bsp=0x%lx\n",
H A DGia64-test-stack.c58 unw_word_t ip, sp, bsp, v0, v1, v2, v3, n0, n1, n2, n3, cfm, sof, sol, r32; local
76 || (ret = unw_get_reg (&c, UNW_IA64_BSP, &bsp)) < 0)
78 printf ("ip=0x%16lx sp=0x%16lx bsp=0x%16lx\n", ip, sp, bsp);
H A DGia64-test-rbs.c120 unw_word_t bsp; local
121 if (unw_get_reg (&c, UNW_IA64_BSP, &bsp) < 0)
123 printf (" bsp=%lx, old ip=%lx, new ip=%p\n", bsp,
H A Dtest-ptrace.c123 unw_word_t bsp; local
125 if ((ret = unw_get_reg (&c, UNW_IA64_BSP, &bsp)) < 0)
128 printf (" bsp=%lx", bsp);
H A DGia64-test-nat.c131 unsigned long *bsp, *arg1; local
144 bsp = (unsigned long *) rse_skip_regs (uc->uc_mcontext.sc_ar_bsp, -sof);
147 if (__uc_get_ar (uc, UNW_IA64_AR_BSP - UNW_IA64_AR, &bsp) != 0)
149 panic ("%s: reading of ar.bsp failed, errno=%d", __FUNCTION__, errno);
155 arg0 = (save_func_t **) *bsp;
156 bsp = (unsigned long *) rse_skip_regs ((uint64_t) bsp, 1);
157 arg1 = (unsigned long *) *bsp;
H A DGtest-bt.c96 unw_word_t bsp; local
98 unw_get_reg (&cursor, UNW_IA64_BSP, &bsp);
99 printf (" bsp=%lx", bsp);
H A Dia64-test-stack-asm.S69 mov r16 = ar.bsp
73 .savesp ar.bsp, SAVED_BSP_OFF+16
108 ld8 r20 = [r3], (SAVED_BSPSTORE_OFF-SAVED_BSP_OFF);; // saved bsp
113 mov ar.bspstore = r21 // this also restores ar.bsp
H A Dia64-test-rbs-asm.S75 mov r16 = ar.bsp; \
79 .savesp ar.bsp, SAVED_BSP_OFF+16; \
102 ld8 r20 = [r3], (SAVED_BSPSTORE_OFF-SAVED_BSP_OFF);;/* saved bsp */ \
110 mov r3 = ar.bsp;; \
116 mov ar.bspstore = r21;; /* this also restores ar.bsp */ \
/external/libunwind/src/ptrace/
H A D_UPT_access_reg.c145 unsigned long sof, cfm, bsp; local
150 /* Account for the fact that ptrace() expects bsp to point
161 bsp = rse_skip_regs (*val, sof);
166 ptrace (PTRACE_POKEUSER, pid, PT_AR_BSP, bsp);
177 bsp = ptrace (PTRACE_PEEKUSER, pid, PT_AR_BSP, 0);
181 *val = rse_skip_regs (bsp, -sof);
187 /* If we change CFM, we need to adjust ptrace's notion of bsp
188 accordingly, so that the real bsp remains unchanged. */
191 unsigned long new_sof, old_sof, cfm, bsp; local
197 bsp
[all...]
/external/ltrace/sysdeps/linux-gnu/ia64/
H A Dfetch.c142 unsigned long *bsp = (unsigned long *)ctx->regs.ar[PT_AUR_BSP]; local
144 unsigned long *ptr = ia64_rse_skip_regs(bsp, idx);
/external/oprofile/module/ia64/
H A DIA64minstate.h60 (pUser) mov r18=ar.bsp; \
97 (pUser) mov r18=ar.bsp; \
/external/strace/
H A Dutil.c1161 long bsp; local
1169 if (upeek(tcp->pid, PT_AR_BSP, &bsp) < 0)
1176 bsp = (long) ia64_rse_skip_regs((unsigned long *) bsp, -sof + sol);
1178 *state = (unsigned long *) bsp;

Completed in 4207 milliseconds

12