summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/pcb.h
diff options
context:
space:
mode:
authormini <mini@FreeBSD.org>2002-09-16 19:25:41 +0000
committermini <mini@FreeBSD.org>2002-09-16 19:25:41 +0000
commit62e41a5a7c826f21a8548bd3d7fcbc218809544e (patch)
treef68cce90cf752f653302c6c5c0876070f6fff7ab /sys/amd64/include/pcb.h
parentd0ffcf396dc1f28a9d3e188b2dd0a72ad4838880 (diff)
downloadFreeBSD-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/amd64/include/pcb.h')
-rw-r--r--sys/amd64/include/pcb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h
index 860b3b5..50cff07 100644
--- a/sys/amd64/include/pcb.h
+++ b/sys/amd64/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 */
OpenPOWER on IntegriCloud