git: efi/boot1: Fix best text mode detection.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Tue Apr 19 05:39:02 PDT 2016


commit e9cded7e0e4e02cfec706a7756c1cd28ffc3beef
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Tue Apr 19 14:14:09 2016 +0300

    efi/boot1: Fix best text mode detection.
    
    According to EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL QueryMode() specs
    Mode 0 is 80x25 and Mode 1 is 80x50, rest of device supported
    modes follow as modes 2 and above. In case when device does not
    support Mode 1, querying for it will return EFI_UNSUPPORTED.
    
    Tested-on: Toshiba laptop w/o Mode 1 support.

Summary of changes:
 sys/boot/efi/boot1/boot1.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e9cded7e0e4e02cfec706a7756c1cd28ffc3beef


-- 
DragonFly BSD source repository



More information about the Commits mailing list