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 Software.Distribution@CS.CMU.EDU
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 * HISTORY
28 * $Log: ds_routines.h,v $
29 * Revision 2.5 91/08/28 11:11:22 jsb
30 * Page list support: device_write_dealloc returns a boolean.
31 * [91/08/05 17:32:28 dlb]
32 *
33 * Revision 2.4 91/05/14 15:47:56 mrt
34 * Correcting copyright
35 *
36 * Revision 2.3 91/02/05 17:09:33 mrt
37 * Changed to new Mach copyright
38 * [91/01/31 17:29:15 mrt]
39 *
40 * Revision 2.2 89/09/08 11:24:24 dbg
41 * Created.
42 * [89/08/04 dbg]
43 *
44 */
45 /*
46 * Author: David B. Golub, Carnegie Mellon University
47 * Date: 8/89
48 *
49 * Device service utility routines.
50 */
51
52 #ifndef DS_ROUTINES_H
53 #define DS_ROUTINES_H
54
55 #include <vm/vm_map.h>
56 #include <device/device_types.h>
57
58 /*
59 * Map for device IO memory.
60 */
61 vm_map_t device_io_map;
62
63 kern_return_t device_read_alloc();
64 kern_return_t device_write_get();
65 boolean_t device_write_dealloc();
66
67 boolean_t ds_open_done();
68 boolean_t ds_read_done();
69 boolean_t ds_write_done();
70
71 #endif DS_ROUTINES_H
Cache object: 481b010854b166ce0832afa2f8099ceb
|