aboutsummaryrefslogtreecommitdiff
path: root/ipc/ipc_kmsg.h
diff options
context:
space:
mode:
authorLuca Dariz <luca@orpolo.org>2023-01-16 11:58:51 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-01-18 02:11:34 +0100
commitcc05ed085b731232a2436efcaf03aa1e92ad20be (patch)
tree1bfaf6bc8d7db296eeac477206dcb2c186c25e49 /ipc/ipc_kmsg.h
parentc17cb87cc97f817f9705ef932fe2da6d23a1d01a (diff)
downloadgnumach-cc05ed085b731232a2436efcaf03aa1e92ad20be.tar.gz
gnumach-cc05ed085b731232a2436efcaf03aa1e92ad20be.tar.bz2
gnumach-cc05ed085b731232a2436efcaf03aa1e92ad20be.zip
add msg_user_header_t for user-side msg structure
* include/mach/message.h: use mach_msg_user_header_t only in KERNEL, and define it as mach_msh_header_t for user space * ipc/ipc_kmsg.c: use mach_msg_user_header_t where appropriate * ipc/ipc_kmsg.h: Likewise * ipc/mach_msg.c: Likewise * ipc/mach_msg.h: Likewise * kern/thread.h: Likewise Message-Id: <20230116105857.240210-2-luca@orpolo.org>
Diffstat (limited to 'ipc/ipc_kmsg.h')
-rw-r--r--ipc/ipc_kmsg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/ipc_kmsg.h b/ipc/ipc_kmsg.h
index ffda9b5e..16df31f5 100644
--- a/ipc/ipc_kmsg.h
+++ b/ipc/ipc_kmsg.h
@@ -242,13 +242,13 @@ extern void
ipc_kmsg_free(ipc_kmsg_t);
extern mach_msg_return_t
-ipc_kmsg_get(mach_msg_header_t *, mach_msg_size_t, ipc_kmsg_t *);
+ipc_kmsg_get(mach_msg_user_header_t *, mach_msg_size_t, ipc_kmsg_t *);
extern mach_msg_return_t
ipc_kmsg_get_from_kernel(mach_msg_header_t *, mach_msg_size_t, ipc_kmsg_t *);
extern mach_msg_return_t
-ipc_kmsg_put(mach_msg_header_t *, ipc_kmsg_t, mach_msg_size_t);
+ipc_kmsg_put(mach_msg_user_header_t *, ipc_kmsg_t, mach_msg_size_t);
extern void
ipc_kmsg_put_to_kernel(mach_msg_header_t *, ipc_kmsg_t, mach_msg_size_t);