Hi, I would like to have the following patch committed. Some EFI implementations do not provide a console control protocol instance, and it is covered by neither EFI or UEFI specifications.
~j 2006-07-28 Johan Rydberg <[EMAIL PROTECTED]> * kern/efi/efi.c (grub_efi_set_text_mode): Assume console already is in text mode if there is no console control protocol instance available.
Index: kern/efi/efi.c =================================================================== RCS file: /sources/grub/grub2/kern/efi/efi.c,v retrieving revision 1.7 diff -u -r1.7 efi.c --- kern/efi/efi.c 27 May 2006 21:09:25 -0000 1.7 +++ kern/efi/efi.c 27 Jul 2006 22:01:49 -0000 @@ -125,7 +125,9 @@ c = grub_efi_locate_protocol (&console_control_guid, 0); if (! c) - return 0; + /* No console control protocol instance available, assume it is + already in text mode. */ + return 1; if (c->get_mode (c, &mode, 0, 0) != GRUB_EFI_SUCCESS) return 0;
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel