Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset c427578 in mainline


Ignore:
Timestamp:
2011-07-04T15:26:45Z (11 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master
Children:
9e34750
Parents:
10293970
Message:

Request VBE 3.0 information from the BIOS.

Fixes setting non-standard video modes on real hardware
which hides those modes probably due to compatibility
reasons with older software.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/boot/vesa_real.inc

    r10293970 rc427578  
    154154        mov $e_vesa_init - vesa_init, %di
    155155        push %di
     156        /* Write "VBE2" signature to info structure in order to get
     157         * proper mode information. The presence of "VBE2" indicates two
     158         * things:
     159         *  - VBE controller information structure is 512 bytes long
     160         *    instead of 256
     161         *  - The BIOS reports VBE 3.0 information (including non-standard
     162         *    modes in mode list)
     163         */
     164        movl $0x32454256, (%di)
    156165        int $0x10
    157166       
Note: See TracChangeset for help on using the changeset viewer.