summaryrefslogtreecommitdiff
path: root/include/mach/std_types.defs
diff options
context:
space:
mode:
Diffstat (limited to 'include/mach/std_types.defs')
-rw-r--r--include/mach/std_types.defs8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/mach/std_types.defs b/include/mach/std_types.defs
index 00d1a698..a1f156d9 100644
--- a/include/mach/std_types.defs
+++ b/include/mach/std_types.defs
@@ -49,7 +49,13 @@ type pointer_t = ^array[] of MACH_MSG_TYPE_BYTE
ctype: vm_offset_t;
-type mach_port_t = MACH_MSG_TYPE_COPY_SEND;
+type mach_port_t = MACH_MSG_TYPE_COPY_SEND
+#ifndef KERNEL_SERVER
+#ifdef MACH_PAYLOAD_TO_PORT
+ intranpayload: mach_port_t MACH_PAYLOAD_TO_PORT
+#endif /* MACH_PAYLOAD_TO_PORT */
+#endif /* KERNEL_SERVER */
+;
type mach_port_array_t = array[] of mach_port_t;
type mach_port_name_t = MACH_MSG_TYPE_PORT_NAME