Deleted Added
full compact
reg.h (26490) reg.h (26494)
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: @(#)reg.h 5.5 (Berkeley) 1/18/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: @(#)reg.h 5.5 (Berkeley) 1/18/91
37 * $Id: reg.h,v 1.13 1997/02/22 09:35:07 peter Exp $
37 * $Id: reg.h,v 1.14 1997/06/07 00:49:45 bde Exp $
38 */
39
40#ifndef _MACHINE_REG_H_
41#define _MACHINE_REG_H_
42
43/*
44 * Indices for registers in `struct trapframe' and `struct regs'.
45 *

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

64#define tERR (11)
65#define tEIP (12)
66#define tCS (13)
67#define tEFLAGS (14)
68#define tESP (15)
69#define tSS (16)
70
71/*
38 */
39
40#ifndef _MACHINE_REG_H_
41#define _MACHINE_REG_H_
42
43/*
44 * Indices for registers in `struct trapframe' and `struct regs'.
45 *

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

64#define tERR (11)
65#define tEIP (12)
66#define tCS (13)
67#define tEFLAGS (14)
68#define tESP (15)
69#define tSS (16)
70
71/*
72 * Indices for registers in `struct regs' only.
73 *
74 * Some registers live in the pcb and are only in an "array" with the
75 * other registers in application interfaces that copy all the registers
76 * to or from a `struct regs'.
77 */
78#define tFS (17)
79#define tGS (18)
80
81/*
72 * Register set accessible via /proc/$pid/regs and PT_{SET,GET}REGS.
73 */
74struct reg {
75 unsigned int r_es;
76 unsigned int r_ds;
77 unsigned int r_edi;
78 unsigned int r_esi;
79 unsigned int r_ebp;

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

84 unsigned int r_eax;
85 unsigned int r_trapno;
86 unsigned int r_err;
87 unsigned int r_eip;
88 unsigned int r_cs;
89 unsigned int r_eflags;
90 unsigned int r_esp;
91 unsigned int r_ss;
82 * Register set accessible via /proc/$pid/regs and PT_{SET,GET}REGS.
83 */
84struct reg {
85 unsigned int r_es;
86 unsigned int r_ds;
87 unsigned int r_edi;
88 unsigned int r_esi;
89 unsigned int r_ebp;

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

94 unsigned int r_eax;
95 unsigned int r_trapno;
96 unsigned int r_err;
97 unsigned int r_eip;
98 unsigned int r_cs;
99 unsigned int r_eflags;
100 unsigned int r_esp;
101 unsigned int r_ss;
102 unsigned int r_fs;
103 unsigned int r_gs;
92};
93
94/*
95 * Register set accessible via /proc/$pid/fpregs.
96 */
97struct fpreg {
98 /*
99 * XXX should get struct from npx.h. Here we give a slightly

--- 18 unchanged lines hidden ---
104};
105
106/*
107 * Register set accessible via /proc/$pid/fpregs.
108 */
109struct fpreg {
110 /*
111 * XXX should get struct from npx.h. Here we give a slightly

--- 18 unchanged lines hidden ---