Used to cause the process to enter VM86 mode (virtual-8086 in Intel literature). This system call is used by dosemu for example.
VM86 mode is an emulation of real mode within a protected mode task.
Arguments
eax |
166 |
ebx |
Operation request. It may be one of the following:
VM86_REQUEST_IRQ |
*to be documented* |
VM86_FREE_IRQ |
*to be documented* |
VM86_GET_IRQ_BITS |
*to be documented* |
VM86_GET_AND_RESET_IRQ |
*to be documented* |
VM86_PLUS_INSTALL_CHECK |
*to be documented* |
|
|
ecx |
Pointer to a vm86plus_struct structure:
*to be documented*
struc vm86plus_struct
{
.regs vm86_regs
.flags rd 1
.screen_bitmap rd 1
.cpu_type rd 1
.int_revectored revectored_struct
.int21_revectored revectored_struct
.vm86plus vm86plus_info_struct
} |
|
Return values
If the system call succeeds the return value is 0.
If the system call fails the return value is one of the following errno values:
-EFAULT |
This return value indicates a problem with getting userspace data. |
-EPERM |
Saved kernel stack exists. (This is a kernel sanity check; the saved stack should only exist within vm86 mode itself.) |
|
Remarks
n/a
Compatibility
n/a |