[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] MIG tag, v1.8+git20231217, created. v1.8-44-g3b1fcb2
From: |
Samuel Thibault |
Subject: |
[SCM] MIG tag, v1.8+git20231217, created. v1.8-44-g3b1fcb2 |
Date: |
Sat, 9 Nov 2024 14:29:36 -0500 (EST) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MIG".
The tag, v1.8+git20231217 has been created
at 3b1fcb2b83bb26d43dc912884499345f561d0b6a (commit)
- Log -----------------------------------------------------------------
commit 3b1fcb2b83bb26d43dc912884499345f561d0b6a
Author: Flavio Cruz <flaviocruz@gmail.com>
Date: Thu Dec 14 01:02:30 2023 -0500
x86_64: adapt MiG generated stubs to use mach_port_name_inlined_t for
inlined port rights.
For i686, we just change the code to use mach_port_name_inlined_t when
defining the types. This is a no-op.
For x86_64, there's a few things that are different:
- In the server code, the server handler can get inlined ports and the
array will be resized and cast as an array of mach_port_name_t. Output
parameters have a similar treatment where the inlined array in the
output is used as an array of mach_port_name_t but resized to look like
a mach_port_name_inlined_t.
- In the user side, we follow the same approach. Input ports as arrays
of mach_port_name_t are expanded into an array of
mach_port_name_inlined_t.
Output ports are then converted back into an array of
mach_port_name_inlined_t so that they fit into the expected message
format.
Essentially, regardless of whether port rights are inline or out of
line, user interfaces and server stubs always receive an array of port
rights, not mach_port_name_inlined_t. However, inlined port rights will
be exchanged using mach_port_name_inlined_t.
-----------------------------------------------------------------------
hooks/post-receive
--
MIG
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] MIG tag, v1.8+git20231217, created. v1.8-44-g3b1fcb2,
Samuel Thibault <=