diff options
author | luoqi <luoqi@FreeBSD.org> | 1999-12-06 04:53:08 +0000 |
---|---|---|
committer | luoqi <luoqi@FreeBSD.org> | 1999-12-06 04:53:08 +0000 |
commit | 5c9244cd12f812687a0e1da3fa8fd69c320bdb42 (patch) | |
tree | 3d2bdc635a51af92e9000f2fe294d685906d5387 /sys/amd64/include/pcb.h | |
parent | 5851b69ff706eaa8e3a487bdfbbf3fe0177ed46a (diff) | |
download | FreeBSD-src-5c9244cd12f812687a0e1da3fa8fd69c320bdb42.zip FreeBSD-src-5c9244cd12f812687a0e1da3fa8fd69c320bdb42.tar.gz |
User ldt sharing.
Diffstat (limited to 'sys/amd64/include/pcb.h')
-rw-r--r-- | sys/amd64/include/pcb.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h index ed3044c..dde7281 100644 --- a/sys/amd64/include/pcb.h +++ b/sys/amd64/include/pcb.h @@ -62,8 +62,11 @@ struct pcb { int pcb_dr6; int pcb_dr7; - caddr_t pcb_ldt; /* per process (user) LDT */ - int pcb_ldt_len; /* number of LDT entries */ +#ifdef USER_LDT + struct pcb_ldt *pcb_ldt; /* per process (user) LDT */ +#else + struct pcb_ldt *pcb_ldt_dontuse; +#endif struct save87 pcb_savefpu; /* floating point state for 287/387 */ u_char pcb_flags; #define FP_SOFTFP 0x01 /* process using software fltng pnt emulator */ @@ -76,7 +79,7 @@ struct pcb { #endif int pcb_gs; struct pcb_ext *pcb_ext; /* optional pcb extension */ - u_long __pcb_spare[2]; /* adjust to avoid core dump size changes */ + u_long __pcb_spare[3]; /* adjust to avoid core dump size changes */ }; /* |