Hello,

Damien Zammit, le ven. 02 févr. 2024 06:40:04 +0000, a ecrit:
> ---
>  i386/i386/smp.c | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/i386/i386/smp.c b/i386/i386/smp.c
> index fb43ecb6..87f59913 100644
> --- a/i386/i386/smp.c
> +++ b/i386/i386/smp.c
> @@ -101,7 +100,7 @@ void smp_startup_cpu(unsigned apic_id, unsigned vector)
>      } while(lapic->icr_low.delivery_status == SEND_PENDING);
>  
>      /* Wait 10 msec */
> -    pit_mdelay(10);
> +    hpet_mdelay(10);
>  
>      /* Clear APIC errors */
>      lapic->error_status.r = 0;

We'd need to also fallback to pit_mdelay in case there is no HPET?

Samuel

Reply via email to