aboutsummaryrefslogtreecommitdiffstats
path: root/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mmu.h')
-rw-r--r--xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mmu.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mmu.h b/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mmu.h
new file mode 100644
index 0000000000..b7bc05d808
--- /dev/null
+++ b/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mmu.h
@@ -0,0 +1,23 @@
+#ifndef __i386_MMU_H
+#define __i386_MMU_H
+
+#include <linux/list.h>
+
+/* describes dirrectly mapped vma nodes */
+typedef struct {
+ struct list_head list;
+ unsigned long vm_start;
+ unsigned long vm_end;
+} direct_mmap_node_t;
+
+/*
+ * The i386 doesn't have a mmu context, but
+ * we put the segment information here.
+ */
+typedef struct {
+ void *segments;
+ unsigned long cpuvalid;
+ struct list_head direct_list;
+} mm_context_t;
+
+#endif