aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/vm86.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/vm86.h')
-rw-r--r--include/asm-x86/vm86.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/asm-x86/vm86.h b/include/asm-x86/vm86.h
index f5f3dc479c34..074b357146df 100644
--- a/include/asm-x86/vm86.h
+++ b/include/asm-x86/vm86.h
@@ -12,19 +12,13 @@
12 * Linus 12 * Linus
13 */ 13 */
14 14
15#define TF_MASK 0x00000100 15#include <asm/processor-flags.h>
16#define IF_MASK 0x00000200 16
17#define IOPL_MASK 0x00003000
18#define NT_MASK 0x00004000
19#ifdef CONFIG_VM86 17#ifdef CONFIG_VM86
20#define X86_VM_MASK X86_EFLAGS_VM 18#define X86_VM_MASK X86_EFLAGS_VM
21#else 19#else
22#define X86_VM_MASK 0 /* No VM86 support */ 20#define X86_VM_MASK 0 /* No VM86 support */
23#endif 21#endif
24#define AC_MASK 0x00040000
25#define VIF_MASK 0x00080000 /* virtual interrupt flag */
26#define VIP_MASK 0x00100000 /* virtual interrupt pending */
27#define ID_MASK 0x00200000
28 22
29#define BIOSSEG 0x0f000 23#define BIOSSEG 0x0f000
30 24