summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-12-03 02:05:44 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-12-03 02:05:44 +0100
commit3af20238bf9b834b213f5aa9d0278fe13bd69b3c (patch)
tree13665bcfa28100308ce2e3e58778bec104abfa39 /include
parentab250d41152edc262ef3783224e51ba8125ebd52 (diff)
Revert "x86_64: Support 8 byte inlined port rights to avoid message resizing."
This reverts commit 29d4bcaafc4c2040df27a6247603c68e7757205c.
Diffstat (limited to 'include')
-rw-r--r--include/mach/message.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/mach/message.h b/include/mach/message.h
index 0b8b34d4..906ae797 100644
--- a/include/mach/message.h
+++ b/include/mach/message.h
@@ -221,24 +221,6 @@ typedef unsigned int mach_msg_type_name_t;
typedef unsigned int mach_msg_type_size_t;
typedef natural_t mach_msg_type_number_t;
-/**
- * Structure used for inlined port rights in messages.
- *
- * We use this to avoid having to perform message resizing in the kernel
- * since userspace port rights might be smaller than kernel ports in 64 bit
- * architectures.
- */
-typedef struct {
- union {
- mach_port_name_t name;
-#ifdef KERNEL
- mach_port_t kernel_port;
-#else
- uintptr_t kernel_port_do_not_use;
-#endif /* KERNEL */
- };
-} mach_port_name_inlined_t;
-
typedef struct {
#ifdef __x86_64__
/*