1292407Sbr/*- 2292407Sbr * Copyright (c) 2004 Mark R V Murray 3292407Sbr * All rights reserved. 4292407Sbr * 5292407Sbr * Redistribution and use in source and binary forms, with or without 6292407Sbr * modification, are permitted provided that the following conditions 7292407Sbr * are met: 8292407Sbr * 1. Redistributions of source code must retain the above copyright 9292407Sbr * notice, this list of conditions and the following disclaimer 10292407Sbr * in this position and unchanged. 11292407Sbr * 2. Redistributions in binary form must reproduce the above copyright 12292407Sbr * notice, this list of conditions and the following disclaimer in the 13292407Sbr * documentation and/or other materials provided with the distribution. 14292407Sbr * 15292407Sbr * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR 16292407Sbr * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17292407Sbr * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18292407Sbr * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19292407Sbr * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20292407Sbr * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21292407Sbr * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22292407Sbr * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23292407Sbr * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24292407Sbr * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25292407Sbr * 26292407Sbr * $FreeBSD$ 27292407Sbr */ 28292407Sbr 29292407Sbr#ifndef _MACHINE_MEMDEV_H_ 30292407Sbr#define _MACHINE_MEMDEV_H_ 31292407Sbr 32292407Sbr#define CDEV_MINOR_MEM 0 33292407Sbr#define CDEV_MINOR_KMEM 1 34292407Sbr 35292407Sbrd_open_t memopen; 36292407Sbrd_read_t memrw; 37292407Sbr#define memioctl (d_ioctl_t *)NULL 38292407Sbr#define memmmap (d_mmap_t *)NULL 39292407Sbr 40292407Sbr#endif /* _MACHINE_MEMDEV_H_ */ 41