bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 2/6] fix hardcoded physical address


From: Samuel Thibault
Subject: Re: [PATCH 2/6] fix hardcoded physical address
Date: Sun, 12 Feb 2023 18:19:43 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Applied, thanks!

Luca Dariz, le dim. 12 févr. 2023 18:03:09 +0100, a ecrit:
> * i386/i386at/com.c use proper helper to convert physical to virtual
>   address.
> ---
>  i386/i386at/com.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/i386/i386at/com.c b/i386/i386at/com.c
> index 000475db..de21206c 100644
> --- a/i386/i386at/com.c
> +++ b/i386/i386at/com.c
> @@ -276,7 +276,7 @@ comcninit(struct consdev *cp)
>  
>       {
>               char    msg[128];
> -             volatile unsigned char *p = (volatile unsigned char *)0xb8000;
> +             volatile unsigned char *p = (volatile unsigned char 
> *)phystokv(0xb8000);
>               int     i;
>  
>               sprintf(msg, "    **** using COM port %d for console ****",
> -- 
> 2.30.2
> 
> 

-- 
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]