grub/grub-core/osdep/linux
Steve McIntyre 1a33de8b56 Recognize EFI platform even in case of mismatch between Linux and EFI.
Some x86 systems might be capable of running a 64-bit Linux kernel but
only use a 32-bit EFI (e.g. Intel Bay Trail systems). It's useful for
grub-install to be able to recognise such systems, to set the default
x86 platform correctly.

To allow grub-install to know the size of the firmware rather than
just the size of the kernel, there is now an extra EFI sysfs file to
describe the underlying firmware. Read that if possible, otherwise
fall back to the kernel type as before.

Signed-off-by: Steve McIntyre <steve@einval.com>
2015-03-27 14:51:51 +01:00
..
blocklist.c linux/blocklist: Fix memory leak. 2015-01-26 09:50:58 +01:00
emunet.c Split emunet into platform-dependent and GRUB-binding parts. Keep 2013-10-15 11:55:20 +02:00
getroot.c linux/getroot: fix descriptor leak. 2015-01-26 23:02:55 +03:00
hostdisk.c linux/hostdisk: use strncpy instead of strlcpy 2015-01-27 20:00:23 +03:00
ofpath.c linux/ofpath: fix descriptor leak 2015-01-27 20:29:00 +03:00
platform.c Recognize EFI platform even in case of mismatch between Linux and EFI. 2015-03-27 14:51:51 +01:00