From: Alexander van Heukelum Date: Sat, 1 Mar 2008 16:12:43 +0000 (+0100) Subject: x86: reserve end-of-conventional-memory to 1MB, 64-bit X-Git-Tag: v2.6.26-rc1~1154^2~495 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=320a6b2efceccb652befca0b1c9a92d6e4256ef6;p=pandora-kernel.git x86: reserve end-of-conventional-memory to 1MB, 64-bit This patch is an add-on to the 64-bit ebda patch. It makes the functions reserve_ebda_region (renamed from reserve_ebda) and copy_e820_map equal to the 32-bit versions of the previous patch. Changes: Use u64 and u32 for local variables in 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. Add a safety net for zeroed out BIOS data area. Signed-off-by: Alexander van Heukelum Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed