Go to the documentation of this file. 1 #ifndef _ASM_X86_VM86_H
2 #define _ASM_X86_VM86_H
17 #define BIOSSEG 0x0f000
29 #define VM86_TYPE(retval) ((retval) & 0xff)
30 #define VM86_ARG(retval) ((retval) >> 8)
33 #define VM86_UNKNOWN 1
42 #define VM86_PICRETURN 4
48 #define VM86_PLUS_INSTALL_CHECK 0
50 #define VM86_ENTER_NO_BYPASS 2
51 #define VM86_REQUEST_IRQ 3
52 #define VM86_FREE_IRQ 4
53 #define VM86_GET_IRQ_BITS 5
54 #define VM86_GET_AND_RESET_IRQ 6
93 unsigned long __map[8];
108 #define VM86_SCREEN_BITMAP 0x0001
130 #include <asm/ptrace.h>
141 struct kernel_vm86_regs {
149 unsigned short es, __esh;
150 unsigned short ds, __dsh;
151 unsigned short fs, __fsh;
152 unsigned short gs, __gsh;
155 struct kernel_vm86_struct {
156 struct kernel_vm86_regs
regs;
165 #define VM86_TSS_ESP0 flags
167 unsigned long screen_bitmap;
196 #define handle_vm86_fault(a, b)
197 #define release_vm86_irqs(a)