From 07db92f65a7b49f97bc43ed94ff02586b75e21c6 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Thu, 28 Nov 2013 10:31:08 +0100 Subject: proc: add payload-aware intrans functions * proc/mig-decls.h (begin_using_proc_payload): New function. (begin_using_exc_payload): Likewise. * proc/mig-mutate.h: Add mutators. * proc/proc_exc.defs (exception_t): Add payload-aware in-translator function. --- proc/mig-mutate.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'proc/mig-mutate.h') diff --git a/proc/mig-mutate.h b/proc/mig-mutate.h index ce9f88e6..62dc2a59 100644 --- a/proc/mig-mutate.h +++ b/proc/mig-mutate.h @@ -20,6 +20,8 @@ #define PROCESS_INTRAN \ pstruct_t begin_using_proc_port (process_t) +#define PROCESS_INTRAN_PAYLOAD \ + pstruct_t begin_using_proc_payload #define PROCESS_DESTRUCTOR \ end_using_proc (pstruct_t) #define PROCESS_IMPORTS \ @@ -27,6 +29,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 \ -- cgit v1.2.3