Annotation of OSKit-Mach/include/device/device_request.defs, revision 1.1.1.1

1.1       root        1: /* 
                      2:  * Mach Operating System
                      3:  * Copyright (c) 1991,1990,1989 Carnegie Mellon University
                      4:  * All Rights Reserved.
                      5:  * 
                      6:  * Permission to use, copy, modify and distribute this software and its
                      7:  * documentation is hereby granted, provided that both the copyright
                      8:  * notice and this permission notice appear in all copies of the
                      9:  * software, derivative works or modified versions, and any portions
                     10:  * thereof, and that both notices appear in supporting documentation.
                     11:  * 
                     12:  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
                     13:  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
                     14:  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
                     15:  * 
                     16:  * Carnegie Mellon requests users of this software to return to
                     17:  * 
                     18:  *  Software Distribution Coordinator  or  [email protected]
                     19:  *  School of Computer Science
                     20:  *  Carnegie Mellon University
                     21:  *  Pittsburgh PA 15213-3890
                     22:  * 
                     23:  * any improvements or extensions that they make and grant Carnegie Mellon
                     24:  * the rights to redistribute these changes.
                     25:  */
                     26: /*
                     27:  *     Author: David B. Golub, Carnegie Mellon University
                     28:  *     Date:   8/89
                     29:  *
                     30:  *      Request-only side of device interface.
                     31:  */
                     32: 
                     33: subsystem device_request 2800; /* to match device.defs */
                     34: 
                     35: #include <device/device_types.defs>
                     36: 
                     37: serverprefix   ds_;
                     38: 
                     39: type reply_port_t = MACH_MSG_TYPE_MAKE_SEND_ONCE
                     40:        ctype: mach_port_t;
                     41: 
                     42: simpleroutine device_open_request(
                     43:            device_server_port  : mach_port_t;
                     44:   ureplyport reply_port                : reply_port_t;
                     45:        in  mode                : dev_mode_t;
                     46:        in  name                : dev_name_t
                     47:        );
                     48: 
                     49: skip;  /*    device_close */
                     50: 
                     51: simpleroutine device_write_request(
                     52:            device              : device_t;
                     53:   ureplyport reply_port                : reply_port_t;
                     54:        in  mode                : dev_mode_t;
                     55:        in  recnum              : recnum_t;
                     56:        in  data                : io_buf_ptr_t
                     57:        );
                     58: 
                     59: simpleroutine device_write_request_inband(
                     60:            device              : device_t;
                     61:   ureplyport reply_port                : reply_port_t;
                     62:        in  mode                : dev_mode_t;
                     63:        in  recnum              : recnum_t;
                     64:        in  data                : io_buf_ptr_inband_t
                     65:        );
                     66: 
                     67: simpleroutine device_read_request(
                     68:            device              : device_t;
                     69:   ureplyport reply_port                : reply_port_t;
                     70:        in  mode                : dev_mode_t;
                     71:        in  recnum              : recnum_t;
                     72:        in  bytes_wanted        : int
                     73:        );
                     74: 
                     75: simpleroutine device_read_request_inband(
                     76:            device              : device_t;
                     77:   ureplyport reply_port                : reply_port_t;
                     78:        in  mode                : dev_mode_t;
                     79:        in  recnum              : recnum_t;
                     80:        in  bytes_wanted        : int
                     81:        );

unix.superglobalmegacorp.com

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