Home
last modified time | relevance | path

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

12

/third_party/libunwind/libunwind/src/ia64/
H A DGrbs.c92 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 in rbs_find_stacked()
180 get_rnat(struct cursor *c, struct rbs_area *rbs, unw_word_t bsp, unw_word_t *__restrict rnatp) get_rnat() argument
203 unw_word_t n, src_mask, dst_mask, bsp, *dst, src_rnat, dst_rnat = 0; rbs_cover_and_flush() local
[all...]
H A DGinit_local.c52 unw_word_t *sp, unw_word_t *bsp) in get_initial_stack_pointers()
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()
51 get_initial_stack_pointers(struct cursor *c, unw_context_t *uc, unw_word_t *sp, unw_word_t *bsp) get_initial_stack_pointers() argument
H A DGstep.c99 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()
179 /* Got ourselves a frame that has saved ar.bspstore, ar.bsp, in check_rbs_switch()
194 ar.rnat, ar.bsp, and ar.bspstore, it saves the former two in check_rbs_switch()
199 /* If ar.bsp has been saved already AND the current bsp i in check_rbs_switch()
[all...]
H A DGinit_remote.c36 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()
H A Dunwind_i.h548 rbs_contains (struct rbs_area *rbs, unw_word_t bsp) in rbs_contains() argument
553 test is (bsp >= rbs->end - rbs->size) && (bsp < rbs->end). We in rbs_contains()
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, in rbs_loc()
[all...]
H A Dinit.h29 common_init (struct cursor *c, unw_word_t sp, unw_word_t bsp) in common_init() argument
100 c->bsp = bsp; in common_init()
H A Dsetjmp.S35 mov r2 = ar.bsp
44 st8 [r17] = r2 // jmp_buf[JB_BSP] = bsp
H A Dsigsetjmp.S49 mov loc2 = ar.bsp
61 st8 [in0] = loc2 // sigjmp_buf[JB_BSP] = bsp
H A Dmk_Gcursor_i.c44 OFFSET("BSP_OFF", offsetof (struct cursor, bsp)); in main()
/third_party/libunwind/libunwind/src/setjmp/
H A Dsetjmp_i.h34 unw_word_t bsp, pfs, sol; in bsp_match() local
36 if (unw_get_reg (c, UNW_IA64_BSP, &bsp) < 0 in bsp_match()
40 /* simulate the effect of "br.call sigsetjmp" on ar.bsp: */ in bsp_match()
42 bsp = rse_skip_regs (bsp, sol); in bsp_match()
44 if (bsp != wp[JB_BSP]) in bsp_match()
/third_party/libunwind/libunwind/src/ptrace/
H A D_UPT_access_reg.c186 unsigned long sof, cfm, bsp; in _UPT_access_reg() local
191 /* Account for the fact that ptrace() expects bsp to point in _UPT_access_reg()
202 bsp = rse_skip_regs (*val, sof); in _UPT_access_reg()
207 ptrace (PTRACE_POKEUSER, pid, PT_AR_BSP, bsp); in _UPT_access_reg()
218 bsp = ptrace (PTRACE_PEEKUSER, pid, PT_AR_BSP, 0); in _UPT_access_reg()
222 *val = rse_skip_regs (bsp, -sof); in _UPT_access_reg()
228 /* If we change CFM, we need to adjust ptrace's notion of bsp in _UPT_access_reg()
229 accordingly, so that the real bsp remains unchanged. */ in _UPT_access_reg()
232 unsigned long new_sof, old_sof, cfm, bsp; in _UPT_access_reg() local
238 bsp in _UPT_access_reg()
[all...]
/third_party/libunwind/libunwind/tests/
H A Dia64-test-setjmp.c68 printf ("got signal, stack at %p, saved bsp=0x%lx\n", in sighandler()
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()
150 printf ("sigsetjmp returned at level %d bsp=0x%lx\n", in main()
H A DGia64-test-stack.c58 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()
H A DGia64-test-nat.c131 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()
149 panic ("%s: reading of ar.bsp failed, errno=%d", __FUNCTION__, errno); 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()
H A Dtest-ptrace.c123 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()
H A DGia64-test-rbs.c120 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()
H A DGtest-bt.c97 unw_word_t bsp; in do_backtrace() local
99 unw_get_reg (&cursor, UNW_IA64_BSP, &bsp); in do_backtrace()
100 printf (" bsp=%lx", bsp); in do_backtrace()
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 */ \
/third_party/libunwind/libunwind/include/tdep-ia64/
H A Drse.h46 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()
55 * registers, calculate ar.bsp.
H A Dlibunwind_i.h132 unw_word_t bsp; /* backing store pointer value */ member
166 c->bsp. However, this rbs area may not actually contain the
167 value in the register that c->bsp corresponds to because that
171 uint8_t rbs_curr; /* index of curr. rbs-area (contains c->bsp) */
/third_party/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_vp3_video.c210 nouveau_object_del(&dec->bsp); in nouveau_vp3_decoder_destroy()
377 struct nouveau_object *channel = NULL, *bsp = NULL; in firmware_present() local
404 NULL, 0, &bsp); in firmware_present()
405 if (bsp) in firmware_present()
407 nouveau_object_del(&bsp); in firmware_present()
H A Dnouveau_vp3_video_bsp.c286 char *bsp = bsp_bo->map; in nouveau_vp3_bsp_end() local
297 caps = nouveau_vp3_fill_picparm_mpeg12_bsp(dec, desc.mpeg12, bsp); in nouveau_vp3_bsp_end()
301 caps = nouveau_vp3_fill_picparm_mpeg4_bsp(dec, desc.mpeg4, bsp); in nouveau_vp3_bsp_end()
305 caps = nouveau_vp3_fill_picparm_vc1_bsp(dec, desc.vc1, bsp); in nouveau_vp3_bsp_end()
310 caps = nouveau_vp3_fill_picparm_h264_bsp(dec, desc.h264, bsp); in nouveau_vp3_bsp_end()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_video.c173 ret = nouveau_object_new(dec->channel[0], 0x390b1, 0x90b1, NULL, 0, &dec->bsp); in nvc0_create_decoder()
180 ret = nouveau_object_new(dec->channel[0], 0x95b1, 0x95b1, NULL, 0, &dec->bsp); in nvc0_create_decoder()
190 PUSH_DATA (push[0], dec->bsp->handle); in nvc0_create_decoder()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv84_video.h63 struct nouveau_object *bsp_channel, *vp_channel, *bsp, *vp; member
74 * 1: vpring/mbring cleared, bsp is ready
75 * 2: bsp is done, vp is ready

Completed in 11 milliseconds

12