diff options
author | mini <mini@FreeBSD.org> | 2002-09-16 19:25:41 +0000 |
---|---|---|
committer | mini <mini@FreeBSD.org> | 2002-09-16 19:25:41 +0000 |
commit | 62e41a5a7c826f21a8548bd3d7fcbc218809544e (patch) | |
tree | f68cce90cf752f653302c6c5c0876070f6fff7ab /sys/i386/include/pcb.h | |
parent | d0ffcf396dc1f28a9d3e188b2dd0a72ad4838880 (diff) | |
download | FreeBSD-src-62e41a5a7c826f21a8548bd3d7fcbc218809544e.zip FreeBSD-src-62e41a5a7c826f21a8548bd3d7fcbc218809544e.tar.gz |
Add kernel support needed for the KSE-aware libpthread:
- Maintain fpu state across signals.
- Save and restore FPU state properly in ucontext_t's.
Reviewed by: deischen, julian
Approved by: -arch
Diffstat (limited to 'sys/i386/include/pcb.h')
-rw-r--r-- | sys/i386/include/pcb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/include/pcb.h b/sys/i386/include/pcb.h index 860b3b5..50cff07 100644 --- a/sys/i386/include/pcb.h +++ b/sys/i386/include/pcb.h @@ -66,6 +66,7 @@ struct pcb { #define FP_SOFTFP 0x01 /* process using software fltng pnt emulator */ #define PCB_DBREGS 0x02 /* process using debug registers */ #define PCB_NPXTRAP 0x04 /* npx trap pending */ +#define PCB_NPXINITDONE 0x08 /* fpu state is initialized */ caddr_t pcb_onfault; /* copyin/out fault recovery */ int pcb_gs; struct pcb_ext *pcb_ext; /* optional pcb extension */ |