xref: /haiku/headers/os/drivers/pcmcia/memory.h (revision d3d8b26997fac34a84981e6d2b649521de2cc45a)
1 /*
2  * memory.h 1.8 2001/08/24 12:16:13
3  *
4  * The contents of this file are subject to the Mozilla Public License
5  * Version 1.1 (the "License"); you may not use this file except in
6  * compliance with the License. You may obtain a copy of the License
7  * at http://www.mozilla.org/MPL/
8  *
9  * Software distributed under the License is distributed on an "AS IS"
10  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11  * the License for the specific language governing rights and
12  * limitations under the License.
13  *
14  * The initial developer of the original code is David A. Hinds
15  * <dahinds@users.sourceforge.net>.  Portions created by David A. Hinds
16  * are Copyright (C) 1999 David A. Hinds.  All Rights Reserved.
17  *
18  * Alternatively, the contents of this file may be used under the
19  * terms of the GNU General Public License version 2 (the "GPL"), in
20  * which case the provisions of the GPL are applicable instead of the
21  * above.  If you wish to allow the use of your version of this file
22  * only under the terms of the GPL and not to allow others to use
23  * your version of this file under the MPL, indicate your decision by
24  * deleting the provisions above and replace them with the notice and
25  * other provisions required by the GPL.  If you do not delete the
26  * provisions above, a recipient may use your version of this file
27  * under either the MPL or the GPL.
28  */
29 
30 #ifndef _LINUX_MEMORY_H
31 #define _LINUX_MEMORY_H
32 
33 typedef struct erase_info_t {
34     u_long	Offset;
35     u_long	Size;
36 } erase_info_t;
37 
38 #define MEMGETINFO		_IOR('M', 1, region_info_t)
39 #define MEMERASE		_IOW('M', 2, erase_info_t)
40 
41 #endif /* _LINUX_MEMORY_H */
42