summaryrefslogtreecommitdiff
path: root/debian/patches/15_mem_obj_proxy.patch
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2007-02-11 13:56:46 +0000
committerGuillem Jover <guillem@debian.org>2007-02-11 13:56:46 +0000
commit91ef6c53f83bc4ac0ffc6bd572ca2b7c58ca4a29 (patch)
tree03755f16442c72e73718b86f75142c23d2472747 /debian/patches/15_mem_obj_proxy.patch
parent5f21d2a236d1938ad1a8a0c189bbf461e7b68540 (diff)
New upstream CVS snapshot.
- debian/patches/22_scsi_inf_loop.patch: Removed, merged upstream. - debian/patches/47_pcmcia_isa.patch: Likewise. - debian/patches/10_cdromlock.patch: Sync. - debian/patches/12_sis900.patch: Likewise. - debian/patches/15_mem_obj_proxy.patch: Likewise. - debian/patches/90_autoconf_autogen.patch: Regenerated.
Diffstat (limited to 'debian/patches/15_mem_obj_proxy.patch')
-rw-r--r--debian/patches/15_mem_obj_proxy.patch36
1 files changed, 18 insertions, 18 deletions
diff --git a/debian/patches/15_mem_obj_proxy.patch b/debian/patches/15_mem_obj_proxy.patch
index 3ecc563..ac8a161 100644
--- a/debian/patches/15_mem_obj_proxy.patch
+++ b/debian/patches/15_mem_obj_proxy.patch
@@ -18,7 +18,7 @@
Index: i386/include/mach/i386/vm_types.h
===================================================================
--- i386/include/mach/i386/vm_types.h.orig 2006-10-15 20:39:24.000000000 +0300
-+++ i386/include/mach/i386/vm_types.h 2006-11-14 04:15:32.000000000 +0200
++++ i386/include/mach/i386/vm_types.h 2007-02-11 15:08:26.000000000 +0200
@@ -74,6 +74,7 @@ typedef unsigned int uint32;
* e.g. an offset into a virtual memory space.
*/
@@ -30,7 +30,7 @@ Index: i386/include/mach/i386/vm_types.h
Index: include/mach/mach4.defs
===================================================================
--- include/mach/mach4.defs.orig 1997-02-25 23:26:51.000000000 +0200
-+++ include/mach/mach4.defs 2006-11-14 04:15:32.000000000 +0200
++++ include/mach/mach4.defs 2007-02-11 15:08:26.000000000 +0200
@@ -79,4 +79,34 @@ skip /* pc_sampling reserved 1*/;
skip /* pc_sampling reserved 2*/;
skip /* pc_sampling reserved 3*/;
@@ -69,7 +69,7 @@ Index: include/mach/mach4.defs
Index: include/mach/memory_object.h
===================================================================
--- include/mach/memory_object.h.orig 1997-02-25 23:26:52.000000000 +0200
-+++ include/mach/memory_object.h 2006-11-14 04:15:32.000000000 +0200
++++ include/mach/memory_object.h 2007-02-11 15:08:26.000000000 +0200
@@ -46,6 +46,9 @@ typedef mach_port_t memory_object_t;
/* the object to map; used by the */
/* kernel to retrieve or store data */
@@ -83,7 +83,7 @@ Index: include/mach/memory_object.h
Index: kern/ipc_kobject.c
===================================================================
--- kern/ipc_kobject.c.orig 2006-11-14 03:58:57.000000000 +0200
-+++ kern/ipc_kobject.c 2006-11-14 04:15:32.000000000 +0200
++++ kern/ipc_kobject.c 2007-02-11 15:08:26.000000000 +0200
@@ -353,6 +353,9 @@ ipc_kobject_notify(request_header, reply
case IKOT_DEVICE:
return ds_notify(request_header);
@@ -97,7 +97,7 @@ Index: kern/ipc_kobject.c
Index: kern/ipc_kobject.h
===================================================================
--- kern/ipc_kobject.h.orig 1997-02-25 23:28:22.000000000 +0200
-+++ kern/ipc_kobject.h 2006-11-14 04:15:32.000000000 +0200
++++ kern/ipc_kobject.h 2007-02-11 15:08:26.000000000 +0200
@@ -77,9 +77,10 @@ typedef unsigned int ipc_kobject_type_t;
#define IKOT_LOCK_SET 24
#define IKOT_CLOCK 25
@@ -114,7 +114,7 @@ Index: kern/ipc_kobject.h
Index: vm/memory_object_proxy.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ vm/memory_object_proxy.c 2006-11-14 04:15:32.000000000 +0200
++++ vm/memory_object_proxy.c 2007-02-11 15:08:26.000000000 +0200
@@ -0,0 +1,200 @@
+/* memory_object_proxy.c - Proxy memory objects for Mach.
+ Copyright (C) 2005 Free Software Foundation, Inc.
@@ -180,7 +180,7 @@ Index: vm/memory_object_proxy.c
+memory_object_proxy_init (void)
+{
+ /* For limit, see PORT_MAX. */
-+ memory_object_proxy_zone = zinit (sizeof (struct memory_object_proxy),
++ memory_object_proxy_zone = zinit (sizeof (struct memory_object_proxy), 0,
+ (TASK_MAX * 3 + THREAD_MAX)
+ * sizeof (struct memory_object_proxy),
+ 256 * sizeof (struct memory_object_proxy),
@@ -319,7 +319,7 @@ Index: vm/memory_object_proxy.c
Index: vm/vm_init.c
===================================================================
--- vm/vm_init.c.orig 1997-02-25 23:28:36.000000000 +0200
-+++ vm/vm_init.c 2006-11-14 04:15:32.000000000 +0200
++++ vm/vm_init.c 2007-02-11 15:08:26.000000000 +0200
@@ -81,4 +81,5 @@ void vm_mem_bootstrap()
void vm_mem_init()
{
@@ -329,7 +329,7 @@ Index: vm/vm_init.c
Index: vm/vm_user.c
===================================================================
--- vm/vm_user.c.orig 1997-02-25 23:28:37.000000000 +0200
-+++ vm/vm_user.c 2006-11-14 04:15:32.000000000 +0200
++++ vm/vm_user.c 2007-02-11 15:08:26.000000000 +0200
@@ -275,6 +275,12 @@ kern_return_t vm_copy(map, source_addres
return KERN_SUCCESS;
}
@@ -369,13 +369,13 @@ Index: vm/vm_user.c
* Perform the copy if requested
Index: Makefrag.am
===================================================================
---- Makefrag.am.orig 2006-11-14 03:58:55.000000000 +0200
-+++ Makefrag.am 2006-11-14 04:15:32.000000000 +0200
-@@ -123,6 +123,7 @@ libkernel_a_SOURCES += \
- vm/vm_pageout.c \
- vm/vm_resident.c \
- vm/vm_user.c \
-+ vm/memory_object_proxy.c \
- vm/memory_object.c
+--- Makefrag.am.orig 2007-02-11 14:51:10.000000000 +0200
++++ Makefrag.am 2007-02-11 15:10:59.000000000 +0200
+@@ -214,6 +214,7 @@ libkernel_a_SOURCES += \
+ #
- # These device support files are always needed; the others are needed only if
+ libkernel_a_SOURCES += \
++ vm/memory_object_proxy.c \
+ vm/memory_object.c \
+ vm/memory_object.h \
+ vm/pmap.h \