diff options
Diffstat (limited to 'include/asm-x86/vm86.h')
-rw-r--r-- | include/asm-x86/vm86.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/asm-x86/vm86.h b/include/asm-x86/vm86.h index c92fe4af52e8..a2be241ed036 100644 --- a/include/asm-x86/vm86.h +++ b/include/asm-x86/vm86.h | |||
@@ -42,9 +42,11 @@ | |||
42 | #define VM86_ARG(retval) ((retval) >> 8) | 42 | #define VM86_ARG(retval) ((retval) >> 8) |
43 | 43 | ||
44 | #define VM86_SIGNAL 0 /* return due to signal */ | 44 | #define VM86_SIGNAL 0 /* return due to signal */ |
45 | #define VM86_UNKNOWN 1 /* unhandled GP fault - IO-instruction or similar */ | 45 | #define VM86_UNKNOWN 1 /* unhandled GP fault |
46 | - IO-instruction or similar */ | ||
46 | #define VM86_INTx 2 /* int3/int x instruction (ARG = x) */ | 47 | #define VM86_INTx 2 /* int3/int x instruction (ARG = x) */ |
47 | #define VM86_STI 3 /* sti/popf/iret instruction enabled virtual interrupts */ | 48 | #define VM86_STI 3 /* sti/popf/iret instruction enabled |
49 | virtual interrupts */ | ||
48 | 50 | ||
49 | /* | 51 | /* |
50 | * Additional return values when invoking new vm86() | 52 | * Additional return values when invoking new vm86() |
@@ -205,7 +207,8 @@ void release_vm86_irqs(struct task_struct *); | |||
205 | #define handle_vm86_fault(a, b) | 207 | #define handle_vm86_fault(a, b) |
206 | #define release_vm86_irqs(a) | 208 | #define release_vm86_irqs(a) |
207 | 209 | ||
208 | static inline int handle_vm86_trap(struct kernel_vm86_regs *a, long b, int c) { | 210 | static inline int handle_vm86_trap(struct kernel_vm86_regs *a, long b, int c) |
211 | { | ||
209 | return 0; | 212 | return 0; |
210 | } | 213 | } |
211 | 214 | ||