Deleted Added
full compact
pcb.h (127920) pcb.h (129309)
1/*-
2 * Copyright (c) 2003 Peter Wemm.
3 * Copyright (c) 1990 The Regents of the University of California.
4 * All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * William Jolitz.
8 *

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

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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * from: @(#)pcb.h 5.10 (Berkeley) 5/12/91
34 * $FreeBSD: head/sys/amd64/include/pcb.h 127920 2004-04-05 23:55:14Z imp $
34 * $FreeBSD: head/sys/amd64/include/pcb.h 129309 2004-05-16 22:43:57Z peter $
35 */
36
37#ifndef _AMD64_PCB_H_
38#define _AMD64_PCB_H_
39
40/*
41 * AMD64 process control block
42 */

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

66 u_int64_t pcb_dr3;
67 u_int64_t pcb_dr6;
68 u_int64_t pcb_dr7;
69
70 struct savefpu pcb_save;
71 u_long pcb_flags;
72#define PCB_DBREGS 0x02 /* process using debug registers */
73#define PCB_FPUINITDONE 0x08 /* fpu state is initialized */
35 */
36
37#ifndef _AMD64_PCB_H_
38#define _AMD64_PCB_H_
39
40/*
41 * AMD64 process control block
42 */

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

66 u_int64_t pcb_dr3;
67 u_int64_t pcb_dr6;
68 u_int64_t pcb_dr7;
69
70 struct savefpu pcb_save;
71 u_long pcb_flags;
72#define PCB_DBREGS 0x02 /* process using debug registers */
73#define PCB_FPUINITDONE 0x08 /* fpu state is initialized */
74#define PCB_32BIT 0x40 /* process has 32 bit context (segs etc) */
74#define PCB_FULLCTX 0x80 /* full context restore on sysret */
75
76 caddr_t pcb_onfault; /* copyin/out fault recovery */
77};
78
79#ifdef _KERNEL
80void savectx(struct pcb *);
81#endif
82
83#endif /* _AMD64_PCB_H_ */
75#define PCB_FULLCTX 0x80 /* full context restore on sysret */
76
77 caddr_t pcb_onfault; /* copyin/out fault recovery */
78};
79
80#ifdef _KERNEL
81void savectx(struct pcb *);
82#endif
83
84#endif /* _AMD64_PCB_H_ */