]> git.baikalelectronics.ru Git - kernel.git/commit
efi: Add separate 32-bit/64-bit definitions
authorMatt Fleming <matt.fleming@intel.com>
Fri, 10 Jan 2014 13:47:37 +0000 (13:47 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 4 Mar 2014 21:25:02 +0000 (21:25 +0000)
commitcef44a483a501d96b6a1145291476bad399050ed
treeca0167133614d879ec0c0f97c390e0073c925870
parentd8c397d76c9e4362c0969bf33e9e875067929586
efi: Add separate 32-bit/64-bit definitions

The traditional approach of using machine-specific types such as
'unsigned long' does not allow the kernel to interact with firmware
running in a different CPU mode, e.g. 64-bit kernel with 32-bit EFI.

Add distinct EFI structure definitions for both 32-bit and 64-bit so
that we can use them in the 32-bit and 64-bit code paths.

Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/boot/compressed/eboot.h
include/linux/efi.h