diff options
| author | Steve McIntyre <[email protected]> | 2015-01-09 15:29:53 +0000 |
|---|---|---|
| committer | Matt Fleming <[email protected]> | 2015-01-12 11:51:32 +0000 |
| commit | 2859dff97e54db4795b8b7d9606cb8efcec722ff (patch) | |
| tree | 91836ca6535a94c9fe92972d9c01911f5e0d79ba /lib/mpi/mpi-cmp.c | |
| parent | Merge tag 'rneri-efi-next' of https://github.com/ricardon/efi into next (diff) | |
| download | kernel-2859dff97e54db4795b8b7d9606cb8efcec722ff.tar.gz kernel-2859dff97e54db4795b8b7d9606cb8efcec722ff.zip | |
efi: Expose underlying UEFI firmware platform size to userland
In some cases (e.g. Intel Bay Trail machines), the kernel will happily
run in 64-bit even if the underlying UEFI firmware platform is
32-bit. That's great, but it's difficult for userland utilities like
grub-install to do the right thing in such a situation.
The kernel already knows about the size of the firmware via
efi_enabled(EFI_64BIT). Add an extra sysfs interface
/sys/firmware/efi/fw_platform_size to expose that information to
userland for low-level utilities to use.
Signed-off-by: Steve McIntyre <[email protected]>
Cc: Matthew Garrett <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
