Annotation of coherent/c/usr/include/sys/io.h, revision 1.1.1.1

1.1       root        1: /* (-lgl
                      2:  *     COHERENT Version 3.0
                      3:  *     Copyright 1989 by Inetco Systems, Ltd.
                      4:  *     All rights reserved. May not be copied without permission.
                      5:  -lgl) */
                      6: /*
                      7:  * I/O template.
                      8:  */
                      9: 
                     10: #ifndef         IO_H
                     11: #define         IO_H   IO_H
                     12: 
                     13: #include <sys/types.h>
                     14: 
                     15: /*
                     16:  * Structure used to store parameters for I/O.
                     17:  */
                     18: typedef struct io {
                     19:        int      io_seg;                /* Space */
                     20:        unsigned io_ioc;                /* Count */
                     21:        fsize_t  io_seek;               /* Seek posiion */
                     22:        char     *io_base;              /* Virtual base */
                     23:        paddr_t  io_phys;               /* Physical base */
                     24:        short    io_flag;               /* Flags: 0, IONDLY */
                     25: } IO;
                     26: 
                     27: /*
                     28:  * Types of space I/O operation is being performed from.
                     29:  */
                     30: #define IOSYS  0                       /* System */
                     31: #define IOUSR  1                       /* User */
                     32: #define IOPHY  2                       /* Physical */
                     33: 
                     34: /*
                     35:  * No delay if results are not immediately available.
                     36:  */
                     37: #define        IONDLY  8
                     38: 
                     39: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.