/titanic_41/usr/src/uts/sparc/v9/os/ |
H A D | xregs.c | 152 prxregset_t *xregs = (prxregset_t *)xrp; in xregs_getgregs() local 155 if (xregs == NULL) in xregs_getgregs() 158 xregs->pr_type = XR_TYPE_V8P; in xregs_getgregs() 160 xregs->pr_un.pr_v8p.pr_xg[XR_G0] = 0; in xregs_getgregs() 161 xregs->pr_un.pr_v8p.pr_xg[XR_G1] = GET_UPPER_32(rp->r_g1); in xregs_getgregs() 162 xregs->pr_un.pr_v8p.pr_xg[XR_G2] = GET_UPPER_32(rp->r_g2); in xregs_getgregs() 163 xregs->pr_un.pr_v8p.pr_xg[XR_G3] = GET_UPPER_32(rp->r_g3); in xregs_getgregs() 164 xregs->pr_un.pr_v8p.pr_xg[XR_G4] = GET_UPPER_32(rp->r_g4); in xregs_getgregs() 165 xregs->pr_un.pr_v8p.pr_xg[XR_G5] = GET_UPPER_32(rp->r_g5); in xregs_getgregs() 166 xregs->pr_un.pr_v8p.pr_xg[XR_G6] = GET_UPPER_32(rp->r_g6); in xregs_getgregs() [all …]
|
H A D | v9dep.c | 901 char *volatile xregs = NULL; in sendsig() local 1031 xregs = kmem_alloc(xregs_size, KM_SLEEP); in sendsig() 1032 xregs_get(lwp, xregs); in sendsig() 1033 copyout_noerr(xregs, sp, xregs_size); in sendsig() 1034 kmem_free(xregs, xregs_size); in sendsig() 1035 xregs = NULL; in sendsig() 1185 if (xregs) in sendsig() 1186 kmem_free(xregs, xregs_size); in sendsig() 1232 char *volatile xregs = NULL; in sendsig32() local 1361 xregs = kmem_alloc(xregs_size, KM_SLEEP); in sendsig32() [all …]
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_proc.h | 105 #define PTL_GETXREGS(t, tid, xregs) \ argument 107 ((pt_data_t *)((t)->t_data))->p_ptl_hdl, (tid), (xregs))) 109 #define PTL_SETXREGS(t, tid, xregs) \ argument 111 ((pt_data_t *)((t)->t_data))->p_ptl_hdl, (tid), (xregs)))
|
H A D | mdb_proc.c | 4784 pt_lwp_getxregs(mdb_tgt_t *t, void *tap, mdb_tgt_tid_t tid, prxregset_t *xregs) in pt_lwp_getxregs() argument 4788 (lwpid_t)tid, xregs))); in pt_lwp_getxregs() 4796 const prxregset_t *xregs) in pt_lwp_setxregs() argument 4800 (lwpid_t)tid, xregs))); in pt_lwp_setxregs() 4970 pt_tdb_getxregs(mdb_tgt_t *t, void *tap, mdb_tgt_tid_t tid, prxregset_t *xregs) in pt_tdb_getxregs() argument 4983 err = pt->p_tdb_ops->td_thr_getxregs(&th, xregs); in pt_tdb_getxregs() 4992 const prxregset_t *xregs) in pt_tdb_setxregs() argument 5005 err = pt->p_tdb_ops->td_thr_setxregs(&th, xregs); in pt_tdb_setxregs()
|
/titanic_41/usr/src/uts/sparc/syscall/ |
H A D | getcontext.c | 182 caddr_t xregs = NULL; in getsetcontext() local 324 kmem_free(xregs, xregs_size); in getsetcontext() 431 caddr_t xregs; in getsetcontext32() local 558 xregs = kmem_zalloc(xregs_size, KM_SLEEP); in getsetcontext32() 560 xregs, xregs_size)) { in getsetcontext32() 561 kmem_free(xregs, xregs_size); in getsetcontext32() 566 xregs_setptr(lwp, &ucnat, xregs); in getsetcontext32() 585 kmem_free(xregs, xregs_size); in getsetcontext32()
|
/titanic_41/usr/src/lib/ |
H A D | Makefile.lib | 190 $(OBJS) := sparc_CFLAGS += -xregs=no%appl 192 $(PICS) := sparc_CFLAGS += -xregs=no%appl $(sparc_C_PICFLAGS) 193 $(PICS) := sparcv9_CFLAGS += -xregs=no%appl $(sparcv9_C_PICFLAGS) 198 $(PICS) := sparcv9_CCFLAGS += -xregs=no%appl $(sparcv9_CC_PICFLAGS)
|
/titanic_41/usr/src/lib/libproc/common/ |
H A D | Plwpregs.c | 228 Plwp_getxregs(struct ps_prochandle *P, lwpid_t lwpid, prxregset_t *xregs) in Plwp_getxregs() argument 244 xregs, sizeof (prxregset_t))); in Plwp_getxregs() 248 (void) memcpy(xregs, lwp->lwp_xregs, sizeof (prxregset_t)); in Plwp_getxregs() 258 Plwp_setxregs(struct ps_prochandle *P, lwpid_t lwpid, const prxregset_t *xregs) in Plwp_setxregs() argument 260 return (setlwpregs(P, lwpid, PCSXREG, xregs, sizeof (prxregset_t))); in Plwp_setxregs()
|
H A D | Pservice.c | 207 ps_lgetxregs(struct ps_prochandle *P, lwpid_t lwpid, caddr_t xregs) in ps_lgetxregs() argument 213 if (Plwp_getxregs(P, lwpid, (prxregset_t *)xregs) == 0) in ps_lgetxregs() 220 ps_lsetxregs(struct ps_prochandle *P, lwpid_t lwpid, caddr_t xregs) in ps_lsetxregs() argument 226 if (Plwp_setxregs(P, lwpid, (prxregset_t *)xregs) == 0) in ps_lsetxregs()
|
H A D | Pgcore.c | 496 prxregset_t xregs; in old_per_lwp() local 497 if (Plwp_getxregs(P, lsp->pr_lwpid, &xregs) == 0 && in old_per_lwp() 498 write_note(pgc->pgc_fd, NT_PRXREG, &xregs, in old_per_lwp() 547 prxregset_t xregs; in new_per_lwp() local 551 if (Plwp_getxregs(P, lsp->pr_lwpid, &xregs) == 0) { in new_per_lwp() 552 if (write_note(pgc->pgc_fd, NT_PRXREG, &xregs, in new_per_lwp()
|
H A D | Pcore.c | 1008 prxregset_t *xregs; in note_xreg() local 1013 if ((xregs = malloc(xbytes)) == NULL) in note_xreg() 1016 if (read(P->asfd, xregs, xbytes) != xbytes) { in note_xreg() 1018 free(xregs); in note_xreg() 1022 lwp->lwp_xregs = xregs; in note_xreg()
|
/titanic_41/usr/src/uts/common/exec/elf/ |
H A D | old_notes.c | 113 char xregs[1]; in write_old_elfnotes() member 228 prgetprxregs(lwp, bigwad->xregs); in write_old_elfnotes() 230 xregsize, bigwad->xregs, rlimit, credp); in write_old_elfnotes()
|
H A D | elf_notes.c | 179 char xregs[1]; in write_elfnotes() member 543 prgetprxregs(lwp, bigwad->xregs); in write_elfnotes() 545 xregsize, bigwad->xregs, rlimit, credp); in write_elfnotes()
|
/titanic_41/usr/src/cmd/sgs/ |
H A D | Makefile.com | 68 $(PICS64) := sparc_CFLAGS += -xregs=no%appl -K pic 69 $(PICS64) := sparcv9_CFLAGS += -xregs=no%appl -K pic
|
/titanic_41/usr/src/uts/sparc/v9/ |
H A D | Makefile.files | 45 xregs.o
|
/titanic_41/usr/src/cmd/geniconvtbl/ |
H A D | Makefile.com | 97 $(ITM) := sparc_CFLAGS += -xregs=no%appl 98 $(ITM) := sparcv9_CFLAGS += -xregs=no%appl
|
/titanic_41/usr/src/uts/sun4/os/ |
H A D | machdep.c | 299 prxregset_t *xregs = (prxregset_t *)xrp; in xregs_getfpfiller() local 319 PRXREG_GSR(xregs) = gsr; in xregs_getfpfiller() 340 prxregset_t *xregs = (prxregset_t *)xrp; in xregs_setfpfiller() local 343 uint64_t gsr = PRXREG_GSR(xregs); in xregs_setfpfiller()
|
/titanic_41/usr/src/head/ |
H A D | thread_db.h | 607 td_thr_getxregs(const td_thrhandle_t *th_p, void *xregs); 613 td_thr_setxregs(const td_thrhandle_t *th_p, const void *xregs);
|
/titanic_41/usr/src/cmd/sgs/rtld/amd64/ |
H A D | Makefile | 65 CFLAGS += -xregs=no%appl
|
/titanic_41/usr/src/cmd/sgs/rtld/sparc/ |
H A D | Makefile | 70 CFLAGS += -xregs=no%appl
|
/titanic_41/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | Makefile | 70 CFLAGS += -xregs=no%appl
|
/titanic_41/usr/src/ |
H A D | Makefile.master | 505 sparc_XREGSFLAG = -xregs=no%appl 506 sparcv9_XREGSFLAG = -xregs=no%appl
|
/titanic_41/usr/src/uts/sun4v/ |
H A D | Makefile.sun4v | 191 CFLAGS += -xregs=no%float
|
/titanic_41/usr/src/uts/sun4u/ |
H A D | Makefile.sun4u | 214 CFLAGS += -xregs=no%float
|
/titanic_41/usr/src/lib/libbc/sparc/ |
H A D | Makefile | 388 s5pics/%.o := CFLAGS += -xregs=no%appl 389 pics/%.o := CFLAGS += -xregs=no%appl
|
/titanic_41/usr/src/uts/sparc/ |
H A D | Makefile.sparc | 143 CFLAGS += -xregs=no%float
|