]> Zhao Yanbai Git Server - minix.git/commitdiff
(no commit message)
authorBen Gras <ben@minix3.org>
Mon, 8 Jun 2009 06:35:18 +0000 (06:35 +0000)
committerBen Gras <ben@minix3.org>
Mon, 8 Jun 2009 06:35:18 +0000 (06:35 +0000)
servers/vm/pagerange.h [new file with mode: 0644]

diff --git a/servers/vm/pagerange.h b/servers/vm/pagerange.h
new file mode 100644 (file)
index 0000000..edf84e9
--- /dev/null
@@ -0,0 +1,24 @@
+
+
+#include <minix/callnr.h>
+#include <minix/com.h>
+#include <minix/config.h>
+#include <minix/const.h>
+#include <minix/ds.h>
+#include <minix/endpoint.h>
+#include <minix/keymap.h>
+#include <minix/minlib.h>
+#include <minix/type.h>
+#include <minix/ipc.h>
+#include <minix/sysutil.h>
+#include <minix/syslib.h>
+#include <minix/const.h>
+
+typedef struct pagerange {
+       phys_bytes      addr;   /* in pages */
+       phys_bytes      size;   /* in pages */
+
+       /* AVL fields */
+       struct pagerange *less, *greater;       /* children */
+       int             factor; /* AVL balance factor */
+} pagerange_t;