summaryrefslogtreecommitdiff
path: root/debian/patches/70_dde.patch
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-09-06 16:55:37 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-09-06 16:55:37 +0200
commitff88faeaa871a74e4b73cd6f231b6324124fd605 (patch)
tree98e4256617d9e87838833615cd1281608638f906 /debian/patches/70_dde.patch
parent6b62dac29e087e1f1dc158e8328acb9fcc7111c3 (diff)
sync upstream packaging
Diffstat (limited to 'debian/patches/70_dde.patch')
-rw-r--r--debian/patches/70_dde.patch61
1 files changed, 34 insertions, 27 deletions
diff --git a/debian/patches/70_dde.patch b/debian/patches/70_dde.patch
index d7c477c..8d6a7fe 100644
--- a/debian/patches/70_dde.patch
+++ b/debian/patches/70_dde.patch
@@ -1,14 +1,14 @@
--- a/Makefrag.am
+++ b/Makefrag.am
-@@ -218,6 +218,7 @@ EXTRA_DIST += \
+@@ -220,6 +220,7 @@ EXTRA_DIST += \
kern/mach.srv \
kern/mach4.srv \
kern/gnumach.srv \
+ kern/experimental.srv \
kern/mach_debug.srv \
- kern/mach_host.srv
-
-@@ -300,6 +301,7 @@ libkernel_a_SOURCES += \
+ kern/mach_host.srv \
+ kern/task_notify.cli
+@@ -303,6 +304,7 @@ libkernel_a_SOURCES += \
device/device_types_kernel.h \
device/ds_routines.c \
device/ds_routines.h \
@@ -16,7 +16,15 @@
device/if_ether.h \
device/if_hdr.h \
device/io_req.h \
-@@ -371,6 +373,7 @@ include_mach_HEADERS = \
+@@ -353,6 +355,7 @@ include_device_HEADERS = \
+ include/device/device_types.defs \
+ include/device/device_types.h \
+ include/device/disk_status.h \
++ include/device/intr.h \
+ include/device/net_status.h \
+ include/device/tape_status.h \
+ include/device/tty_status.h
+@@ -375,6 +378,7 @@ include_mach_HEADERS = \
include/mach/memory_object_default.defs \
include/mach/notify.defs \
include/mach/std_types.defs \
@@ -24,7 +32,7 @@
include/mach/alert.h \
include/mach/boolean.h \
include/mach/boot.h \
-@@ -503,6 +506,7 @@ nodist_lib_dep_tr_for_defs_a_SOURCES +=
+@@ -523,6 +527,7 @@ nodist_lib_dep_tr_for_defs_a_SOURCES +=
kern/mach.server.defs.c \
kern/mach4.server.defs.c \
kern/gnumach.server.defs.c \
@@ -32,7 +40,7 @@
kern/mach_debug.server.defs.c \
kern/mach_host.server.defs.c
nodist_libkernel_a_SOURCES += \
-@@ -515,6 +519,9 @@ nodist_libkernel_a_SOURCES += \
+@@ -535,6 +540,9 @@ nodist_libkernel_a_SOURCES += \
kern/gnumach.server.h \
kern/gnumach.server.c \
kern/gnumach.server.msgids \
@@ -42,7 +50,7 @@
kern/mach_debug.server.h \
kern/mach_debug.server.c \
kern/mach_debug.server.msgids \
-@@ -524,6 +531,7 @@ nodist_libkernel_a_SOURCES += \
+@@ -544,6 +552,7 @@ nodist_libkernel_a_SOURCES += \
# kern/mach.server.defs
# kern/mach4.server.defs
# kern/gnumach.server.defs
@@ -96,7 +104,7 @@
boolean_t
ds_notify (mach_msg_header_t *msg)
{
-@@ -1806,6 +1843,24 @@ device_writev_trap (mach_device_t device
+@@ -1798,6 +1835,24 @@ device_writev_trap (mach_device_t device
return (result);
}
@@ -463,16 +471,15 @@
+#endif
--- a/kern/startup.c
+++ b/kern/startup.c
-@@ -76,6 +76,8 @@ boolean_t reboot_on_panic = TRUE;
- #include <kern/machine.h>
- #endif /* NCPUS > 1 */
-
-+extern void intr_thread();
-+
+@@ -79,6 +79,7 @@ boolean_t reboot_on_panic = TRUE;
/* XX */
extern vm_offset_t phys_first_addr, phys_last_addr;
extern char *kernel_cmdline;
-@@ -221,6 +223,9 @@ void start_kernel_threads(void)
++extern void intr_thread();
+
+ /*
+ * Running in virtual memory, on the interrupt stack.
+@@ -221,6 +222,9 @@ void start_kernel_threads(void)
(void) kernel_thread(kernel_task, reaper_thread, (char *) 0);
(void) kernel_thread(kernel_task, swapin_thread, (char *) 0);
(void) kernel_thread(kernel_task, sched_thread, (char *) 0);
@@ -609,7 +616,7 @@
if (retval)
--- a/vm/vm_user.c
+++ b/vm/vm_user.c
-@@ -436,3 +436,117 @@ kern_return_t vm_wire(host, map, start,
+@@ -452,3 +452,117 @@ kern_return_t vm_wire(port, map, start,
round_page(start+size),
access);
}
@@ -729,7 +736,7 @@
+}
--- a/linux/dev/drivers/block/genhd.c
+++ b/linux/dev/drivers/block/genhd.c
-@@ -786,7 +786,9 @@ void device_setup(void)
+@@ -812,7 +812,9 @@ void device_setup(void)
#ifdef MACH
linux_intr_pri = SPL6;
#endif
@@ -742,15 +749,15 @@
console_map_init();
--- a/kern/ipc_kobject.c
+++ b/kern/ipc_kobject.c
-@@ -56,6 +56,7 @@
- #include <device/device_pager.server.h>
- #include <kern/mach4.server.h>
- #include <kern/gnumach.server.h>
-+#include <kern/experimental.server.h>
-
- #if MACH_DEBUG
- #include <kern/mach_debug.server.h>
-@@ -173,6 +174,7 @@ ipc_kobject_server(request)
+@@ -159,6 +159,7 @@ ipc_kobject_server(request)
+ * to perform the kernel function
+ */
+ {
++ extern mig_routine_t experimental_server_routine();
+ check_simple_locks();
+ if ((routine = mach_server_routine(&request->ikm_header)) != 0
+ || (routine = mach_port_server_routine(&request->ikm_header)) != 0
+@@ -170,6 +171,7 @@ ipc_kobject_server(request)
#endif /* MACH_DEBUG */
|| (routine = mach4_server_routine(&request->ikm_header)) != 0
|| (routine = gnumach_server_routine(&request->ikm_header)) != 0