• H. Peter Anvin's avatar
    [acpi] Correct the decoding of video mode numbers in wakeup.S · 91c4b8cb
    H. Peter Anvin authored
    wakeup.S looks at the video mode number from the setup header and
    looks to see if it is a VESA mode.  Unfortunately, the decoding is
    done incorrectly and it will attempt to frob the VESA BIOS for any
    mode number 0x0200 or larger.  Correct this, and remove a bunch of #if
    0'd code.
    
    Massive thanks to Jeff Chua for reporting the bug, and suffering
    though a large number of experiments in order to track this problem
    down.
    
    Cc: Pavel Machek <pavel@ucw.cz>
    Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
    91c4b8cb
wakeup.S 10.2 KB