From: Matt Fleming Date: Tue, 8 Apr 2014 12:14:00 +0000 (+0100) Subject: x86/efi: Correct EFI boot stub use of code32_start X-Git-Tag: v3.15-rc1~30^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e8213c1f3acc064aef37813a39f13cbfe7c3ce7;p=pandora-kernel.git x86/efi: Correct EFI boot stub use of code32_start code32_start should point at the start of the protected mode code, and *not* at the beginning of the bzImage. This is much easier to do in assembly so document that callers of make_boot_params() need to fill out code32_start. The fallout from this bug is that we would end up relocating the image but copying the image at some offset, resulting in what appeared to be memory corruption. Reported-by: Thomas Bächler Signed-off-by: Matt Fleming --- Reading git-diff-tree failed