vm86.h (84427) | vm86.h (92761) |
---|---|
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: head/sys/i386/include/vm86.h 84427 2001-10-03 17:23:26Z bde $ | 29 * $FreeBSD: head/sys/i386/include/vm86.h 92761 2002-03-20 05:48:58Z alfred $ |
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; --- 106 unchanged lines hidden (view full) --- 144 struct vm86frame vmf; 145}; 146 147#ifdef _KERNEL 148extern int in_vm86call; 149extern int vm86paddr; 150 151struct thread; | 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; --- 106 unchanged lines hidden (view full) --- 144 struct vm86frame vmf; 145}; 146 147#ifdef _KERNEL 148extern int in_vm86call; 149extern int vm86paddr; 150 151struct thread; |
152extern int vm86_emulate __P((struct vm86frame *)); 153extern int vm86_sysarch __P((struct thread *, char *)); 154extern void vm86_trap __P((struct vm86frame *)); 155extern int vm86_intcall __P((int, struct vm86frame *)); 156extern int vm86_datacall __P((int, struct vm86frame *, struct vm86context *)); 157extern void vm86_initialize __P((void)); 158extern vm_offset_t vm86_getpage __P((struct vm86context *, int)); 159extern vm_offset_t vm86_addpage __P((struct vm86context *, int, vm_offset_t)); 160extern int vm86_getptr __P((struct vm86context *, vm_offset_t, 161 u_short *, u_short *)); | 152extern int vm86_emulate(struct vm86frame *); 153extern int vm86_sysarch(struct thread *, char *); 154extern void vm86_trap(struct vm86frame *); 155extern int vm86_intcall(int, struct vm86frame *); 156extern int vm86_datacall(int, struct vm86frame *, struct vm86context *); 157extern void vm86_initialize(void); 158extern vm_offset_t vm86_getpage(struct vm86context *, int); 159extern vm_offset_t vm86_addpage(struct vm86context *, int, vm_offset_t); 160extern int vm86_getptr(struct vm86context *, vm_offset_t, u_short *, u_short *); |
162 | 161 |
163extern vm_offset_t vm86_getaddr __P((struct vm86context *, u_short, u_short)); | 162extern vm_offset_t vm86_getaddr(struct vm86context *, u_short, u_short); |
164#endif /* _KERNEL */ 165 166#endif /* _MACHINE_VM86_H_ */ | 163#endif /* _KERNEL */ 164 165#endif /* _MACHINE_VM86_H_ */ |