⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ik.4

📁 早期freebsd实现
💻 4
字号:
.\" Copyright (c) 1983, 1991, 1993.\"	The Regents of the University of California.  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. All advertising materials mentioning features or use of this software.\"    must display the following acknowledgement:.\"	This product includes software developed by the University of.\"	California, Berkeley and its contributors..\" 4. Neither the name of the University nor the names of its contributors.\"    may be used to endorse or promote products derived from this software.\"    without specific prior written permission..\".\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``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 REGENTS OR CONTRIBUTORS 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..\".\"     @(#)ik.4	8.1 (Berkeley) 6/5/93.\".Dd June 5, 1993.Dt IK 4.Os BSD 4.2.Sh NAME.Nm ik.Nd Evans and Sutherland Picture System 300 graphics device interface.Sh SYNOPSIS.Cd "device ik0 at vba? csr 0xfffb100 vector ikintr".Sh DESCRIPTIONThe.Nm ikdriver provides accessto an Evans andSutherland Picture System 300 through an Ikon.Tn DR-11Winterface card.Each two minor device numbers are a different.Tn PS300 ;within a pair of device numbers the odd valueddevice is used for ``diagnostic'' purposes.   That is,for even numbered minor devices, opening the device resultsin a.Tn PS300``attach'' request being performed while forodd numbered minor devices the attach request is not performed..PpAll operations between the host and the.Tn PS300utilize.Tn DMA .The driver currently supports only physical.Tn I/O operationswhen reading and writing; this makes the device useless withstandard Evans and Sutherland software..PpThe interface provided by the interface is as.Ux Ns -likeas possible.When a device is opened a.Tn PS300attach request is automaticallyperformed.  When a device is closed a detach is performed.  Readsand writes result in physical.Tn I/Orequests, but hide all the detailsof the physical.Tn I/Oprotocol.  This is programming style is completelydifferent from the.Tn VMS Ns -orientedqio-style interface supplied by Evansand Sutherland..PpReads and writes to the device result in a physical.Tn I/Orequestto the.Tn PS300 .If a.Xr readv 2or.Xr writev 2call is used, each.Tn I/Orequest results in a single physical.Tn I/Orequest (i.e. the scatter-gather facilities are not supported).In normal operation, the address used in a physical.Tn I/Orequestis the current file offset as specified explicitly with.Xr lseek 2or implictly as a result of reading or writing the device.To specify an address to be used with each physical.Tn I/Orequest,the.Nm ikdriver interprets the.Ar ioventries in a non-standard way.  If.Ar iov_lenis zero, then.Ar iov_baseis interpreted as an address to be used in the physical.Tn I/Orequest.  If the address has the.Dv PSIO_SYNCflag or-d into it,the physical.Tn I/Orequest is made as a ``write with sync''.All addresses and data presented to the driver should be inthe byte order of the host; any byte swapping required to conversewith the.Tn PS300is performed in the driver/controller..PpIn addition to reading and writing, the following.Xr ioctlrequests are available:.Bl -tag -width PSIOGETERROR.It Dv PSIOLOOKUPPerform a ``name lookup'' request.  The.Ar pslookupstructure passed indicates the symbol name to be looked upand contains the address returned by the.Tn PS300 .A zeroaddress return indicates the symbol was undefined..It Dv PSIOGETERRORIn the event of an error, this request may be made toreturn a more detailed and, sometimes.Tn PS300 Ns -specific ,error code..Sh FILES.Bl -tag -width /dec/ik[0-7]xx -compact.It Pa /dev/ik[0-7]auto-attach devices.It Pa /dev/ik[0-7]ddiagnostic interfaces to devices.El.Sh DIAGNOSTICS.Bl -diag.It ik%d: bad cmd %x.An unknown or unsupported command was received by the host..It ik%d: spurious interrupt, code %x.An unexpected interrupt was received from the.Tn PS300 ;theattention code from the.Tn PS300is printed..It ik%d: timeout.A command failed to elicit a response within a reasonabletime; the.Tn PS300probably crashed..El.Sh HISTORYTheTahoe Version.Nmdriver appeared in.Bx 4.2 ..Sh BUGSAn invalid access (e.g. illegal address) to the.Tn PS300cancause the.Tn PS300to crash.  It is not always possible to unwedgethe.Tn PS300interface hardware hung by an.Tn I/Orequest.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -