Deleted Added
full compact
vm86.h (34840) vm86.h (36767)
1/*-
2 * Copyright (c) 1997 Jonathan Lemon
3 * All rights reserved.
4 *
5 * Derived from register.h, which is
6 * Copyright (c) 1996 Michael Smith. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
1/*-
2 * Copyright (c) 1997 Jonathan Lemon
3 * All rights reserved.
4 *
5 * Derived from register.h, which is
6 * Copyright (c) 1996 Michael Smith. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $Id: vm86.h,v 1.4 1997/11/20 18:43:55 bde Exp $
29 * $Id: vm86.h,v 1.5 1998/03/23 19:52:57 jlemon Exp $
30 */
31
32#ifndef _MACHINE_VM86_H_
33#define _MACHINE_VM86_H_ 1
34
35/* standard register representation */
36typedef union {
37 u_long r_ex;
38 struct {
39 u_short r_x;
30 */
31
32#ifndef _MACHINE_VM86_H_
33#define _MACHINE_VM86_H_ 1
34
35/* standard register representation */
36typedef union {
37 u_long r_ex;
38 struct {
39 u_short r_x;
40 u_short :16;
40 u_int :16;
41 } r_w;
42 struct {
43 u_char r_l;
44 u_char r_h;
41 } r_w;
42 struct {
43 u_char r_l;
44 u_char r_h;
45 u_short :16;
45 u_int :16;
46 } r_b;
47} reg86_t;
48
49/* layout must match definition of struct trapframe_vm86 in <machine/frame.h> */
50
51struct vm86frame {
52 int kernel_es;
53 int kernel_ds;

--- 90 unchanged lines hidden ---
46 } r_b;
47} reg86_t;
48
49/* layout must match definition of struct trapframe_vm86 in <machine/frame.h> */
50
51struct vm86frame {
52 int kernel_es;
53 int kernel_ds;

--- 90 unchanged lines hidden ---