Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
vm86.h File Reference
#include <asm/processor-flags.h>

Go to the source code of this file.

Data Structures

struct  vm86_regs
 
struct  revectored_struct
 
struct  vm86_struct
 
struct  vm86plus_info_struct
 
struct  vm86plus_struct
 

Macros

#define BIOSSEG   0x0f000
 
#define CPU_086   0
 
#define CPU_186   1
 
#define CPU_286   2
 
#define CPU_386   3
 
#define CPU_486   4
 
#define CPU_586   5
 
#define VM86_TYPE(retval)   ((retval) & 0xff)
 
#define VM86_ARG(retval)   ((retval) >> 8)
 
#define VM86_SIGNAL   0 /* return due to signal */
 
#define VM86_UNKNOWN
 
#define VM86_INTx   2 /* int3/int x instruction (ARG = x) */
 
#define VM86_STI
 
#define VM86_PICRETURN   4 /* return due to pending PIC request */
 
#define VM86_TRAP   6 /* return due to DOS-debugger request */
 
#define VM86_PLUS_INSTALL_CHECK   0
 
#define VM86_ENTER   1
 
#define VM86_ENTER_NO_BYPASS   2
 
#define VM86_REQUEST_IRQ   3
 
#define VM86_FREE_IRQ   4
 
#define VM86_GET_IRQ_BITS   5
 
#define VM86_GET_AND_RESET_IRQ   6
 
#define VM86_SCREEN_BITMAP   0x0001
 

Macro Definition Documentation

#define BIOSSEG   0x0f000

Definition at line 17 of file vm86.h.

#define CPU_086   0

Definition at line 19 of file vm86.h.

#define CPU_186   1

Definition at line 20 of file vm86.h.

#define CPU_286   2

Definition at line 21 of file vm86.h.

#define CPU_386   3

Definition at line 22 of file vm86.h.

#define CPU_486   4

Definition at line 23 of file vm86.h.

#define CPU_586   5

Definition at line 24 of file vm86.h.

#define VM86_ARG (   retval)    ((retval) >> 8)

Definition at line 30 of file vm86.h.

#define VM86_ENTER   1

Definition at line 47 of file vm86.h.

#define VM86_ENTER_NO_BYPASS   2

Definition at line 48 of file vm86.h.

#define VM86_FREE_IRQ   4

Definition at line 50 of file vm86.h.

#define VM86_GET_AND_RESET_IRQ   6

Definition at line 52 of file vm86.h.

#define VM86_GET_IRQ_BITS   5

Definition at line 51 of file vm86.h.

#define VM86_INTx   2 /* int3/int x instruction (ARG = x) */

Definition at line 34 of file vm86.h.

#define VM86_PICRETURN   4 /* return due to pending PIC request */

Definition at line 40 of file vm86.h.

#define VM86_PLUS_INSTALL_CHECK   0

Definition at line 46 of file vm86.h.

#define VM86_REQUEST_IRQ   3

Definition at line 49 of file vm86.h.

#define VM86_SCREEN_BITMAP   0x0001

Definition at line 106 of file vm86.h.

#define VM86_SIGNAL   0 /* return due to signal */

Definition at line 32 of file vm86.h.

#define VM86_STI
Value:
3 /* sti/popf/iret instruction enabled
virtual interrupts */

Definition at line 35 of file vm86.h.

#define VM86_TRAP   6 /* return due to DOS-debugger request */

Definition at line 41 of file vm86.h.

#define VM86_TYPE (   retval)    ((retval) & 0xff)

Definition at line 29 of file vm86.h.

#define VM86_UNKNOWN
Value:
1 /* unhandled GP fault
- IO-instruction or similar */

Definition at line 33 of file vm86.h.