]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | /* |
2 | * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. | |
3 | * | |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
d7e50217 | 6 | * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved. |
1c79356b | 7 | * |
d7e50217 A |
8 | * This file contains Original Code and/or Modifications of Original Code |
9 | * as defined in and that are subject to the Apple Public Source License | |
10 | * Version 2.0 (the 'License'). You may not use this file except in | |
11 | * compliance with the License. Please obtain a copy of the License at | |
12 | * http://www.opensource.apple.com/apsl/ and read it before using this | |
13 | * file. | |
14 | * | |
15 | * The Original Code and all software distributed under the License are | |
16 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER | |
1c79356b A |
17 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, |
18 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
d7e50217 A |
19 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. |
20 | * Please see the License for the specific language governing rights and | |
21 | * limitations under the License. | |
1c79356b A |
22 | * |
23 | * @APPLE_LICENSE_HEADER_END@ | |
24 | */ | |
25 | /* | |
26 | * @OSF_COPYRIGHT@ | |
27 | */ | |
28 | /* | |
29 | * HISTORY | |
30 | * | |
31 | * Revision 1.1.1.1 1998/09/22 21:05:34 wsanchez | |
32 | * Import of Mac OS X kernel (~semeria) | |
33 | * | |
34 | * Revision 1.1.1.1 1998/03/07 02:25:54 wsanchez | |
35 | * Import of OSF Mach kernel (~mburg) | |
36 | * | |
37 | * Revision 1.1.4.1 1996/02/02 12:16:46 emcmanus | |
38 | * Copied from nmk20b5_shared. | |
39 | * [1996/02/01 16:56:16 emcmanus] | |
40 | * | |
41 | * Revision 1.1.2.1 1995/12/30 17:12:11 emcmanus | |
42 | * Renamed from i386/etap_map.h and fixed parentheses in ETAP_MAX_DEVICES. | |
43 | * [1995/12/30 17:04:00 emcmanus] | |
44 | * | |
45 | * Revision 1.1.2.4 1995/10/09 17:07:25 devrcs | |
46 | * Merged in RT3_SHARED ETAP code. | |
47 | * [1995/09/13 18:48:18 joe] | |
48 | * | |
49 | * Revision 1.1.2.3 1995/09/18 19:10:09 devrcs | |
50 | * Merged in RT3_SHARED ETAP code. | |
51 | * [1995/09/13 18:48:18 joe] | |
52 | * | |
53 | * Revision 1.1.2.2 1995/01/10 04:52:03 devrcs | |
54 | * mk6 CR801 - merge up from nmk18b4 to nmk18b7 | |
55 | * tweak protos, a la osc1.3b26 | |
56 | * [1994/12/09 20:38:34 dwm] | |
57 | * | |
58 | * mk6 CR801 - new file for mk6_shared from cnmk_shared. | |
59 | * [1994/12/01 21:11:38 dwm] | |
60 | * | |
61 | * Revision 1.1.2.1 1994/10/21 18:36:01 joe | |
62 | * Initial ETAP submission | |
63 | * [1994/10/20 19:21:40 joe] | |
64 | * | |
65 | * $EndLog$ | |
66 | */ | |
67 | /* | |
68 | * File : etap_map.h | |
69 | */ | |
70 | ||
71 | #ifndef _ETAP_MAP_H_ | |
72 | #define _ETAP_MAP_H_ | |
73 | ||
74 | #define ETAP_MAX_DEVICES (3+NCPUS) | |
75 | ||
76 | ||
77 | extern io_return_t etap_map_open( | |
78 | dev_t dev, | |
79 | dev_mode_t flags, | |
80 | io_req_t ior); | |
81 | ||
82 | extern vm_offset_t etap_map_mmap( | |
83 | dev_t dev, | |
84 | vm_offset_t off, | |
85 | vm_prot_t prot); | |
86 | ||
87 | #endif /* _ETAP_MAP_H_ */ |