From: Matt Fleming Date: Fri, 10 Jan 2014 15:37:17 +0000 (+0000) Subject: x86/efi: Add early thunk code to go from 64-bit to 32-bit X-Git-Tag: v3.15-rc1~173^2~5^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0154416a71c2a84c3746c8dd8ed25287e36934d3;p=pandora-kernel.git x86/efi: Add early thunk code to go from 64-bit to 32-bit Implement the transition code to go from IA32e mode to protected mode in the EFI boot stub. This is required to use 32-bit EFI services from a 64-bit kernel. Since EFI boot stub is executed in an identity-mapped region, there's not much we need to do before invoking the 32-bit EFI boot services. However, we do reload the firmware's global descriptor table (efi32_boot_gdt) in case things like timer events are still running in the firmware. Signed-off-by: Matt Fleming --- Reading git-diff-tree failed