diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-06-13 00:01:25 -0400 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-09-25 10:58:14 +0200 |
commit | 25ece371fb21dfd874187f623593064c476d9ca2 (patch) | |
tree | 8cd1b4932b994a42884cbed7ac671acba994a6fa /kern/task.c | |
parent | b3921098e2807d6225d277986bc8063b6a271e88 (diff) | |
download | gnumach-25ece371fb21dfd874187f623593064c476d9ca2.tar.gz gnumach-25ece371fb21dfd874187f623593064c476d9ca2.tar.bz2 gnumach-25ece371fb21dfd874187f623593064c476d9ca2.zip |
Update the 64bit RPC ABI to be simpler
* Make full use of the 8 bytes available in mach_msg_type_t by moving
into the unused 4 bytes. This allows us to use 32bits for
mach_msg_type_number_t whether we use the longform or not.
* Make mach_msg_type_long_t exactly the same as mach_msg_type_t.
Updating MiG is strongly encouraged since it will generate better code
to handle this new format.
After this change, any compatibility with compiled binaries for Hurd x86_64
will break since the message format is different. However, the new
schema simplifies the overall ABI, without having "holes" and also
avoids the need to have a 16 byte mach_msg_type_long_t.
Was able to boot a basic system up to a bash shell.
Message-Id: <ZIfqFe5bPNPeH4xg@jupiter.lan>
Diffstat (limited to 'kern/task.c')
0 files changed, 0 insertions, 0 deletions