197403Sobrien/*- 297403Sobrien * Copyright (c) 2004 Mark R V Murray 3132720Skan * All rights reserved. 497403Sobrien * 597403Sobrien * Redistribution and use in source and binary forms, with or without 697403Sobrien * modification, are permitted provided that the following conditions 797403Sobrien * are met: 897403Sobrien * 1. Redistributions of source code must retain the above copyright 997403Sobrien * notice, this list of conditions and the following disclaimer 1097403Sobrien * in this position and unchanged. 1197403Sobrien * 2. Redistributions in binary form must reproduce the above copyright 1297403Sobrien * notice, this list of conditions and the following disclaimer in the 1397403Sobrien * documentation and/or other materials provided with the distribution. 1497403Sobrien * 1597403Sobrien * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR 1697403Sobrien * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1797403Sobrien * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1897403Sobrien * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 1997403Sobrien * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 2097403Sobrien * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2197403Sobrien * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2297403Sobrien * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2397403Sobrien * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 2497403Sobrien * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2597403Sobrien * 2697403Sobrien * $FreeBSD: releng/11.0/sys/sparc64/include/memdev.h 217515 2011-01-17 22:58:28Z jkim $ 2797403Sobrien */ 2897403Sobrien 2997403Sobrien#ifndef _MACHINE_MEMDEV_H_ 3097403Sobrien#define _MACHINE_MEMDEV_H_ 3197403Sobrien 3297403Sobrien#define CDEV_MINOR_MEM 0 3397403Sobrien#define CDEV_MINOR_KMEM 1 34132720Skan 35132720Skand_open_t memopen; 3697403Sobriend_read_t memrw; 3797403Sobrien#define memioctl (d_ioctl_t *)NULL 3897403Sobrien#define memmmap (d_mmap_t *)NULL 3997403Sobrien 4097403Sobrien#endif /* _MACHINE_MEMDEV_H_ */ 4197403Sobrien