summaryrefslogtreecommitdiff
path: root/devnode
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-12-07 15:45:17 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-12-07 15:45:17 +0100
commit09aa594a5be3198de9fc5b60cfb9f689f359af0f (patch)
treed5d4000a6cc6fae053c16d04ca93e968ec6b0770 /devnode
parent86ecb6b0079efaf5f925f068ae9d475497d8a478 (diff)
sync dde stuff
Diffstat (limited to 'devnode')
-rw-r--r--devnode/Makefile1
-rw-r--r--devnode/mig-mutate.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/devnode/Makefile b/devnode/Makefile
index d9a9c23c..9529fa7b 100644
--- a/devnode/Makefile
+++ b/devnode/Makefile
@@ -24,6 +24,7 @@ HURDLIBS = ports trivfs fshelp shouldbeinlibc
target = devnode
MIGSTUBS = deviceServer.o notifyServer.o
MIGSFLAGS = -imacros $(srcdir)/mig-mutate.h
+device-MIGSFLAGS="-DMACH_PAYLOAD_TO_PORT=ports_payload_get_name"
OBJS = $(SRCS:.c=.o) $(MIGSTUBS)
include ../Makeconf
diff --git a/devnode/mig-mutate.h b/devnode/mig-mutate.h
index f692236e..0656014f 100644
--- a/devnode/mig-mutate.h
+++ b/devnode/mig-mutate.h
@@ -19,6 +19,8 @@
#define NOTIFY_INTRAN \
port_info_t begin_using_port_info_port (mach_port_t)
+#define NOTIFY_INTRAN_PAYLOAD \
+ port_info_t begin_using_port_info_payload
#define NOTIFY_DESTRUCTOR \
end_using_port_info (port_info_t)
#define NOTIFY_IMPORTS \