1 .\" Hey Emacs! This file is -*- nroff -*- source.
3 .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu)
4 .\" Copyright 1997 Andries E. Brouwer (aeb@cwi.nl)
6 .\" Permission is granted to make and distribute verbatim copies of this
7 .\" manual provided the copyright notice and this permission notice are
8 .\" preserved on all copies.
10 .\" Permission is granted to copy and distribute modified versions of this
11 .\" manual under the conditions for verbatim copying, provided that the
12 .\" entire resulting derived work is distributed under the terms of a
13 .\" permission notice identical to this one.
15 .\" Since the Linux kernel and libraries are constantly changing, this
16 .\" manual page may be incorrect or out-of-date. The author(s) assume no
17 .\" responsibility for errors or omissions, or for damages resulting from
18 .\" the use of the information contained herein. The author(s) may not
19 .\" have taken the same level of care in the production of this manual,
20 .\" which is licensed free of charge, as they might when working
23 .\" Formatted or processed versions of this manual, if unaccompanied by
24 .\" the source, must acknowledge the copyright and authors of this work.
26 .\" Japanese Version Copyright (c) 1997 SUTO, Mitsuaki
27 .\" all rights reserved.
28 .\" Translated Thu Jun 26 21:32:38 JST 1997
29 .\" by SUTO, Mitsuaki <suto@av.crl.sony.co.jp>
30 .\" Modified Sun Mar 21 17:23:16 JST 1999
31 .\" by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
32 .\" Updated & Modified Sat May 22 19:50:44 JST 2004
33 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
35 .TH VM86 2 2009-02-20 "Linux" "Linux Programmer's Manual"
38 .\"O vm86old, vm86 \- enter virtual 8086 mode
39 vm86old, vm86 \- 仮想 8086 モードへ移行する
42 .B #include <sys/vm86.h>
44 .BI "int vm86old(struct vm86_struct *" info );
46 .BI "int vm86(unsigned long " fn ", struct vm86plus_struct *" v86 );
51 .\"O was introduced in Linux 0.97p2.
52 .\"O In Linux 2.1.15 and 2.0.28 it was renamed to
57 .\"O The definition of \fIstruct vm86_struct\fP was changed
58 .\"O in 1.1.8 and 1.1.9.
60 システムコールは Linux 0.97p2 で導入された。
61 これは Linux 2.1.15 と 2.0.28 で
67 \fIstruct vm86_struct\fP の定義は 1.1.8 と 1.1.9 で変更された。
69 .\"O These calls cause the process to enter VM86 mode (virtual-8086 in Intel
70 .\"O literature), and are used by
72 これらのコールによってプロセスは VM86 モード
73 (Intel の文書では仮想 8086 モード) へと移行する。
78 .\"O VM86 mode is an emulation of real mode within a protected mode task.
79 VM86 モードはプロテクトモードタスクにおける
81 .\"O .SH "RETURN VALUE"
83 .\"O On success, zero is returned.
84 .\"O On error, \-1 is returned, and
86 .\"O is set appropriately.
87 成功した場合は 0 を返す。失敗した場合は \-1 を返し、
94 .\"O This return value is specific to i386 and indicates a problem with getting
97 ユーザー空間のデータを取得する際に問題があったことを示す。
100 .\"O This return value indicates the call is not implemented on the present
102 この返り値は、このコールが現在のアーキテクチャで実装されていないことを示す。
105 .\"O Saved kernel stack exists.
106 .\"O (This is a kernel sanity check; the saved
107 .\"O stack should only exist within vm86 mode itself.)
108 保存されたカーネルスタックが既に存在している。(これはカーネルが通常の
109 状態であるかをチェックしている。保存されたスタックは vm86 モードで
111 .\"O .SH "CONFORMING TO"
113 .\"O This call is specific to Linux on 32-bit Intel processors,
114 .\"O and should not be used in programs intended to be portable.
115 この関数は 32 ビット Intel プロセッサ上の Linux 特有の関数であり、
116 移植を意図したプログラムでは使用すべきでない。