Justus Winter, le Thu 27 Nov 2014 14:20:08 +0100, a écrit :
> * devnode/mig-mutate.h: Add mutator.
> * devnode/Makefile (device-MIGSFLAGS): Define MACH_PAYLOAD_TO_PORT.

Ack.

> ---
>  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                                               \
> -- 
> 2.1.3
> 

-- 
Samuel
<B> l'alim je sais où elle est, elle est juste à côté de la dame qui dort
<g> B: clairement faut revoir les priorités dans la vie
<g> B: une dame ça se retrouve, un uptime...

Reply via email to