summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/amd64/amd64/genassym.c4
-rw-r--r--sys/amd64/include/fpu.h9
-rw-r--r--sys/amd64/include/npx.h9
-rw-r--r--sys/amd64/include/pcb.h14
-rw-r--r--sys/i386/i386/genassym.c4
-rw-r--r--sys/i386/include/npx.h9
-rw-r--r--sys/i386/include/pcb.h14
7 files changed, 11 insertions, 52 deletions
diff --git a/sys/amd64/amd64/genassym.c b/sys/amd64/amd64/genassym.c
index a526184..e67225b 100644
--- a/sys/amd64/amd64/genassym.c
+++ b/sys/amd64/amd64/genassym.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)genassym.c 5.11 (Berkeley) 5/10/91
- * $Id: genassym.c,v 1.26 1995/05/25 07:41:18 davidg Exp $
+ * $Id: genassym.c,v 1.27 1995/05/30 07:59:25 rgrimes Exp $
*/
#include <stdio.h>
@@ -158,8 +158,6 @@ main()
printf("#define\tRU_MINFLT %p\n", &rup->ru_minflt);
printf("#define\tPCB_FLAGS %p\n", &pcb->pcb_flags);
printf("#define\tPCB_SAVEFPU %p\n", &pcb->pcb_savefpu);
- printf("#define\tFP_USESEMC %d\n", FP_USESEMC);
- printf("#define\tPCB_SAVEEMC %p\n", &pcb->pcb_saveemc);
printf("#define\tPCB_INL %p\n", &pcb->pcb_inl);
printf("#define\tPCB_ONFAULT %p\n", &pcb->pcb_onfault);
diff --git a/sys/amd64/include/fpu.h b/sys/amd64/include/fpu.h
index e56fdc2..276a269 100644
--- a/sys/amd64/include/fpu.h
+++ b/sys/amd64/include/fpu.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.h 5.3 (Berkeley) 1/18/91
- * $Id: npx.h,v 1.6 1994/11/05 22:59:09 bde Exp $
+ * $Id: npx.h,v 1.7 1995/01/03 03:57:46 bde Exp $
*/
/*
@@ -85,13 +85,6 @@ struct save87 {
u_char sv_pad[64]; /* padding; used by emulators */
};
-/* Cyrix EMC memory - mapped coprocessor context switch information */
-struct emcsts {
- long em_msw; /* memory mapped status register when swtched */
- long em_tar; /* memory mapped temp A register when swtched */
- long em_dl; /* memory mapped D low register when swtched */
-};
-
/* Intel prefers long real (53 bit) precision */
#define __iBCS_NPXCW__ 0x262
/* wfj prefers temporary real (64 bit) precision */
diff --git a/sys/amd64/include/npx.h b/sys/amd64/include/npx.h
index e56fdc2..276a269 100644
--- a/sys/amd64/include/npx.h
+++ b/sys/amd64/include/npx.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.h 5.3 (Berkeley) 1/18/91
- * $Id: npx.h,v 1.6 1994/11/05 22:59:09 bde Exp $
+ * $Id: npx.h,v 1.7 1995/01/03 03:57:46 bde Exp $
*/
/*
@@ -85,13 +85,6 @@ struct save87 {
u_char sv_pad[64]; /* padding; used by emulators */
};
-/* Cyrix EMC memory - mapped coprocessor context switch information */
-struct emcsts {
- long em_msw; /* memory mapped status register when swtched */
- long em_tar; /* memory mapped temp A register when swtched */
- long em_dl; /* memory mapped D low register when swtched */
-};
-
/* Intel prefers long real (53 bit) precision */
#define __iBCS_NPXCW__ 0x262
/* wfj prefers temporary real (64 bit) precision */
diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h
index 8ce7feb..e058ca6 100644
--- a/sys/amd64/include/pcb.h
+++ b/sys/amd64/include/pcb.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)pcb.h 5.10 (Berkeley) 5/12/91
- * $Id: pcb.h,v 1.7 1994/10/08 22:21:33 phk Exp $
+ * $Id: pcb.h,v 1.8 1994/12/03 10:02:55 bde Exp $
*/
#ifndef _I386_PCB_H_
@@ -61,22 +61,14 @@ struct pcb {
caddr_t pcb_ldt; /* per process (user) LDT */
int pcb_ldt_len; /* number of LDT entries */
struct save87 pcb_savefpu; /* floating point state for 287/387 */
- struct emcsts pcb_saveemc; /* Cyrix EMC state */
/*
* Software pcb (extension)
*/
- int pcb_flags;
-#ifdef notused
-#define FP_WASUSED 0x01 /* process has used fltng pnt hardware */
-#define FP_NEEDSSAVE 0x02 /* ... that needs save on next context switch */
-#define FP_NEEDSRESTORE 0x04 /* ... that needs restore on next DNA fault */
-#endif
-#define FP_USESEMC 0x08 /* process uses EMC memory-mapped mode */
-#define FP_SOFTFP 0x20 /* process using software fltng pnt emulator */
+ u_char pcb_flags;
+#define FP_SOFTFP 0x01 /* process using software fltng pnt emulator */
u_char pcb_inl; /* intr_nesting_level at context switch */
caddr_t pcb_onfault; /* copyin/out fault recovery */
long pcb_sigc[8]; /* XXX signal code trampoline */
- int pad2; /* XXX unused - remove it if you change struct */
};
/*
diff --git a/sys/i386/i386/genassym.c b/sys/i386/i386/genassym.c
index a526184..e67225b 100644
--- a/sys/i386/i386/genassym.c
+++ b/sys/i386/i386/genassym.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)genassym.c 5.11 (Berkeley) 5/10/91
- * $Id: genassym.c,v 1.26 1995/05/25 07:41:18 davidg Exp $
+ * $Id: genassym.c,v 1.27 1995/05/30 07:59:25 rgrimes Exp $
*/
#include <stdio.h>
@@ -158,8 +158,6 @@ main()
printf("#define\tRU_MINFLT %p\n", &rup->ru_minflt);
printf("#define\tPCB_FLAGS %p\n", &pcb->pcb_flags);
printf("#define\tPCB_SAVEFPU %p\n", &pcb->pcb_savefpu);
- printf("#define\tFP_USESEMC %d\n", FP_USESEMC);
- printf("#define\tPCB_SAVEEMC %p\n", &pcb->pcb_saveemc);
printf("#define\tPCB_INL %p\n", &pcb->pcb_inl);
printf("#define\tPCB_ONFAULT %p\n", &pcb->pcb_onfault);
diff --git a/sys/i386/include/npx.h b/sys/i386/include/npx.h
index e56fdc2..276a269 100644
--- a/sys/i386/include/npx.h
+++ b/sys/i386/include/npx.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.h 5.3 (Berkeley) 1/18/91
- * $Id: npx.h,v 1.6 1994/11/05 22:59:09 bde Exp $
+ * $Id: npx.h,v 1.7 1995/01/03 03:57:46 bde Exp $
*/
/*
@@ -85,13 +85,6 @@ struct save87 {
u_char sv_pad[64]; /* padding; used by emulators */
};
-/* Cyrix EMC memory - mapped coprocessor context switch information */
-struct emcsts {
- long em_msw; /* memory mapped status register when swtched */
- long em_tar; /* memory mapped temp A register when swtched */
- long em_dl; /* memory mapped D low register when swtched */
-};
-
/* Intel prefers long real (53 bit) precision */
#define __iBCS_NPXCW__ 0x262
/* wfj prefers temporary real (64 bit) precision */
diff --git a/sys/i386/include/pcb.h b/sys/i386/include/pcb.h
index 8ce7feb..e058ca6 100644
--- a/sys/i386/include/pcb.h
+++ b/sys/i386/include/pcb.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)pcb.h 5.10 (Berkeley) 5/12/91
- * $Id: pcb.h,v 1.7 1994/10/08 22:21:33 phk Exp $
+ * $Id: pcb.h,v 1.8 1994/12/03 10:02:55 bde Exp $
*/
#ifndef _I386_PCB_H_
@@ -61,22 +61,14 @@ struct pcb {
caddr_t pcb_ldt; /* per process (user) LDT */
int pcb_ldt_len; /* number of LDT entries */
struct save87 pcb_savefpu; /* floating point state for 287/387 */
- struct emcsts pcb_saveemc; /* Cyrix EMC state */
/*
* Software pcb (extension)
*/
- int pcb_flags;
-#ifdef notused
-#define FP_WASUSED 0x01 /* process has used fltng pnt hardware */
-#define FP_NEEDSSAVE 0x02 /* ... that needs save on next context switch */
-#define FP_NEEDSRESTORE 0x04 /* ... that needs restore on next DNA fault */
-#endif
-#define FP_USESEMC 0x08 /* process uses EMC memory-mapped mode */
-#define FP_SOFTFP 0x20 /* process using software fltng pnt emulator */
+ u_char pcb_flags;
+#define FP_SOFTFP 0x01 /* process using software fltng pnt emulator */
u_char pcb_inl; /* intr_nesting_level at context switch */
caddr_t pcb_onfault; /* copyin/out fault recovery */
long pcb_sigc[8]; /* XXX signal code trampoline */
- int pad2; /* XXX unused - remove it if you change struct */
};
/*
OpenPOWER on IntegriCloud