--- Net2/arch/i386/include/pcb.h 2018/04/24 18:04:01 1.1 +++ Net2/arch/i386/include/pcb.h 2018/04/24 18:20:42 1.1.1.3 @@ -33,9 +33,13 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)pcb.h 5.10 (Berkeley) 5/12/91 + * from: @(#)pcb.h 5.10 (Berkeley) 5/12/91 + * pcb.h,v 1.6 1993/06/27 04:50:12 andrew Exp */ +#ifndef _I386_PCB_H_ +#define _I386_PCB_H_ + /* * Intel 386 process control block */ @@ -60,17 +64,21 @@ struct pcb { * Software pcb (extension) */ int pcb_flags; -#define FP_WASUSED 0x01 /* floating point has been used in this proc */ -#define FP_NEEDSSAVE 0x02 /* needs save on next context switch */ -#define FP_NEEDSRESTORE 0x04 /* need restore on next DNA fault */ +#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 FM_TRAP 0x10 /* process entered kernel on a trap frame */ +#define FP_SOFTFP 0x20 /* process using software fltng pnt emulator */ short pcb_iml; /* interrupt mask level */ caddr_t pcb_onfault; /* copyin/out fault recovery */ - long pcb_sigc[8]; /* XXX signal code trampoline */ int pcb_cmap2; /* XXX temporary PTE - will prefault instead */ }; #ifdef KERNEL struct pcb *curpcb; /* our current running pcb */ #endif + +#endif /* _I386_PCB_H_ */