]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: reserve end-of-conventional-memory to 1MB on 32-bit
authorAlexander van Heukelum <heukelum@mailshack.com>
Sat, 1 Mar 2008 16:09:12 +0000 (17:09 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:51 +0000 (17:40 +0200)
commitdedd04be71cea3d5adb14c8f674e801911c89a2f
tree616250e345885a6f43dba0f407280d0304997ae3
parent823c248e7cc75b4f22da914b01f8e5433cff197e
x86: reserve end-of-conventional-memory to 1MB on 32-bit

This patch adds explicit detection of the EBDA and reservation
of the rom and adapter address space 0xa0000-0x100000 to the
i386 kernels. Before this patch, the EBDA size was hardcoded
as 4Kb. Also, the reservation of the adapter range was done by
modifying the e820 map which is now not necessary any longer,
and that code is removed from copy_e820_map.

The amount of conventional memory and the start of the EBDA are
detected by reading the BIOS data area directly. Paravirtual
environments do not provide this area, so we bail out early
in that case. They will just have to set up a correct memory
map to start with.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/e820_32.c
arch/x86/kernel/setup_32.c