vm86.h (256281) | vm86.h (258559) |
---|---|
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 * $FreeBSD: stable/10/sys/i386/include/vm86.h 211825 2010-08-25 21:13:23Z jkim $ | 29 * $FreeBSD: stable/10/sys/i386/include/vm86.h 258559 2013-11-25 15:58:48Z emaste $ |
30 */ 31 32#ifndef _MACHINE_VM86_H_ 33#define _MACHINE_VM86_H_ 1 34 35/* standard register representation */ 36typedef union { 37 u_int r_ex; --- 70 unchanged lines hidden (view full) --- 108 struct vm86pmap { 109 int flags; 110 int pte_num; 111 vm_offset_t kva; 112 u_int old_pte; 113 } pmap[VM86_PMAPSIZE]; 114}; 115 | 30 */ 31 32#ifndef _MACHINE_VM86_H_ 33#define _MACHINE_VM86_H_ 1 34 35/* standard register representation */ 36typedef union { 37 u_int r_ex; --- 70 unchanged lines hidden (view full) --- 108 struct vm86pmap { 109 int flags; 110 int pte_num; 111 vm_offset_t kva; 112 u_int old_pte; 113 } pmap[VM86_PMAPSIZE]; 114}; 115 |
116#define VM_USERCHANGE (PSL_USERCHANGE | PSL_RF) | 116#define VM_USERCHANGE (PSL_USERCHANGE) |
117#define VME_USERCHANGE (VM_USERCHANGE | PSL_VIP | PSL_VIF) 118 119struct vm86_kernel { 120 caddr_t vm86_intmap; /* interrupt map */ 121 u_int vm86_eflags; /* emulated flags */ 122 int vm86_has_vme; /* VME support */ 123 int vm86_inited; /* we were initialized */ 124 int vm86_debug; --- 41 unchanged lines hidden --- | 117#define VME_USERCHANGE (VM_USERCHANGE | PSL_VIP | PSL_VIF) 118 119struct vm86_kernel { 120 caddr_t vm86_intmap; /* interrupt map */ 121 u_int vm86_eflags; /* emulated flags */ 122 int vm86_has_vme; /* VME support */ 123 int vm86_inited; /* we were initialized */ 124 int vm86_debug; --- 41 unchanged lines hidden --- |