summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/pcb.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-11-08 02:39:46 +0000
committerpeter <peter@FreeBSD.org>2003-11-08 02:39:46 +0000
commite27aec25abddc9701fed6b7bf15735b5959b9320 (patch)
tree4b9faca1c3b591235db0ab0e747bebc1de70d167 /sys/amd64/include/pcb.h
parent0084fd36b857d4130110925e067f452a219039ea (diff)
downloadFreeBSD-src-e27aec25abddc9701fed6b7bf15735b5959b9320.zip
FreeBSD-src-e27aec25abddc9701fed6b7bf15735b5959b9320.tar.gz
Rename npx* to fpu*. I haven't done the flags/function names yet.
Diffstat (limited to 'sys/amd64/include/pcb.h')
-rw-r--r--sys/amd64/include/pcb.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h
index 83d308f..5b3aea1 100644
--- a/sys/amd64/include/pcb.h
+++ b/sys/amd64/include/pcb.h
@@ -41,9 +41,9 @@
#define _I386_PCB_H_
/*
- * Intel 386 process control block
+ * AMD64 process control block
*/
-#include <machine/npx.h>
+#include <machine/fpu.h>
struct pcb {
register_t padxx[8];
@@ -66,9 +66,8 @@ struct pcb {
struct savefpu pcb_save;
u_long pcb_flags;
-#define PCB_NPXTRAP 0x01 /* npx trap pending */
-#define PCB_NPXINITDONE 0x02 /* fpu state is initialized */
-#define PCB_FULLCTX 0x04 /* full context restore on sysret */
+#define PCB_NPXINITDONE 0x01 /* fpu state is initialized */
+#define PCB_FULLCTX 0x02 /* full context restore on sysret */
caddr_t pcb_onfault; /* copyin/out fault recovery */
};
OpenPOWER on IntegriCloud