Re: HIGH MEMORY access

From: Manfred Spraul (manfreds@colorfullife.com)
Date: Mon Apr 10 2000 - 17:39:42 EST


From: "Lyle Coder" <x_coder@hotmail.com>
>
> Also you are right that it will crash if someone specifies mem=512M when
the
> BIOS actually put the tables in say 2GB range. How do we solve this?
>
We can't use kmap().

We need a boot-only ioremap function that maps arbitrary memory blocks.
It should be very simple:

* no kmalloc, use __initdata structures.
* we don't need unmap.
* limited to a few mappings (2MB), AFAICS only the mp table parser and some
ACPI tables will need it.

I'll use virtual addresses < PAGE_ADDRESS, then zap_low_mappings() will
clear the page tables for me :-)

--
    Manfred

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:15 EST