bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 03/12] bios32: Use phystokv() on low bios addresses


From: Samuel Thibault
Subject: Re: [PATCH 03/12] bios32: Use phystokv() on low bios addresses
Date: Tue, 25 Oct 2022 23:51:38 +0200
User-agent: NeoMutt/20170609 (1.8.3)

Applied, thanks!

Damien Zammit, le mar. 25 oct. 2022 10:55:42 +0000, a ecrit:
> ---
>  linux/src/arch/i386/kernel/bios32.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/linux/src/arch/i386/kernel/bios32.c 
> b/linux/src/arch/i386/kernel/bios32.c
> index c10cc0c0..71cc3f98 100644
> --- a/linux/src/arch/i386/kernel/bios32.c
> +++ b/linux/src/arch/i386/kernel/bios32.c
> @@ -877,8 +877,8 @@ unsigned long pcibios_init(unsigned long memory_start, 
> unsigned long memory_end)
>        *
>        */
> 
> -     for (check = (union bios32 *) 0xe0000;
> -          check <= (union bios32 *) 0xffff0;
> +     for (check = (union bios32 *) phystokv(0xe0000);
> +          check <= (union bios32 *) phystokv(0xffff0);
>            ++check) {
>               if (check->fields.signature != BIOS32_SIGNATURE)
>                       continue;
> --
> 2.34.1
> 
> 
> 

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