Applied, thanks!

Damien Zammit, le sam. 04 juil. 2026 03:58:48 +0000, a ecrit:
> We should not disable this option behind an "if 0" because
> xen platform enabled gnumach needs to print somewhere for unit tests.
> Seeing a blank screen is too confusing and unnecessary when there is an
> emergency console available.
> ---
>  device/cons.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/device/cons.c b/device/cons.c
> index 3f7cb9d1..e1bc1ae0 100644
> --- a/device/cons.c
> +++ b/device/cons.c
> @@ -27,6 +27,10 @@
>  #include <mach/boolean.h>
>  #include <device/cons.h>
>  
> +#ifdef MACH_HYP
> +#include <xen/console.h>
> +#endif
> +
>  #ifdef MACH_KMSG
>  #include <device/io_req.h>
>  #include <device/kmsg.h>
> @@ -150,7 +154,7 @@ cnputc(char c)
>       kmsg_putchar (c);
>  #endif
>       
> -#if defined(MACH_HYP) && 0
> +#if defined(MACH_HYP)
>       {
>               /* Also output on hypervisor's emergency console, for
>                * debugging */
> -- 
> 2.47.3
> 
> 
> 

-- 
Samuel
 La carte réseau fournie par cybercable (sn2000) ne va-t-elle que sur
 bus isa ou peut-on aussi la mettre sur bus PCI.
 Merci de m'éclairer.
 -+- JP in le Neuneu Pète un Câble : Une carte dans chaque port -+-

Reply via email to