1133855Sssouhlal/*-
2133855Sssouhlal * Copyright (c) 2004 Mark R V Murray
3133855Sssouhlal * All rights reserved.
4133855Sssouhlal *
5133855Sssouhlal * Redistribution and use in source and binary forms, with or without
6133855Sssouhlal * modification, are permitted provided that the following conditions
7133855Sssouhlal * are met:
8133855Sssouhlal * 1. Redistributions of source code must retain the above copyright
9133855Sssouhlal *    notice, this list of conditions and the following disclaimer
10133855Sssouhlal *    in this position and unchanged.
11133855Sssouhlal * 2. Redistributions in binary form must reproduce the above copyright
12133855Sssouhlal *    notice, this list of conditions and the following disclaimer in the
13133855Sssouhlal *    documentation and/or other materials provided with the distribution.
14133855Sssouhlal *
15133855Sssouhlal * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
16133855Sssouhlal * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17133855Sssouhlal * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18133855Sssouhlal * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19133855Sssouhlal * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20133855Sssouhlal * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21133855Sssouhlal * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22133855Sssouhlal * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23133855Sssouhlal * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24133855Sssouhlal * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25133855Sssouhlal *
26133855Sssouhlal * $FreeBSD: releng/10.3/sys/powerpc/include/memdev.h 217515 2011-01-17 22:58:28Z jkim $
27133855Sssouhlal */
28133855Sssouhlal
29217515Sjkim#ifndef _MACHINE_MEMDEV_H_
30217515Sjkim#define	_MACHINE_MEMDEV_H_
31217515Sjkim
32133855Sssouhlal#define	CDEV_MINOR_MEM	0
33133855Sssouhlal#define	CDEV_MINOR_KMEM	1
34133855Sssouhlal
35133855Sssouhlald_open_t	memopen;
36133855Sssouhlald_read_t	memrw;
37213383Snwhitehornd_ioctl_t	memioctl;
38133855Sssouhlald_mmap_t	memmmap;
39133855Sssouhlal
40217515Sjkim#endif /* _MACHINE_MEMDEV_H_ */
41