diff options
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/i86pc/os/mlsetup.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/usr/src/uts/i86pc/os/mlsetup.c b/usr/src/uts/i86pc/os/mlsetup.c index 7923836f75..13ccfde671 100644 --- a/usr/src/uts/i86pc/os/mlsetup.c +++ b/usr/src/uts/i86pc/os/mlsetup.c @@ -365,12 +365,17 @@ mlsetup(struct regs *rp) if (boothowto & RB_DEBUG) kdi_idt_sync(); - /* - * Explicitly set console to text mode (0x3) if this is a boot - * post Fast Reboot, and the console is set to CONS_SCREEN_TEXT. - */ - if (post_fastreboot && boot_console_type(NULL) == CONS_SCREEN_TEXT) - set_console_mode(0x3); + if (BOP_GETPROPLEN(bootops, "efi-systab") < 0) { + /* + * In BIOS system, explicitly set console to text mode (0x3) + * if this is a boot post Fast Reboot, and the console is set + * to CONS_SCREEN_TEXT. + */ + if (post_fastreboot && + boot_console_type(NULL) == CONS_SCREEN_TEXT) { + set_console_mode(0x3); + } + } /* * If requested (boot -d) drop into kmdb. |