[PATCH gnumach] Align mach_msg_type_t and mach_msg_type_long_t with the same alignment as uintptr_t.

2023-03-06 Thread Flavio Cruz
With this change, any 64 bit code using the IPC subsystem without relying on MiG will work without any changes. We have a few examples of this inside gnumach but also in the Hurd servers. For example, in hurd/console/display.c typedef struct { mach_msg_header_t Head; mach_msg_type_t t

[PATCH mig] Use designated initializers for mach_msg_type_t and mach_msg_type_long_t.

2023-03-06 Thread Flavio Cruz
--- utils.c | 52 ++-- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/utils.c b/utils.c index 64ab496..6d6bb9e 100644 --- a/utils.c +++ b/utils.c @@ -263,15 +263,15 @@ WriteCheckDecl(FILE *file, const argument_t *arg) fprintf(

Re: [PATCH gnumach] kern: Fix MACH_LOCK_MON lock monitoring debug

2023-03-06 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le lun. 06 mars 2023 07:05:19 +, a ecrit: > TESTED: > - by setting MACH_LOCK_MON to 1 in configfrag.ac >and running "show all slocks" in kdb > - does not break default configured kernel > --- > ddb/db_sym.h | 8 > i386/i386/lock.h | 6 +++---

Re: [PATCH v2 gnumach] lapic timer: Calibrate via mach timer not PIT

2023-03-06 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le lun. 06 mars 2023 07:05:03 +, a ecrit: > Previously the lapic timer was calibrated by one-shot PIT timer2. > This method can be buggy and generally unused in emulation environments. > This patch reworks the timer calibration to use a mach timer based > on reg

Re: Applying to GSoC'23 to contribute to GNU/Hurd

2023-03-06 Thread Venkaat Balaje
Thank you very much for your reply,Samuel. On Mon, Mar 6, 2023 at 12:19 AM Samuel Thibault wrote: > Hello, > > Welcome! > > Venkaat Balaje, le ven. 03 mars 2023 17:05:25 +0530, a ecrit: > > I would be grateful if you could give me some pointers as to where I > can help. > > We have collected th