1c0763d37SSuleiman Souhlal /*- 2c0763d37SSuleiman Souhlal * Copyright (c) 2004 Mark R V Murray 3c0763d37SSuleiman Souhlal * All rights reserved. 4c0763d37SSuleiman Souhlal * 5c0763d37SSuleiman Souhlal * Redistribution and use in source and binary forms, with or without 6c0763d37SSuleiman Souhlal * modification, are permitted provided that the following conditions 7c0763d37SSuleiman Souhlal * are met: 8c0763d37SSuleiman Souhlal * 1. Redistributions of source code must retain the above copyright 9c0763d37SSuleiman Souhlal * notice, this list of conditions and the following disclaimer 10c0763d37SSuleiman Souhlal * in this position and unchanged. 11c0763d37SSuleiman Souhlal * 2. Redistributions in binary form must reproduce the above copyright 12c0763d37SSuleiman Souhlal * notice, this list of conditions and the following disclaimer in the 13c0763d37SSuleiman Souhlal * documentation and/or other materials provided with the distribution. 14c0763d37SSuleiman Souhlal * 15c0763d37SSuleiman Souhlal * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR 16c0763d37SSuleiman Souhlal * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17c0763d37SSuleiman Souhlal * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18c0763d37SSuleiman Souhlal * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19c0763d37SSuleiman Souhlal * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20c0763d37SSuleiman Souhlal * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21c0763d37SSuleiman Souhlal * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22c0763d37SSuleiman Souhlal * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23c0763d37SSuleiman Souhlal * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24c0763d37SSuleiman Souhlal * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25c0763d37SSuleiman Souhlal * 26c0763d37SSuleiman Souhlal * $FreeBSD$ 27c0763d37SSuleiman Souhlal */ 28c0763d37SSuleiman Souhlal 29*2fea6431SJung-uk Kim #ifndef _MACHINE_MEMDEV_H_ 30*2fea6431SJung-uk Kim #define _MACHINE_MEMDEV_H_ 31*2fea6431SJung-uk Kim 32c0763d37SSuleiman Souhlal #define CDEV_MINOR_MEM 0 33c0763d37SSuleiman Souhlal #define CDEV_MINOR_KMEM 1 34c0763d37SSuleiman Souhlal 35c0763d37SSuleiman Souhlal d_open_t memopen; 36c0763d37SSuleiman Souhlal d_read_t memrw; 37eecadc70SNathan Whitehorn d_ioctl_t memioctl; 38c0763d37SSuleiman Souhlal d_mmap_t memmmap; 39c0763d37SSuleiman Souhlal 40*2fea6431SJung-uk Kim #endif /* _MACHINE_MEMDEV_H_ */ 41