Killed some unused stuff inherited from Bill Jolitz. Note that since
this changes the size of the pcb struct, gdb will need to be rebuilt or debugging won't work correctly. Reviewed by: Bruce Evans
This commit is contained in:
parent
c555738304
commit
d0d1c65888
@ -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);
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -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 */
|
||||
|
@ -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 */
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -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 */
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user