/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | old_notes.c | 113 char xregs[1]; member in union:__anon4570 228 prgetprxregs(lwp, bigwad->xregs); 230 xregsize, bigwad->xregs, rlimit, credp);
|
H A D | elf_notes.c | 180 char xregs[1]; member in union:__anon187 550 prgetprxregs(lwp, bigwad->xregs); 552 xregsize, bigwad->xregs, rlimit, credp);
|
/illumos-gate/usr/src/uts/sparc/v9/os/ |
H A D | xregs.c | 152 prxregset_t *xregs = (prxregset_t *)xrp; local 155 if (xregs == NULL) 158 xregs->pr_type = XR_TYPE_V8P; 160 xregs->pr_un.pr_v8p.pr_xg[XR_G0] = 0; 161 xregs->pr_un.pr_v8p.pr_xg[XR_G1] = GET_UPPER_32(rp->r_g1); 162 xregs->pr_un.pr_v8p.pr_xg[XR_G2] = GET_UPPER_32(rp->r_g2); 163 xregs->pr_un.pr_v8p.pr_xg[XR_G3] = GET_UPPER_32(rp->r_g3); 164 xregs->pr_un.pr_v8p.pr_xg[XR_G4] = GET_UPPER_32(rp->r_g4); 165 xregs->pr_un.pr_v8p.pr_xg[XR_G5] = GET_UPPER_32(rp->r_g5); 166 xregs 190 prxregset_t *xregs = (prxregset_t *)xrp; local 259 prxregset_t *xregs = (prxregset_t *)xrp; local 325 prxregset_t *xregs = (prxregset_t *)xrp; local [all...] |
H A D | v9dep.c | 901 char *volatile xregs = NULL; local 960 * For sparcv9 _LP64 user programs, use asrs instead of the xregs. 1031 xregs = kmem_alloc(xregs_size, KM_SLEEP); 1032 xregs_get(lwp, xregs); 1033 copyout_noerr(xregs, sp, xregs_size); 1034 kmem_free(xregs, xregs_size); 1035 xregs = NULL; 1185 if (xregs) 1186 kmem_free(xregs, xregs_size); 1232 char *volatile xregs local [all...] |
/illumos-gate/usr/src/uts/sparc/syscall/ |
H A D | getcontext.c | 182 caddr_t xregs = NULL; local 324 kmem_free(xregs, xregs_size); 431 caddr_t xregs; local 558 xregs = kmem_zalloc(xregs_size, KM_SLEEP); 560 xregs, xregs_size)) { 561 kmem_free(xregs, xregs_size); 566 xregs_setptr(lwp, &ucnat, xregs); 585 kmem_free(xregs, xregs_size);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Plwpregs.c | 69 * This function is used to slurp in lwpstatus, xregs, and asrs. 228 Plwp_getxregs(struct ps_prochandle *P, lwpid_t lwpid, prxregset_t *xregs) argument 243 return (getlwpfile(P, lwpid, "xregs", 244 xregs, sizeof (prxregset_t))); 248 (void) memcpy(xregs, lwp->lwp_xregs, sizeof (prxregset_t)); 258 Plwp_setxregs(struct ps_prochandle *P, lwpid_t lwpid, const prxregset_t *xregs) argument 260 return (setlwpregs(P, lwpid, PCSXREG, xregs, sizeof (prxregset_t)));
|
H A D | Pservice.c | 196 (void) snprintf(fname, sizeof (fname), "%s/%d/lwp/%d/xregs", 207 ps_lgetxregs(struct ps_prochandle *P, lwpid_t lwpid, caddr_t xregs) argument 213 if (Plwp_getxregs(P, lwpid, (prxregset_t *)xregs) == 0) 220 ps_lsetxregs(struct ps_prochandle *P, lwpid_t lwpid, caddr_t xregs) argument 226 if (Plwp_setxregs(P, lwpid, (prxregset_t *)xregs) == 0)
|
H A D | Pgcore.c | 496 prxregset_t xregs; local 497 if (Plwp_getxregs(P, lsp->pr_lwpid, &xregs) == 0 && 498 write_note(pgc->pgc_fd, NT_PRXREG, &xregs, 547 prxregset_t xregs; local 551 if (Plwp_getxregs(P, lsp->pr_lwpid, &xregs) == 0) { 552 if (write_note(pgc->pgc_fd, NT_PRXREG, &xregs,
|
H A D | Pcore.c | 1058 prxregset_t *xregs; local 1063 if ((xregs = malloc(xbytes)) == NULL) 1066 if (read(P->asfd, xregs, xbytes) != xbytes) { 1068 free(xregs); 1072 lwp->lwp_xregs = xregs;
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | machdep.c | 299 prxregset_t *xregs = (prxregset_t *)xrp; local 319 PRXREG_GSR(xregs) = gsr; 340 prxregset_t *xregs = (prxregset_t *)xrp; local 343 uint64_t gsr = PRXREG_GSR(xregs);
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_proc.c | 4509 * outs can have 32 upper bits hiding in the xregs. 4584 * outs can have 32 upper bits stored in the xregs. 4784 pt_lwp_getxregs(mdb_tgt_t *t, void *tap, mdb_tgt_tid_t tid, prxregset_t *xregs) argument 4788 (lwpid_t)tid, xregs))); 4796 const prxregset_t *xregs) 4800 (lwpid_t)tid, xregs))); 4970 pt_tdb_getxregs(mdb_tgt_t *t, void *tap, mdb_tgt_tid_t tid, prxregset_t *xregs) argument 4983 err = pt->p_tdb_ops->td_thr_getxregs(&th, xregs); 4992 const prxregset_t *xregs) 5005 err = pt->p_tdb_ops->td_thr_setxregs(&th, xregs); 4795 pt_lwp_setxregs(mdb_tgt_t *t, void *tap, mdb_tgt_tid_t tid, const prxregset_t *xregs) argument 4991 pt_tdb_setxregs(mdb_tgt_t *t, void *tap, mdb_tgt_tid_t tid, const prxregset_t *xregs) argument [all...] |