Re: [PATCH gnumach] Update the 64bit RPC ABI to be simpler (v2)

2023-09-25 Thread Samuel Thibault
Applied, thanks! Flavio Cruz, le mar. 13 juin 2023 00:01:25 -0400, a ecrit: > * 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

Re: [PATCH gnumach] Update the 64bit RPC ABI to be simpler (v2)

2023-09-24 Thread Samuel Thibault
Flávio Cruz, le dim. 24 sept. 2023 12:53:04 -0400, a ecrit: > In the first version of this patch I mentioned that the following MiG change > is > necessary too: [2]https://lists.gnu.org/archive/html/bug-hurd/2023-05/ > msg00288.html > That should solve the problem. Uh, that mail was litteraly

Re: [PATCH gnumach] Update the 64bit RPC ABI to be simpler (v2)

2023-09-24 Thread Flávio Cruz
Hi Samuel On Sun, Sep 24, 2023 at 4:24 AM Samuel Thibault wrote: > Samuel Thibault, le dim. 24 sept. 2023 00:16:21 +0200, a ecrit: > > const mach_msg_type_long_t nameType = { > > .msgtl_header = { > > .msgt_name =0, > >

Re: [PATCH gnumach] Update the 64bit RPC ABI to be simpler (v2)

2023-09-24 Thread Samuel Thibault
Samuel Thibault, le dim. 24 sept. 2023 00:16:21 +0200, a ecrit: > const mach_msg_type_long_t nameType = { > .msgtl_header = { > .msgt_name =0, > .msgt_size =0, > .msgt_number = 0,

Re: [PATCH gnumach] Update the 64bit RPC ABI to be simpler (v2)

2023-09-23 Thread Samuel Thibault
Hello, I was having troubles with this patch, and this boils down to this in the stub for device_open: const mach_msg_type_long_t nameType = { .msgtl_header = { .msgt_name =0, .msgt_size =0,

Re: [PATCH gnumach] Update the 64bit RPC ABI to be simpler (v2)

2023-08-12 Thread Samuel Thibault
Hello, Flávio Cruz, le jeu. 10 août 2023 20:54:52 -0400, a ecrit: > Somewhat unrelated question: what is the future of DDE? Ideally, none, by replacing with rumpnet. > It seems like the dde repo has a lot of forked code from the main hurd > repo which makes it easy to miss some changes. Yes,

Re: [PATCH gnumach] Update the 64bit RPC ABI to be simpler (v2)

2023-08-10 Thread Flávio Cruz
Hi On Wed, Aug 9, 2023 at 10:21 AM Samuel Thibault wrote: > Sergey Bugaev, le mer. 09 août 2023 11:48:29 +0300, a ecrit: > > On Wed, Aug 9, 2023 at 4:10 AM Samuel Thibault > wrote: > > > So, is anybody against making this change? > > > > I trust Flávio to understand RPC ABI much better than I

Re: [PATCH gnumach] Update the 64bit RPC ABI to be simpler (v2)

2023-08-09 Thread Samuel Thibault
Sergey Bugaev, le mer. 09 août 2023 11:48:29 +0300, a ecrit: > On Wed, Aug 9, 2023 at 4:10 AM Samuel Thibault > wrote: > > So, is anybody against making this change? > > I trust Flávio to understand RPC ABI much better than I do. > > That being said, I don't quite understand the point of this

Re: [PATCH gnumach] Update the 64bit RPC ABI to be simpler (v2)

2023-08-09 Thread Sergey Bugaev
Hello, On Wed, Aug 9, 2023 at 4:10 AM Samuel Thibault wrote: > So, is anybody against making this change? I trust Flávio to understand RPC ABI much better than I do. That being said, I don't quite understand the point of this change: we cannot get rid of mach_msg_type_long_t completely on

Re: [PATCH gnumach] Update the 64bit RPC ABI to be simpler (v2)

2023-08-09 Thread luca
Il 09/08/23 03:09, Samuel Thibault ha scritto: Hello, So, is anybody against making this change? Hi, for me it's ok, I tried this patch together with the mig one and didn't see any issue so far. Luca

Re: [PATCH gnumach] Update the 64bit RPC ABI to be simpler (v2)

2023-08-08 Thread Samuel Thibault
Hello, So, is anybody against making this change? Samuel Flavio Cruz, le mar. 13 juin 2023 00:01:25 -0400, a ecrit: > * 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

[PATCH gnumach] Update the 64bit RPC ABI to be simpler (v2)

2023-06-12 Thread Flavio Cruz
* 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

Re: [PATCH gnumach] Update the 64bit RPC ABI to be simpler

2023-06-12 Thread Flávio Cruz
Hi Luca, Spent some time doing more testing on this patch since initially I had only tested it on basic programs. After "copyinmsg: allow for the last message element to have msgt_number = 0."

Re: [PATCH gnumach] Update the 64bit RPC ABI to be simpler

2023-06-05 Thread Luca
Hi, Il 17/05/23 05:03, Flavio Cruz ha scritto: * 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

[PATCH gnumach] Update the 64bit RPC ABI to be simpler

2023-05-16 Thread Flavio Cruz
* 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. I'm not changing any of the code but