Annotated edit history of
vm86(2) version 1, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
VM86 |
|
|
2 |
!!!VM86 |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
ERRORS |
|
|
8 |
CONFORMING TO |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
vm86, vm86old - enter virtual 8086 mode |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__#include __ |
|
|
18 |
|
|
|
19 |
|
|
|
20 |
__int vm86(unsigned long__ ''fn''__, struct |
|
|
21 |
vm86plus_struct *__ ''v86''__);__ |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
__int vm86old(struct vm86_struct *__ |
|
|
25 |
''info''__);__ |
|
|
26 |
!!DESCRIPTION |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
The system call __vm86__ was introduced in Linux 0.97p2. |
|
|
30 |
In Linux 2.1.15 and 2.0.28 it was renamed to __vm86old__, |
|
|
31 |
and a new __vm86__ was introduced. The definition of |
|
|
32 |
`struct vm86_struct' was changed in 1.1.8 and |
|
|
33 |
1.1.9. |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
These calls cause the process to enter VM86 mode, and are |
|
|
37 |
used by __dosemu__ (dos(1)). |
|
|
38 |
!!RETURN VALUE |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
On success, zero is returned. On error, -1 is returned, and |
|
|
42 |
''errno'' is set appropriately. |
|
|
43 |
!!ERRORS |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
(for __vm86old__) |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
__EPERM__ |
|
|
50 |
|
|
|
51 |
|
|
|
52 |
Saved kernel stack exists. (This is a kernel sanity check; |
|
|
53 |
the saved stack should only exist within vm86 mode |
|
|
54 |
itself.) |
|
|
55 |
!!CONFORMING TO |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
This call is specific to Linux on Intel processors, and |
|
|
59 |
should not be used in programs intended to be |
|
|
60 |
portable. |
|
|
61 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.