Searched refs:md_fpstate (Results 1 - 25 of 26) sorted by relevance

12

/netbsd-6-1-5-RELEASE/sys/arch/sparc64/include/
H A Dproc.h48 struct fpstate64 *md_fpstate; /* fpu state, if any; always resident */ member in struct:mdlwp
H A Dpcb.h180 struct fpstate32 md_fpstate; member in struct:md_coredump32
185 struct fpstate64 md_fpstate; member in struct:md_coredump
/netbsd-6-1-5-RELEASE/sys/arch/sparc/include/
H A Dpcb.h117 struct fpstate md_fpstate; member in struct:md_coredump
H A Dproc.h51 struct fpstate *md_fpstate; /* fpu state, if any; always resident */ member in struct:mdlwp
/netbsd-6-1-5-RELEASE/sys/arch/sparc/sparc/
H A Dprocess_machdep.c155 if (p->l_md.md_fpstate)
156 statep = p->l_md.md_fpstate;
165 if (p->l_md.md_fpstate == NULL)
169 memcpy(p->l_md.md_fpstate, regs, sizeof(struct fpreg));
172 p->l_md.md_fpstate->fs_qsize = 0;
H A Dcore_machdep.c95 if (l->l_md.md_fpstate) {
97 savefpstate(l->l_md.md_fpstate);
98 md_core.md_fpstate = *l->l_md.md_fpstate;
100 memset((void *)&md_core.md_fpstate, 0, sizeof(struct fpstate));
H A Dvm_machdep.c218 if (l1->l_md.md_fpstate != NULL) {
222 l2->l_md.md_fpstate =
231 savefpstate(l1->l_md.md_fpstate);
234 XCALL1(ipi_savefpstate, l1->l_md.md_fpstate,
238 memcpy(l2->l_md.md_fpstate, l1->l_md.md_fpstate,
242 l2->l_md.md_fpstate = NULL;
299 if ((fs = l->l_md.md_fpstate) != NULL) {
326 if ((fs = l->l_md.md_fpstate) != NULL)
H A Demul.c52 #define FPR(l, i) ((int32_t) l->l_md.md_fpstate->fs_regs[i])
53 #define FPRSET(l, i, v) (l->l_md.md_fpstate->fs_regs[i] = (int32_t)(v))
302 savefpstate(l->l_md.md_fpstate);
359 loadfpstate(l->l_md.md_fpstate);
H A Dtrap.c317 savefpstate(l->l_md.md_fpstate);
409 struct fpstate *fs = l->l_md.md_fpstate;
423 l->l_md.md_fpstate = fs;
466 savefpstate(cpuinfo.fplwp->l_md.md_fpstate);
595 savefpstate(l->l_md.md_fpstate);
600 if ((code = fpu_cleanup(l, l->l_md.md_fpstate)) != 0) {
803 savefpstate(l->l_md.md_fpstate);
1022 savefpstate(l->l_md.md_fpstate);
H A Dsvr4_machdep.c126 struct fpstate *fps = l->l_md.md_fpstate;
212 struct fpstate *fps = l->l_md.md_fpstate;
H A Dsyscall.c180 savefpstate(l->l_md.md_fpstate);
H A Dmachdep.c366 if ((fs = l->l_md.md_fpstate) != NULL) {
390 l->l_md.md_fpstate = NULL;
643 struct fpstate *fps = l->l_md.md_fpstate;
748 struct fpstate *fps = l->l_md.md_fpstate;
/netbsd-6-1-5-RELEASE/sys/arch/alpha/include/
H A Dpcb.h75 struct fpreg md_fpstate; member in struct:md_coredump
/netbsd-6-1-5-RELEASE/sys/arch/alpha/alpha/
H A Dcore_machdep.c73 cpustate.md_fpstate = ((struct pcb *)lwp_getpcb(l))->pcb_fp;
75 memset(&cpustate.md_fpstate, 0, sizeof(cpustate.md_fpstate));
/netbsd-6-1-5-RELEASE/sys/arch/sparc64/sparc64/
H A Dvm_machdep.c240 if (l1->l_md.md_fpstate) {
242 l2->l_md.md_fpstate = pool_cache_get(fpstate_cache, PR_WAITOK);
243 memcpy(l2->l_md.md_fpstate, l1->l_md.md_fpstate,
246 l2->l_md.md_fpstate = NULL;
295 savefpstate(l->l_md.md_fpstate);
346 if (l->l_md.md_fpstate != NULL)
355 if ((fs = l->l_md.md_fpstate) != NULL)
H A Dcore_machdep.c138 if (l->l_md.md_fpstate) {
140 md_core.md_fpstate = *l->l_md.md_fpstate;
142 memset(&md_core.md_fpstate, 0,
143 sizeof(md_core.md_fpstate));
H A Dprocess_machdep.c209 if (l->l_md.md_fpstate)
210 statep = l->l_md.md_fpstate;
234 statep = l->l_md.md_fpstate;
H A Dnetbsd32_machdep.c137 if ((fs = l->l_md.md_fpstate) != NULL) {
145 l->l_md.md_fpstate = NULL;
693 if (l->l_md.md_fpstate)
694 statep = l->l_md.md_fpstate;
709 statep = l->l_md.md_fpstate;
750 if (l->l_md.md_fpstate) {
754 md_core.md_fpstate.fs_regs[i] =
755 l->l_md.md_fpstate->fs_regs[i];
756 md_core.md_fpstate.fs_fsr = l->l_md.md_fpstate
[all...]
H A Dtrap.c528 if (newfplwp->l_md.md_fpstate)
535 KASSERT(fplwp->l_md.md_fpstate != NULL);
536 savefpstate(fplwp->l_md.md_fpstate);
541 if (newfplwp->l_md.md_fpstate != NULL) {
543 loadfpstate(fplwp->l_md.md_fpstate);
674 struct fpstate64 *fs = l->l_md.md_fpstate;
680 l->l_md.md_fpstate = fs;
699 KASSERT(fplwp->l_md.md_fpstate != NULL);
700 savefpstate(fplwp->l_md.md_fpstate);
770 KASSERT(l->l_md.md_fpstate !
[all...]
H A Demul.c53 #define FPR(l, i) ((int32_t) l->l_md.md_fpstate->fs_regs[i])
54 #define FPRSET(l, i, v) l->l_md.md_fpstate->fs_regs[i] = (v)
358 loadfpstate(l->l_md.md_fpstate);
H A Ddb_interface.c408 savefpstate(fplwp->l_md.md_fpstate);
409 DDB_REGS->db_fpstate = *fplwp->l_md.md_fpstate;
410 loadfpstate(fplwp->l_md.md_fpstate);
450 *fplwp->l_md.md_fpstate = DDB_REGS->db_fpstate;
451 loadfpstate(fplwp->l_md.md_fpstate);
871 l->l_md.md_fpstate);
919 l, l->l_lid, l->l_md.md_tf, l->l_md.md_fpstate,
H A Dsunos32_machdep.c135 if ((fs = l->l_md.md_fpstate) != NULL) {
146 l->l_md.md_fpstate = NULL;
H A Dsvr4_32_machdep.c131 struct fpstate *fps = l->l_md.md_fpstate;
225 struct fpstate64 *fps = p->p_md.md_fpstate;
H A Dsvr4_machdep.c136 struct fpstate *fps = l->l_md.md_fpstate;
235 struct fpstate64 *fps = l->l_md.md_fpstate;
H A Dmachdep.c282 if ((fs = l->l_md.md_fpstate) != NULL) {
290 l->l_md.md_fpstate = NULL;
2550 if (l->l_md.md_fpstate != NULL) {
2561 fsp = l->l_md.md_fpstate;
2658 if ((fsp = l->l_md.md_fpstate) == NULL) {
2660 l->l_md.md_fpstate = fsp;

Completed in 113 milliseconds

12