[PATCH gnumach] Use designated initializers in kern/ipc_kobject.c

2023-05-03 Thread Flavio Cruz
msgt_deallocate was not initialized explicitly, this fixes that too. --- kern/ipc_kobject.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/kern/ipc_kobject.c b/kern/ipc_kobject.c index a0feaf40..960ef892 100644 --- a/kern/ipc_kobject.c +++ b/kern/ipc_kobject.c

[PATCH gnumach] Improve portability for device/net_io.c and use designated initializers

2023-05-03 Thread Flavio Cruz
--- device/net_io.c | 32 +--- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/device/net_io.c b/device/net_io.c index bad6d3eb..cabb1be9 100644 --- a/device/net_io.c +++ b/device/net_io.c @@ -386,22 +386,23 @@ boolean_t ethernet_priority(const

[PATCH glibc] Update hurd/intr-msg.c to be more portable

2023-05-03 Thread Flavio Cruz
Summary of the changes: - Introduce BAD_TYPECHECK from MiG to make it simpler to do type checking. - Replace int type with mach_msg_type_t. This assumes that mach_msg_type_t is always the same size as int which is not true for x86_64. - Calculate the size and align using PTR_ALIGN_UP, which

[PATCH glibc] Update sysdeps/mach/hurd/ioctl.c to make it more portable

2023-05-03 Thread Flavio Cruz
Summary of the changes: - Update msg_align to use ALIGN_UP like we have done in previous patches. Use it below whenever necessary to avoid repeating the same alignment logic. - Define BAD_TYPECHECK to make it easier to do type checking in a few places below. - Update io2mach_type to use

Re: Prospectives (Was: hurd: Add expected abilist files for x86_64)

2023-05-03 Thread jbranso
May 3, 2023 1:15 PM, "Samuel Thibault" wrote: > Samuel Thibault, le mer. 03 mai 2023 13:09:25 +0200, a ecrit: > >> Sergey Bugaev, le mer. 03 mai 2023 13:26:56 +0300, a ecrit: >> (By the way, do you happen to know any news about what came out of >> that? Was there a specific person selected to

Re: [PATCH gnumach] Use designated initializers in kern/exception.c

2023-05-03 Thread Samuel Thibault
Applied, thanks! Flavio Cruz, le mer. 03 mai 2023 19:14:47 -0400, a ecrit: > --- > kern/exception.c | 56 > 1 file changed, 28 insertions(+), 28 deletions(-) > > diff --git a/kern/exception.c b/kern/exception.c > index 10435b5c..d3fa50e1 100644 >

[PATCH gnumach] Use designated initializers in kern/exception.c

2023-05-03 Thread Flavio Cruz
--- kern/exception.c | 56 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/kern/exception.c b/kern/exception.c index 10435b5c..d3fa50e1 100644 --- a/kern/exception.c +++ b/kern/exception.c @@ -291,33 +291,33 @@ struct mach_exception

Re: [PATCH hurd] Use designated initializers when building mach_msg_type_t

2023-05-03 Thread Samuel Thibault
Applied, thanks! Flavio Cruz, le mer. 03 mai 2023 18:11:46 -0400, a ecrit: > --- > boot/boot.c | 16 +++ > console/display.c | 58 - > libfshelp/start-translator-long.c | 56 - > libpager/demuxer.c

[PATCH hurd] Use designated initializers when building mach_msg_type_t

2023-05-03 Thread Flavio Cruz
--- boot/boot.c | 16 +++ console/display.c | 58 - libfshelp/start-translator-long.c | 56 - libpager/demuxer.c| 16 +++ libports/manage-multithread.c | 16 +++

Re: Prospectives (Was: hurd: Add expected abilist files for x86_64)

2023-05-03 Thread Samuel Thibault
Samuel Thibault, le mer. 03 mai 2023 13:09:25 +0200, a ecrit: > Sergey Bugaev, le mer. 03 mai 2023 13:26:56 +0300, a ecrit: > > (By the way, do you happen to know any news about what came out of > > that? Was there a specific person selected to work on the project? Is > > there a blog I could

Re: Prospectives (Was: hurd: Add expected abilist files for x86_64)

2023-05-03 Thread Samuel Thibault
Samuel Thibault, le mer. 03 mai 2023 13:09:25 +0200, a ecrit: > Sergey Bugaev, le mer. 03 mai 2023 13:26:56 +0300, a ecrit: > > > To put another perspective: I have been doing that less funny part for a > > > long time already. I can't do everything alone. > > > > I appreciate that! -- and I'm

Re: Prospectives (Was: hurd: Add expected abilist files for x86_64)

2023-05-03 Thread Samuel Thibault
Sergey Bugaev, le mer. 03 mai 2023 13:26:56 +0300, a ecrit: > > For instance, we *do* need rust > > implemented, otherwise we'll lose libgtk support, and probably soon > > enough also libxml2 and whatnot re-implemented in rust. > > If that's your best example of a task that is not fun... :)

Re: Prospectives (Was: hurd: Add expected abilist files for x86_64)

2023-05-03 Thread Sergey Bugaev
On Wed, May 3, 2023 at 11:46 AM Almudena Garcia wrote: > Hi: Hi Almu! > I have this video that i recorded last year. But some days ago, i noticed > that desktop environment is buggy again, and i don't found applications like > midori, arora or vlc > https://www.youtube.com/watch?v=WFPw8WCe7Ew

Re: Prospectives (Was: hurd: Add expected abilist files for x86_64)

2023-05-03 Thread Sergey Bugaev
Hello, I got a little bit overly emotional and personal over there yesterday, sorry about that. On Tue, May 2, 2023 at 11:18 PM Samuel Thibault wrote: > But at some point the less funny pieces also need to be done, otherwise > the system becomes irrelevant. Yes; but I can't really think of

Re: [PATCH v3 4/6] hurd: Add expected abilist files for x86_64

2023-05-03 Thread Almudena Garcia
Hi: > Even just starting a video blogging channel showing off the Hurd would > go a long way towards getting others more interested. (Maybe this is > something Joshua would be interested in doing?) I was thinking I could > live-stream some of my own hacking, seeing how this format is popular, >