Deleted Added
full compact
pcb.h (50477) pcb.h (54188)
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * from: @(#)pcb.h 5.10 (Berkeley) 5/12/91
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * from: @(#)pcb.h 5.10 (Berkeley) 5/12/91
37 * $FreeBSD: head/sys/i386/include/pcb.h 50477 1999-08-28 01:08:13Z peter $
37 * $FreeBSD: head/sys/i386/include/pcb.h 54188 1999-12-06 04:53:08Z luoqi $
38 */
39
40#ifndef _I386_PCB_H_
41#define _I386_PCB_H_
42
43/*
44 * Intel 386 process control block
45 */

--- 11 unchanged lines hidden (view full) ---

57
58 int pcb_dr0;
59 int pcb_dr1;
60 int pcb_dr2;
61 int pcb_dr3;
62 int pcb_dr6;
63 int pcb_dr7;
64
38 */
39
40#ifndef _I386_PCB_H_
41#define _I386_PCB_H_
42
43/*
44 * Intel 386 process control block
45 */

--- 11 unchanged lines hidden (view full) ---

57
58 int pcb_dr0;
59 int pcb_dr1;
60 int pcb_dr2;
61 int pcb_dr3;
62 int pcb_dr6;
63 int pcb_dr7;
64
65 caddr_t pcb_ldt; /* per process (user) LDT */
66 int pcb_ldt_len; /* number of LDT entries */
65#ifdef USER_LDT
66 struct pcb_ldt *pcb_ldt; /* per process (user) LDT */
67#else
68 struct pcb_ldt *pcb_ldt_dontuse;
69#endif
67 struct save87 pcb_savefpu; /* floating point state for 287/387 */
68 u_char pcb_flags;
69#define FP_SOFTFP 0x01 /* process using software fltng pnt emulator */
70#define PCB_DBREGS 0x02 /* process using debug registers */
71 caddr_t pcb_onfault; /* copyin/out fault recovery */
72#ifdef SMP
73 u_long pcb_mpnest;
74#else
75 u_long pcb_mpnest_dontuse;
76#endif
77 int pcb_gs;
78 struct pcb_ext *pcb_ext; /* optional pcb extension */
70 struct save87 pcb_savefpu; /* floating point state for 287/387 */
71 u_char pcb_flags;
72#define FP_SOFTFP 0x01 /* process using software fltng pnt emulator */
73#define PCB_DBREGS 0x02 /* process using debug registers */
74 caddr_t pcb_onfault; /* copyin/out fault recovery */
75#ifdef SMP
76 u_long pcb_mpnest;
77#else
78 u_long pcb_mpnest_dontuse;
79#endif
80 int pcb_gs;
81 struct pcb_ext *pcb_ext; /* optional pcb extension */
79 u_long __pcb_spare[2]; /* adjust to avoid core dump size changes */
82 u_long __pcb_spare[3]; /* adjust to avoid core dump size changes */
80};
81
82/*
83 * The pcb is augmented with machine-dependent additional data for
84 * core dumps. For the i386: ???
85 */
86struct md_coredump {
87};
88
89#ifdef KERNEL
90
91#ifndef curpcb
92extern struct pcb *curpcb; /* our current running pcb */
93#endif
94
95void savectx __P((struct pcb *));
96#endif
97
98#endif /* _I386_PCB_H_ */
83};
84
85/*
86 * The pcb is augmented with machine-dependent additional data for
87 * core dumps. For the i386: ???
88 */
89struct md_coredump {
90};
91
92#ifdef KERNEL
93
94#ifndef curpcb
95extern struct pcb *curpcb; /* our current running pcb */
96#endif
97
98void savectx __P((struct pcb *));
99#endif
100
101#endif /* _I386_PCB_H_ */