mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 08:39:28 +00:00
2006-07-30 Johan Rydberg <jrydberg@gnu.org>
* 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.
This commit is contained in:
1 parent
684a8eff89
commit
bc8c036d11
2 files changed
+9
-1
No files matched your search
+3
-1
@@ -125,7 +125,9 @@ grub_efi_set_text_mode (int on)
|
||||
|
||||
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;
|
||||
|
||||
Reference in new issue
Block a user