Re: [gnu-soc] GNU Hurd : Rust Porting Project

2023-02-26 Thread Samuel Thibault
Harshil Jani, le dim. 26 févr. 2023 19:26:18 +0530, a ecrit: > So, I am planning to get GNU/Hurd on VM if all goes well. One more > thing which I wanted to ask was about the C headers ? Would the bindgen tool > take care of the headers during the port or we have to do it manually? The C headers ar

Re: GNU Hurd : Rust Porting Project

2023-02-26 Thread Harshil Jani
Hey ! Thanks for this patch. I recently saw back on the site about the bonding exercise. So, I am planning to get GNU/Hurd on VM if all goes well. One more thing which I wanted to ask was about the C headers ? Would the bindgen tool take care of the headers during the port or we have to do it manua

Re: [PATCH gnumach] lapic timer: Calibrate based on 10 PIT sleeps for 10ms

2023-02-26 Thread Samuel Thibault
Damien Zammit, le dim. 26 févr. 2023 09:42:27 +, a ecrit: > On 26/2/23 20:20, Samuel Thibault wrote: > > Samuel Thibault, le dim. 26 févr. 2023 10:03:28 +0100, a ecrit: > >> Damien Zammit, le dim. 26 févr. 2023 03:34:59 +, a ecrit: > >>> On 26/2/23 12:31, Damien Zammit wrote: > NB: Thi

Re: [PATCH gnumach] lapic timer: Calibrate based on 10 PIT sleeps for 10ms

2023-02-26 Thread Damien Zammit
On 26/2/23 20:20, Samuel Thibault wrote: > Samuel Thibault, le dim. 26 févr. 2023 10:03:28 +0100, a ecrit: >> Damien Zammit, le dim. 26 févr. 2023 03:34:59 +, a ecrit: >>> On 26/2/23 12:31, Damien Zammit wrote: NB: This relies on a fix for QEMU as one-shot PIT mode is currently broken

Re: [PATCH gnumach] lapic timer: Calibrate based on 10 PIT sleeps for 10ms

2023-02-26 Thread Samuel Thibault
Samuel Thibault, le dim. 26 févr. 2023 10:03:28 +0100, a ecrit: > Damien Zammit, le dim. 26 févr. 2023 03:34:59 +, a ecrit: > > On 26/2/23 12:31, Damien Zammit wrote: > > > NB: This relies on a fix for QEMU as one-shot PIT mode > > > is currently broken in qemu. > > > > Here is the correspondi

Re: [PATCH gnumach] lapic timer: Calibrate based on 10 PIT sleeps for 10ms

2023-02-26 Thread Samuel Thibault
Damien Zammit, le dim. 26 févr. 2023 03:34:59 +, a ecrit: > On 26/2/23 12:31, Damien Zammit wrote: > > NB: This relies on a fix for QEMU as one-shot PIT mode > > is currently broken in qemu. > > Here is the corresponding qemu patch: > > https://lists.nongnu.org/archive/html/qemu-devel/2023-02

Re: [PATCH gnumach] lapic timer: Calibrate based on 10 PIT sleeps for 10ms

2023-02-26 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le dim. 26 févr. 2023 01:31:18 +, a ecrit: > NB: This relies on a fix for QEMU as one-shot PIT mode > is currently broken in qemu. > --- > i386/i386at/ioapic.c | 19 +++ > 1 file changed, 11 insertions(+), 8 deletions(-) > > diff --git a/i386/i

Re: [PATCH gnumach] pit: Use corrected clock frequency

2023-02-26 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le dim. 26 févr. 2023 06:36:04 +, a ecrit: > All PC compatibles operate the PIT at a clock rate of (105/88) MHz > > --- > i386/i386/pit.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/i386/i386/pit.h b/i386/i386/pit.h > index b14c4c

Re: [PATCH gnumach] pit: Fix shadowed hz variable && define modes correctly

2023-02-26 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le dim. 26 févr. 2023 01:31:00 +, a ecrit: > --- > i386/i386/pit.c | 14 +++--- > i386/i386/pit.h | 3 ++- > 2 files changed, 9 insertions(+), 8 deletions(-) > > diff --git a/i386/i386/pit.c b/i386/i386/pit.c > index 7373a38e..6c006a98 100644 > --- a/