commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 01/09: devnode: add a payload-aware intrans function


From: Samuel Thibault
Subject: [hurd] 01/09: devnode: add a payload-aware intrans function
Date: Mon, 09 Feb 2015 09:59:05 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to annotated tag upstream/dde/0.5.git20150208
in repository hurd.

commit 406ae6a6bfb896e38ab154aee253fac97ae1a11b
Author: Justus Winter <address@hidden>
Date:   Sun Jun 8 19:05:43 2014 +0200

    devnode: add a payload-aware intrans function
    
    * devnode/mig-mutate.h: Add mutator.
    * devnode/Makefile (device-MIGSFLAGS): Define MACH_PAYLOAD_TO_PORT.
---
 devnode/Makefile     | 1 +
 devnode/mig-mutate.h | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/devnode/Makefile b/devnode/Makefile
index d9a9c23..9529fa7 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 f692236..0656014 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                                         \

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]