bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH gnumach] model_dep: Fix serial console with APIC enabled


From: Samuel Thibault
Subject: Re: [PATCH gnumach] model_dep: Fix serial console with APIC enabled
Date: Thu, 1 Feb 2024 02:18:33 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Applied, thanks!

Damien Zammit, le mer. 31 janv. 2024 10:02:15 +0000, a ecrit:
> Move cninit() further down so that IOAPIC has a chance
> to initialize before the com port interrupt is unmasked
> in the IOAPIC, fixing a fault and reboot.
> ---
>  i386/i386at/model_dep.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c
> index a53556e7..e0995c96 100644
> --- a/i386/i386at/model_dep.c
> +++ b/i386/i386at/model_dep.c
> @@ -141,11 +141,6 @@ extern void linux_init(void);
>   */
>  void machine_init(void)
>  {
> -     /*
> -      * Initialize the console.
> -      */
> -     cninit();
> -
>       /*
>        * Make more free memory.
>        *
> @@ -179,6 +174,11 @@ void machine_init(void)
>  #endif
>       clkstart();
>  
> +     /*
> +      * Initialize the console.
> +      */
> +     cninit();
> +
>  #ifdef LINUX_DEV
>       /*
>        * Initialize Linux drivers.
> -- 
> 2.43.0
> 
> 
> 

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]