]> git.ipfire.org Git - thirdparty/grub.git/commit
i386/linux: Add support for ext_lfb_base
authorArindam Nath <arindam.nath@amd.com>
Thu, 12 Jul 2018 13:32:49 +0000 (19:02 +0530)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 25 Jul 2018 12:18:05 +0000 (14:18 +0200)
commit886edba8770ccbc3def0af2a7d6b346d00d0af2f
tree2aeb4190e91ba7dc1468b384d6305522b4011790
parent9b37229f013db1b150082ac130be7c20b3db8cea
i386/linux: Add support for ext_lfb_base

The EFI Graphics Output Protocol can return a 64-bit
linear frame buffer address in some firmware/BIOS
implementations. We currently only store the lower
32-bits in the lfb_base. This will eventually be
passed to Linux kernel and the efifb driver will
incorrectly interpret the framebuffer address as
32-bit address.

The Linux kernel has already added support to handle
64-bit linear framebuffer address in the efifb driver
since quite some time now.

This patch adds the support for 64-bit linear frame
buffer address in GRUB to address the above mentioned
scenario.

Signed-off-by: Arindam Nath <arindam.nath@amd.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/loader/i386/linux.c
include/grub/i386/linux.h