.\" -*- nroff -*- .\" .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu) .\" Copyright 1997 Andries E. Brouwer (aeb@cwi.nl) .\" .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" .TH VM86 2 "17/Julho/1997" "Linux 2.1.15" "Manual do Programador Linux" .SH NOME vm86old, vm86 \- entra no mode virtual 8086 .SH SINOPSE .B #include .sp .BI "int vm86old(struct vm86_struct * " info ); .sp .BI "int vm86(unsigned long " fn ", struct vm86plus_struct * " v86 ); .SH DESCRIÇÃO A chamada de sistema The system call .B vm86 foi introduzida no Linux 0.97p2. Nos Linux 2.1.15 e 2.0.28 ela foi renomeada para .BR vm86old , e uma nova .B vm86 foi introduzida. A definição de `struct vm86_struct' foi alterada no 1.1.8 e 1.1.9. .LP Estas chamadas provocam a entrada do processo no modo VM86, e são usadas pelo .BR dosemu . .SH "VALORES DE RETORNO " Em caso de sucesso, zero é retornado. Em caso de erro, \-1 é retornado, e .I errno é selecionada apropriadamente. .SH ERROS (para .BR vm86old ) .TP .B EPERM Pilha do Kernel já está salva. (Isto é um teste de integridade do kernel; A pilha salva deveria existir apenas um vez dentro do modo vm86. .SH "DE ACORDO COM" Esta chamada é especifica para o Linux em processadores Intel, e não deveria ser Usada em programas que pretendem ser portáveis. .SH TRADUZIDO POR LDP-BR em 21/08/2000. \&\fR\&\f(CWAndré L. Fassone Canova (tradução)\fR \&\fR\&\f(CWxxxxxxxxxxxxxxxxxxxxxxxxx (revisão)\fR