1 .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu)
2 .\" Copyright 1997 Andries E. Brouwer (aeb@cwi.nl)
4 .\" %%%LICENSE_START(VERBATIM)
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date. The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein. The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
26 .\"*******************************************************************
28 .\" This file was generated with po4a. Translate the source file.
30 .\"*******************************************************************
32 .\" Japanese Version Copyright (c) 1997 SUTO, Mitsuaki
33 .\" all rights reserved.
34 .\" Translated Thu Jun 26 21:32:38 JST 1997
35 .\" by SUTO, Mitsuaki <suto@av.crl.sony.co.jp>
36 .\" Modified Sun Mar 21 17:23:16 JST 1999
37 .\" by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
38 .\" Updated & Modified Sat May 22 19:50:44 JST 2004
39 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
41 .TH VM86 2 2009\-02\-20 Linux "Linux Programmer's Manual"
43 vm86old, vm86 \- 仮想 8086 モードへ移行する
45 \fB#include <sys/vm86.h>\fP
47 \fBint vm86old(struct vm86_struct *\fP\fIinfo\fP\fB);\fP
49 \fBint vm86(unsigned long \fP\fIfn\fP\fB, struct vm86plus_struct *\fP\fIv86\fP\fB);\fP
51 \fBvm86\fP() システムコールは Linux 0.97p2 で導入された。 これは Linux 2.1.15 と 2.0.28 で
52 \fBvm86old\fP() に名前が変更され、 新しい \fBvm86\fP() が導入された。 \fIstruct vm86_struct\fP の定義は
55 これらのコールによってプロセスは VM86 モード (Intel の文書では仮想 8086 モード) へと移行する。 これらのコールは
58 VM86 モードはプロテクトモードタスクにおける リアルモードのエミュレーションである。
60 成功した場合は 0 が返される。エラーの場合は \-1 が返され、 \fIerrno\fP が適切に設定される。
64 この返り値は i386 固有のものであり、 ユーザー空間のデータを取得する際に問題があったことを示す。
67 この返り値は、このコールが現在のアーキテクチャで実装されていないことを示す。
70 保存されたカーネルスタックが既に存在している。(これはカーネルが通常の 状態であるかをチェックしている。保存されたスタックは vm86 モードで
73 この関数は 32 ビット Intel プロセッサ上の Linux 特有の関数であり、 移植を意図したプログラムでは使用すべきでない。
75 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.65 の一部
76 である。プロジェクトの説明とバグ報告に関する情報は
77 http://www.kernel.org/doc/man\-pages/ に書かれている。