summaryrefslogtreecommitdiff
path: root/exec/mig-decls.h
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-28 11:08:39 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-12-07 15:38:18 +0100
commitb6079b096eef4b7b347c85184592584c7ec4a022 (patch)
tree2221614b299089a9b8b4de7396755e16619e256d /exec/mig-decls.h
parentb11b002e1f08ad44273e9b139fab195e56bf6b6b (diff)
exec: add payload-aware intrans functions
* exec/execmutations.h: Add mutators. * exec/mig-decls.h (begin_using_bootinfo_payload): New function.
Diffstat (limited to 'exec/mig-decls.h')
-rw-r--r--exec/mig-decls.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/exec/mig-decls.h b/exec/mig-decls.h
index 0437414f..cf3e17da 100644
--- a/exec/mig-decls.h
+++ b/exec/mig-decls.h
@@ -30,6 +30,12 @@ begin_using_bootinfo_port (mach_port_t port)
return ports_lookup_port (port_bucket, port, execboot_portclass);
}
+static inline struct bootinfo * __attribute__ ((unused))
+begin_using_bootinfo_payload (unsigned long payload)
+{
+ return ports_lookup_payload (port_bucket, payload, execboot_portclass);
+}
+
static inline void __attribute__ ((unused))
end_using_bootinfo (struct bootinfo *b)
{