189837Skris/*- 289837Skris * Copyright (c) 2004 Mark R V Murray 3142425Snectar * All rights reserved. 489837Skris * 589837Skris * Redistribution and use in source and binary forms, with or without 689837Skris * modification, are permitted provided that the following conditions 789837Skris * are met: 889837Skris * 1. Redistributions of source code must retain the above copyright 989837Skris * notice, this list of conditions and the following disclaimer 1089837Skris * in this position and unchanged. 1189837Skris * 2. Redistributions in binary form must reproduce the above copyright 1289837Skris * notice, this list of conditions and the following disclaimer in the 1389837Skris * documentation and/or other materials provided with the distribution. 1489837Skris * 1589837Skris * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR 16111147Snectar * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17111147Snectar * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18111147Snectar * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19111147Snectar * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20111147Snectar * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21111147Snectar * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22111147Snectar * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23111147Snectar * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24111147Snectar * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25111147Snectar * 26111147Snectar * $FreeBSD$ 27111147Snectar */ 28111147Snectar 29111147Snectar#ifndef _MACHINE_MEMDEV_H_ 30111147Snectar#define _MACHINE_MEMDEV_H_ 31111147Snectar 32111147Snectar#define CDEV_MINOR_MEM 0 33111147Snectar#define CDEV_MINOR_KMEM 1 34111147Snectar 35111147Snectard_open_t memopen; 36111147Snectard_read_t memrw; 37111147Snectar#define memioctl (d_ioctl_t *)NULL 38142425Snectar#define memmmap (d_mmap_t *)NULL 39111147Snectar 40111147Snectar#endif /* _MACHINE_MEMDEV_H_ */ 41111147Snectar