summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon/linux/memory.h
blob: d7aa9de6f025e0a0f01fbb0aee235ee6dd907fd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * memory.h 1.3 1998/05/10 12:10:34
 *
 * The contents of this file are subject to the Mozilla Public License
 * Version 1.0 (the "License"); you may not use this file except in
 * compliance with the License. You may obtain a copy of the License
 * at http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 * the License for the specific language governing rights and
 * limitations under the License. 
 *
 * The initial developer of the original code is David A. Hinds
 * <dhinds@hyper.stanford.edu>.  Portions created by David A. Hinds
 * are Copyright (C) 1998 David A. Hinds.  All Rights Reserved.
 */

#ifndef _LINUX_MEMORY_H
#define _LINUX_MEMORY_H

typedef struct erase_info_t {
    u_long	Offset;
    u_long	Size;
} erase_info_t;

#define MEMGETINFO		_IOR('M', 1, region_info_t)
#define MEMERASE		_IOW('M', 2, erase_info_t)

#endif /* _LINUX_MEMORY_H */