boot/platform/efi: Don't 'enable' graphics mode; solves #16753

* Console-control is non-standard, but is needed on older Apple
  hardware to transition their EFI bioses to text-mode so our
  bootloader menu can be used / seen.
* Console-control seems to exist on some older Intel hardware as
  well. Enabling it breaks our keyboard support. (maybe when enabled
  a different legacy UEFI call needs used to input or something)
* Instead of trying to use a deprecated EFI call in a meaningful
  way, just do the "bare minimum" of disabling it when it exists.

Change-Id: I20c3e026e02996371f632361c6899532c195bbf8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3685
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
Alexander von Gluck IV
2021-01-29 14:03:55 +00:00
committed by Alex von Gluck IV
parent 6f3a5c9ab0
commit 8c9dc662ee
+4 -1
View File
@@ -249,7 +249,10 @@ console_control(bool graphics)
status_t
console_init(void)
{
console_control(true);
// Solves video issues on Apple hardware. This is non-standard and
// deprecated and should not be used for anything else!
console_control(false);
update_screen_size();
console_hide_cursor();
console_clear_screen();