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

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

2023-03-05 Thread Damien Zammit
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 regular PIT interrupts to remapped IOAPIC pin. This also changes the primary clock source