Home
last modified time | relevance | path

Searched refs:xregs (Results 1 – 25 of 26) sorted by relevance

12

/titanic_41/usr/src/uts/sparc/v9/os/
H A Dxregs.c152 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 Dv9dep.c901 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 Dmdb_proc.h105 #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 Dmdb_proc.c4784 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 Dgetcontext.c182 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 DMakefile.lib190 $(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 DPlwpregs.c228 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 DPservice.c207 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 DPgcore.c496 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 DPcore.c1008 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 Dold_notes.c113 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 Delf_notes.c179 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 DMakefile.com68 $(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 DMakefile.files45 xregs.o
/titanic_41/usr/src/cmd/geniconvtbl/
H A DMakefile.com97 $(ITM) := sparc_CFLAGS += -xregs=no%appl
98 $(ITM) := sparcv9_CFLAGS += -xregs=no%appl
/titanic_41/usr/src/uts/sun4/os/
H A Dmachdep.c299 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 Dthread_db.h607 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 DMakefile65 CFLAGS += -xregs=no%appl
/titanic_41/usr/src/cmd/sgs/rtld/sparc/
H A DMakefile70 CFLAGS += -xregs=no%appl
/titanic_41/usr/src/cmd/sgs/rtld/sparcv9/
H A DMakefile70 CFLAGS += -xregs=no%appl
/titanic_41/usr/src/
H A DMakefile.master505 sparc_XREGSFLAG = -xregs=no%appl
506 sparcv9_XREGSFLAG = -xregs=no%appl
/titanic_41/usr/src/uts/sun4v/
H A DMakefile.sun4v191 CFLAGS += -xregs=no%float
/titanic_41/usr/src/uts/sun4u/
H A DMakefile.sun4u214 CFLAGS += -xregs=no%float
/titanic_41/usr/src/lib/libbc/sparc/
H A DMakefile388 s5pics/%.o := CFLAGS += -xregs=no%appl
389 pics/%.o := CFLAGS += -xregs=no%appl
/titanic_41/usr/src/uts/sparc/
H A DMakefile.sparc143 CFLAGS += -xregs=no%float

12