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