diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 1998-02-21 10:20:23 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 1998-02-21 10:20:23 +0000 |
commit | 4f9c167a38132be389fa0ca978c7c09d1b408ac6 (patch) | |
tree | 2a9b466a4c0eefb1193cfddfc6ed196820136f89 /share | |
parent | dee4db09293452067ab86af376edd5e540243994 (diff) |
add xf86 man page
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/man4.i386/Makefile | 3 | ||||
-rw-r--r-- | share/man/man4/man4.i386/xf86.4 | 81 |
2 files changed, 83 insertions, 1 deletions
diff --git a/share/man/man4/man4.i386/Makefile b/share/man/man4/man4.i386/Makefile index d5868d89814..b89ac06c0e2 100644 --- a/share/man/man4/man4.i386/Makefile +++ b/share/man/man4/man4.i386/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.14 1997/05/28 21:44:51 deraadt Exp $ +# $OpenBSD: Makefile,v 1.15 1998/02/21 10:20:21 matthieu Exp $ # from: @(#)Makefile 5.1 (Berkeley) 2/12/91 # Id: Makefile,v 1.4 1995/12/14 05:41:38 deraadt Exp $ @@ -7,6 +7,7 @@ MAN+= com.4 cy.4 ed.4 ep.4 fdc.4 iy.4 lms.4 lpt.4 mcd.4 mem.4 mms.4 MAN+= npx.4 pccom.4 pctr.4 pms.4 rtfps.4 scd.4 sea.4 speaker.4 uha.4 wd.4 MAN+= eg.4 el.4 ie.4 joy.4 le.4 wt.4 MAN+= gus.4 pss.4 sb.4 wss.4 +MAN+= xf86.4 MLINKS= mem.4 kmem.4 MLINKS+= pms.4 psm.4 diff --git a/share/man/man4/man4.i386/xf86.4 b/share/man/man4/man4.i386/xf86.4 new file mode 100644 index 00000000000..807ab510b3c --- /dev/null +++ b/share/man/man4/man4.i386/xf86.4 @@ -0,0 +1,81 @@ +.\" $OpenBSD: xf86.4,v 1.1 1998/02/21 10:20:22 matthieu Exp $ +.\" +.\" Copyright (c) 1998 Matthieu Herrb +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd February 20, 1998 +.Os OpenBSD 2.3 +.Dt XF86 4 i386 +.Sh NAME +.Nm xf86 +.Nd +XFree86 aperture driver +.Sh SYNOPSIS +.Cd "option APERTURE" +.Sh DESCRIPTION +The +.Pa /dev/xf86 +driver provides access to the memory of a VGA board for +use by the XFree86 X servers +when running with a kernel security level > 0 (ie. when using +.Pa /dev/mem +is prohibited). +.Pp +Some X servers ( +.Xr XF86_P9000 1 , +.Xr XF86_Mach64 1 , +.Xr XF86_AGX 1 , +the Matrox driver in +.Xr XF86_SVGA 1 +) +require the use of this driver, while the other can make use of it if +it's available, but will work without it. +.Ss ACCESS CONTROL +Access to the +.Pa /dev/xf86 +device is allowed when the sysctl variable +.Va machdep.allowaperture += 1. This variable (which default value is 0) +can only be manipulated when the security level is <= 0, so it should be +set in +.Pa /etc/sysctl.conf . +.Sh SEE ALSO +.Xr XF86_Accel 1 , +.Xr XF86_SVGA 1 , +.\" XXX .Xr sysctl.conf 5 , +.Xr config 8 , +.Xr sysctl 8 . +.Sh HISTORY +.Pa /dev/xf86 +was introduced as a loadable kernel module for NetBSD 0.9C +with XFree86 3.1. It was integrated as an in-kernel device on OpenBSD +2.3. +.Sh AUTHOR +The aperture driver was written by Matthieu Herrb. +.Sh BUGS +This driver allows access to all addresses above +.Va physmem . +It should be restricted to the actual address range of the video +memory. |