EFI x86_64 support Patch 3 of 3 ------------------------------- This patch depends on the EFI x86_64 patches 1/3 and 2/3. This patch adds Graphics Output Protocol support to the kernel. x86_64 systems with UEFI2.0 firmware conform to UEFI 2.0 specification. UEFI2.0 spec deprecates Universal Graphics Adapter (UGA) protocol and only Graphics Output Protocol (GOP) is produced. Therefore, the boot loader needs to query the UEFI firmware with appropriate Output Protocol and pass the video information to the kernel. As a result of GOP protocol, an EFI framebuffer driver is needed for displaying console messages. Patch 3 of 3 adds a EFI framebuffer driver. The EFI frame buffer driver in this patch is based on the Intel Mac framebuffer driver. Without the patch 3 of 3, the early console messages will not appear. Nor will switch to the text mode console work. The x86_64 ELILO bootloader takes care of passing the video information as appropriate for EFI firmware. Signed-off-by: Chandramouli Narayanan diff -uprN -X linux-2.6.21rc7-git2-orig/Documentation/dontdiff linux-2.6.21rc7-git2-orig/drivers/video/efifb.c linux-2.6.21rc7-git2-uefi-finaltest/drivers/video/efifb.c --- linux-2.6.21rc7-git2-orig/drivers/video/efifb.c 1969-12-31 16:00:00.000000000 -0800 +++ linux-2.6.21rc7-git2-uefi-finaltest/drivers/video/efifb.c 2007-04-19 13:01:02.000000000 -0700 @@ -0,0 +1,252 @@ +/* + * framebuffer driver for Intel Based Mac's + * + * (c) 2006 Edgar Hucek + * Original efi driver written by Gerd Knorr + * + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include