|VM86(2)||Linux Programmer's Manual||VM86(2)|
int vm86old(struct vm86_struct *info); int vm86(unsigned long fn, struct vm86plus_struct *v86);
These calls cause the process to enter VM86 mode (virtual-8086 in Intel literature), and are used by dosemu.
VM86 mode is an emulation of real mode within a protected mode task.
- This return value is specific to i386 and indicates a problem with getting user-space data.
- This return value indicates the call is not implemented on the present architecture.
- Saved kernel stack exists. (This is a kernel sanity check; the saved stack should exist only within vm86 mode itself.)