Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libarch/x86_64 This is the x86_64 version, not i386.



details:   https://anonhg.NetBSD.org/src/rev/8fab210c5499
branches:  trunk
changeset: 533573:8fab210c5499
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Thu Jul 04 12:24:40 2002 +0000

description:
This is the x86_64 version, not i386.

diffstat:

 lib/libarch/x86_64/x86_64_iopl.2 |  27 +++++++++++----------------
 1 files changed, 11 insertions(+), 16 deletions(-)

diffs (65 lines):

diff -r f404d47db587 -r 8fab210c5499 lib/libarch/x86_64/x86_64_iopl.2
--- a/lib/libarch/x86_64/x86_64_iopl.2  Thu Jul 04 11:46:30 2002 +0000
+++ b/lib/libarch/x86_64/x86_64_iopl.2  Thu Jul 04 12:24:40 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: x86_64_iopl.2,v 1.1 2002/07/04 10:53:26 fvdl Exp $
+.\"    $NetBSD: x86_64_iopl.2,v 1.2 2002/07/04 12:24:40 fvdl Exp $
 .\"
 .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -34,45 +34,40 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd October 14, 1995
-.Dt I386_IOPL 2 i386
+.Dd July 3, 2002
+.Dt X86_64_IOPL 2 x86_64
 .Os
 .Sh NAME
-.Nm i386_iopl
-.Nd change the i386 I/O privilege level
+.Nm x86_64_iopl
+.Nd change the x86_64 I/O privilege level
 .Sh LIBRARY
-.Lb libi386
+.Lb libx86_64
 .Sh SYNOPSIS
 .Fd #include \*[Lt]sys/types.h\*[Gt]
 .Fd #include \*[Lt]machine/sysarch.h\*[Gt]
 .Ft int
-.Fn i386_iopl "int iopl"
+.Fn x86_64_iopl "int iopl"
 .Sh DESCRIPTION
-.Fn i386_iopl
-sets the i386 I/O privilege level to the value specified by
+.Fn x86_64_iopl
+sets the x86_64 I/O privilege level to the value specified by
 .Ar iopl .
 This call is restricted to the super-user.
 .Sh RETURN VALUES
 Upon successful completion,
-.Fn i386_iopl
+.Fn x86_64_iopl
 returns 0.
 Otherwise, a value of -1 is returned and the global
 variable
 .Va errno
 is set to indicate the error.
 .Sh ERRORS
-.Fn i386_iopl
+.Fn x86_64_iopl
 will fail if:
 .Bl -tag -width [EINVAL]
 .It Bq Er EPERM
 The caller was not the super-user, or the operation was not permitted at the
 current security level.
 .El
-.Sh SEE ALSO
-.Xr i386_get_ioperm 2 ,
-.Xr i386_set_ioperm 2
-.Sh REFERENCES
-i386 Microprocessor Programmer's Reference Manual, Intel
 .Sh WARNING
 You can really hose your machine if you enable user-level I/O and
 write to hardware ports without care.



Home | Main Index | Thread Index | Old Index