diff options
author | Bruce Evans <bde@FreeBSD.org> | 1998-02-03 21:27:50 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1998-02-03 21:27:50 +0000 |
commit | a8961a82844177e5c01877ee4bb7dcd92284ad26 (patch) | |
tree | a7621a7af369c32842e0fc40b53fe6b9a2f8d50d /sys/i386/include/pcb.h | |
parent | 5099706acdbb9a40358faf1292d2ccb70d215151 (diff) | |
download | src-a8961a82844177e5c01877ee4bb7dcd92284ad26.tar.gz src-a8961a82844177e5c01877ee4bb7dcd92284ad26.zip |
Ifdefed some SMP and VM86 code. Note that although VM86 is not a global
option, the ifdef on it in a header works because only the name of the
VM86 extension is hidden.
Notes
Notes:
svn path=/head/; revision=33051
Diffstat (limited to 'sys/i386/include/pcb.h')
-rw-r--r-- | sys/i386/include/pcb.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/i386/include/pcb.h b/sys/i386/include/pcb.h index 0899a5b00a1a..d76217ff3b8e 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.24 1997/08/09 00:03:18 dyson Exp $ + * $Id: pcb.h,v 1.25 1997/10/10 12:40:09 peter Exp $ */ #ifndef _I386_PCB_H_ @@ -59,10 +59,18 @@ struct pcb { u_char pcb_flags; #define FP_SOFTFP 0x01 /* process using software fltng pnt emulator */ caddr_t pcb_onfault; /* copyin/out fault recovery */ +#ifdef SMP u_long pcb_mpnest; +#else + u_long pcb_mpnest_dontuse; +#endif int pcb_fs; int pcb_gs; +#ifdef VM86 struct pcb_ext *pcb_ext; /* optional pcb extension */ +#else + struct pcb_ext *pcb_ext_dontuse; +#endif u_long __pcb_spare[1]; /* adjust to avoid core dump size changes */ }; |