summaryrefslogtreecommitdiff
path: root/exec/mig-decls.h
diff options
context:
space:
mode:
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)
{