[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.
- [PATCH 0/12 - gnumach] SMP almost working!, Damien Zammit, 2022/10/25
- [PATCH 01/12] kdb: Fix TODO for multiprocessor, Damien Zammit, 2022/10/25
- [PATCH 03/12] bios32: Use phystokv() on low bios addresses, Damien Zammit, 2022/10/25
- Re: [PATCH 03/12] bios32: Use phystokv() on low bios addresses,
Samuel Thibault <=
- [PATCH 02/12] kern/startup: Disable interrupts before starting APs, Damien Zammit, 2022/10/25
- [PATCH 04/12] acpi: Add lapic_addr, Damien Zammit, 2022/10/25
- [PATCH 07/12] i386/pit: Tune delays, Damien Zammit, 2022/10/25
- [PATCH 05/12] linux: Reduce worst case wait to 10 seconds for disks, Damien Zammit, 2022/10/25