OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / draft / man2 / vm86.2
1 .\" Hey Emacs! This file is -*- nroff -*- source.
2 .\"
3 .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu)
4 .\" Copyright 1997 Andries E. Brouwer (aeb@cwi.nl)
5 .\"
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.
9 .\"
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.
14 .\"
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
21 .\" professionally.
22 .\"
23 .\" Formatted or processed versions of this manual, if unaccompanied by
24 .\" the source, must acknowledge the copyright and authors of this work.
25 .\"
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>
34 .\"
35 .TH VM86 2 2009-02-20 "Linux" "Linux Programmer's Manual"
36 .\"O .SH NAME
37 .SH Ì¾Á°
38 .\"O vm86old, vm86 \- enter virtual 8086 mode
39 vm86old, vm86 \- ²¾ÁÛ 8086 ¥â¡¼¥É¤Ø°Ü¹Ô¤¹¤ë
40 .\"O .SH SYNOPSIS
41 .SH ½ñ¼°
42 .B #include <sys/vm86.h>
43 .sp
44 .BI "int vm86old(struct vm86_struct *" info );
45 .sp
46 .BI "int vm86(unsigned long " fn ", struct vm86plus_struct *" v86 );
47 .\"O .SH DESCRIPTION
48 .SH ÀâÌÀ
49 .\"O The system call
50 .\"O .BR vm86 ()
51 .\"O was introduced in Linux 0.97p2.
52 .\"O In Linux 2.1.15 and 2.0.28 it was renamed to
53 .\"O .BR vm86old (),
54 .\"O and a new
55 .\"O .BR vm86 ()
56 .\"O was introduced.
57 .\"O The definition of \fIstruct vm86_struct\fP was changed
58 .\"O in 1.1.8 and 1.1.9.
59 .BR vm86 ()
60 ¥·¥¹¥Æ¥à¥³¡¼¥ë¤Ï Linux 0.97p2 ¤ÇƳÆþ¤µ¤ì¤¿¡£
61 ¤³¤ì¤Ï Linux 2.1.15 ¤È 2.0.28 ¤Ç
62 .BR vm86old ()
63 ¤Ë̾Á°¤¬Êѹ¹¤µ¤ì¡¢
64 ¿·¤·¤¤
65 .BR vm86 ()
66 ¤¬Æ³Æþ¤µ¤ì¤¿¡£
67 \fIstruct vm86_struct\fP ¤ÎÄêµÁ¤Ï 1.1.8 ¤È 1.1.9 ¤ÇÊѹ¹¤µ¤ì¤¿¡£
68 .LP
69 .\"O These calls cause the process to enter VM86 mode (virtual-8086 in Intel
70 .\"O literature), and are used by
71 .\"O .BR dosemu .
72 ¤³¤ì¤é¤Î¥³¡¼¥ë¤Ë¤è¤Ã¤Æ¥×¥í¥»¥¹¤Ï VM86 ¥â¡¼¥É
73 (Intel ¤Îʸ½ñ¤Ç¤Ï²¾ÁÛ 8086 ¥â¡¼¥É) ¤Ø¤È°Ü¹Ô¤¹¤ë¡£
74 ¤³¤ì¤é¤Î¥³¡¼¥ë¤Ï
75 .B dosemu
76 ¤Ç»ÈÍѤµ¤ì¤ë¡£
77 .PP
78 .\"O VM86 mode is an emulation of real mode within a protected mode task.
79 VM86 ¥â¡¼¥É¤Ï¥×¥í¥Æ¥¯¥È¥â¡¼¥É¥¿¥¹¥¯¤Ë¤ª¤±¤ë
80 ¥ê¥¢¥ë¥â¡¼¥É¤Î¥¨¥ß¥å¥ì¡¼¥·¥ç¥ó¤Ç¤¢¤ë¡£
81 .\"O .SH "RETURN VALUE"
82 .SH ÊÖ¤êÃÍ
83 .\"O On success, zero is returned.
84 .\"O On error, \-1 is returned, and
85 .\"O .I errno
86 .\"O is set appropriately.
87 À®¸ù¤·¤¿¾ì¹ç¤Ï 0 ¤òÊÖ¤¹¡£¼ºÇÔ¤·¤¿¾ì¹ç¤Ï \-1 ¤òÊÖ¤·¡¢
88 .I errno
89 ¤¬¥¨¥é¡¼¤ÎÆâÍƤ˽¾¤Ã¤ÆÀßÄꤵ¤ì¤ë¡£
90 .\"O .SH ERRORS
91 .SH ¥¨¥é¡¼
92 .TP
93 .B EFAULT
94 .\"O This return value is specific to i386 and indicates a problem with getting
95 .\"O userspace data.
96 ¤³¤ÎÊÖ¤êÃͤϠi386 ¸ÇÍ­¤Î¤â¤Î¤Ç¤¢¤ê¡¢
97 ¥æ¡¼¥¶¡¼¶õ´Ö¤Î¥Ç¡¼¥¿¤ò¼èÆÀ¤¹¤ëºÝ¤ËÌäÂ꤬¤¢¤Ã¤¿¤³¤È¤ò¼¨¤¹¡£
98 .TP
99 .B ENOSYS
100 .\"O This return value indicates the call is not implemented on the present
101 .\"O architecture.
102 ¤³¤ÎÊÖ¤êÃͤϡ¢¤³¤Î¥³¡¼¥ë¤¬¸½ºß¤Î¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ç¼ÂÁõ¤µ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤ò¼¨¤¹¡£
103 .TP
104 .B EPERM
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 ¥â¡¼¥É¤Ç
110 ¤·¤«Â¸ºß¤·¤Ê¤¤¡£)
111 .\"O .SH "CONFORMING TO"
112 .SH ½àµò
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 °Ü¿¢¤ò°Õ¿Þ¤·¤¿¥×¥í¥°¥é¥à¤Ç¤Ï»ÈÍѤ¹¤Ù¤­¤Ç¤Ê¤¤¡£