summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon/linux/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'klaptopdaemon/linux/memory.h')
-rw-r--r--klaptopdaemon/linux/memory.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/klaptopdaemon/linux/memory.h b/klaptopdaemon/linux/memory.h
new file mode 100644
index 0000000..d7aa9de
--- /dev/null
+++ b/klaptopdaemon/linux/memory.h
@@ -0,0 +1,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 */