diff options
author | Alexander van Heukelum <heukelum@mailshack.com> | 2008-03-01 17:09:12 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 17:40:51 +0200 |
commit | dedd04be71cea3d5adb14c8f674e801911c89a2f (patch) | |
tree | 616250e345885a6f43dba0f407280d0304997ae3 /fs/mbcache.c | |
parent | 823c248e7cc75b4f22da914b01f8e5433cff197e (diff) |
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>
Diffstat (limited to 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions