|
|
|
|
|
|
|
|
|
|
xen-merge
[Xen-merge] [PATCH 10/23] mmu subarch headers
--- linux-2.6.12-xen0-arch.orig/include/asm-i386/mmu.h
+++ linux-2.6.12-xen0-arch/include/asm-i386/mmu.h
@@ -1,17 +1,6 @@
#ifndef __i386_MMU_H
#define __i386_MMU_H
-#include <asm/semaphore.h>
-/*
- * The i386 doesn't have a mmu context, but
- * we put the segment information here.
- *
- * cpu_vm_mask is used to optimize ldt flushing.
- */
-typedef struct {
- int size;
- struct semaphore sem;
- void *ldt;
-} mm_context_t;
+#include <mach_mmu.h>
#endif
--- /dev/null
+++ linux-2.6.12-xen0-arch/include/asm-i386/mach-default/mach_mmu.h
@@ -0,0 +1,17 @@
+#ifndef __ASM_MACH_MMU_H
+#define __ASM_MACH_MMU_H
+
+#include <asm/semaphore.h>
+/*
+ * The i386 doesn't have a mmu context, but
+ * we put the segment information here.
+ *
+ * cpu_vm_mask is used to optimize ldt flushing.
+ */
+typedef struct {
+ int size;
+ struct semaphore sem;
+ void *ldt;
+} mm_context_t;
+
+#endif
--- linux-2.6.12-xen0/include/asm-i386/mach-xen/mach_mmu.h 1969-12-31
16:00:00.000000000 -0800
+++ linux-2.6.12-xen0-arch/include/asm-i386/mach-xen/mach_mmu.h 2005-08-01
23:01:51.000000000 -0700
@@ -0,0 +1,26 @@
+#ifndef __ASM_MACH_MMU_H
+#define __ASM_MACH_MMU_H
+
+#include <asm/semaphore.h>
+/*
+ * The i386 doesn't have a mmu context, but
+ * we put the segment information here.
+ *
+ * cpu_vm_mask is used to optimize ldt flushing.
+ */
+typedef struct {
+ int size;
+ struct semaphore sem;
+ void *ldt;
+ unsigned pinned:1;
+ struct list_head unpinned;
+} mm_context_t;
+
+extern struct list_head mm_unpinned;
+extern spinlock_t mm_unpinned_lock;
+
+/* mm/memory.c:exit_mmap hook */
+extern void _arch_exit_mmap(struct mm_struct *mm);
+#define arch_exit_mmap(_mm) _arch_exit_mmap(_mm)
+
+#endif
--
_______________________________________________
Xen-merge mailing list
Xen-merge@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-merge
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-merge] [PATCH 20/23] vga subarch headers, (continued)
- [Xen-merge] [PATCH 20/23] vga subarch headers, Chris Wright
- [Xen-merge] [PATCH 16/23] setup subarch headers, Chris Wright
- [Xen-merge] [PATCH 15/23] segment subarch headers, Chris Wright
- [Xen-merge] [PATCH 04/23] dma-mapping subarch headers, Chris Wright
- [Xen-merge] [PATCH 22/23] add asm-i386/synch_bitops, Chris Wright
- [Xen-merge] [PATCH 17/23] spinlock subarch headers, Chris Wright
- [Xen-merge] [PATCH 07/23] highmem subarch headers, Chris Wright
- [Xen-merge] [PATCH 14/23] processor subarch headers, Chris Wright
- [Xen-merge] [PATCH 23/23] Xen subarch (largely copied files still), Chris Wright
- [Xen-merge] [PATCH 11/23] page subarch headers, Chris Wright
- [Xen-merge] [PATCH 10/23] mmu subarch headers,
Chris Wright <=
- [Xen-merge] [PATCH 09/23] mmu_context subarch headers, Chris Wright
- [Xen-merge] [PATCH 03/23] descriptor table subarch headers, Chris Wright
- [Xen-merge] [PATCH 05/23] fixmap subarch headers, Chris Wright
- [Xen-merge] [PATCH 02/23] bug subarch headers, Chris Wright
- [Xen-merge] [PATCH 01/23] agp subarch headers, Chris Wright
- [Xen-merge] [PATCH 12/23] pgalloc subarch headers, Chris Wright
- [Xen-merge] [PATCH 13/23] pgtable subarch headers, Chris Wright
- [Xen-merge] [PATCH 19/23] tlbflush subarch headers, Chris Wright
- [Xen-merge] [PATCH 06/23] floppy subarch headers, Chris Wright
- [Xen-merge] [PATCH 08/23] io subarch headers, Chris Wright
|
|
|
|
|