summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-25 01:27:14 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-10-01 09:03:52 +0200
commita8d611bdbf48906010c6cde67eb6ff720e715cf0 (patch)
treeb84d23fae81f8bd9b9750ca4f9ec88bd7a35f9d5 /doc
parent56dc414b0699d1576fc1deb983a4bd2b0ef10f5d (diff)
include: define MACH_MSG_TYPE_PROTECTED_PAYLOAD
* include/mach/message.h: Define MACH_MSG_TYPE_PROTECTED_PAYLOAD. (MACH_MSG_TYPE_LAST): Adjust accordingly. * doc/mach.texi (Message Format): Document MACH_MSG_TYPE_PROTECTED_PAYLOAD.
Diffstat (limited to 'doc')
-rw-r--r--doc/mach.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/mach.texi b/doc/mach.texi
index 671e0d0..b187888 100644
--- a/doc/mach.texi
+++ b/doc/mach.texi
@@ -1426,6 +1426,7 @@ types are predefined:
@item MACH_MSG_TYPE_STRING
@item MACH_MSG_TYPE_STRING_C
@item MACH_MSG_TYPE_PORT_NAME
+@item MACH_MSG_TYPE_PROTECTED_PAYLOAD
@end table
The following predefined types specify port rights, and receive special
@@ -1444,6 +1445,11 @@ should be used in preference to @code{MACH_MSG_TYPE_INTEGER_32}.
@item MACH_MSG_TYPE_MAKE_SEND_ONCE
@end table
+The type @code{MACH_MSG_TYPE_PROTECTED_PAYLOAD} is used by the kernel
+to indicate that a delivered message carries a payload in the
+@code{msgh_protected_payload} field. See @ref{Message Receive} for
+more information.
+
@item msgt_size : 8
The @code{msgt_size} field specifies the size of each datum, in bits. For
example, the msgt_size of @code{MACH_MSG_TYPE_INTEGER_32} data is 32.