Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/i386/stand



Module Name:    src
Committed By:   jmcneill
Date:           Mon Feb 16 22:39:31 UTC 2009

Modified Files:
        src/sys/arch/i386/stand/boot: Makefile.boot boot2.c
        src/sys/arch/i386/stand/lib: Makefile exec.c libi386.h realprot.S
Added Files:
        src/sys/arch/i386/stand/lib: biosvbe.S rasops.c vbe.c vbe.h

Log Message:
Bootloader modifications for generic framebuffer console support on i386
and amd64 where VESA VBE 2.0+ is available.

* Add helper library and stubs to invoke VBE bioscalls.
* Bump HEAP_START as we were already dangerously close to our limits.
* bootdataseg now allows access > 16MB so in the future we can scribble
  on the framebuffer.
* Pass BTINFO_FRAMEBUFFER parameters to kernel when configured.
* VBE modes are configured with the new 'vesa' command. Usage, when present:
    * vesa {enabled|disabled}
      Enable / disable linear framebuffer, default mode is 640x480x8. May
      be changed in the future to determine mode based on VBE/DDC where
      available.
    * vesa list
      List modes supported by the firmware that meet the following criteria:
        * linear framebuffer
        * packed pixel or direct colour mode
    * vesa {modenum|modestr}
      Enable specific VBE mode. The mode can be specified either as a
      VBE mode number (eg. 0x101) or as a string (eg. 800x600x16).


To generate a diff of this commit:
cvs rdiff -r1.36 -r1.37 src/sys/arch/i386/stand/boot/Makefile.boot
cvs rdiff -r1.42 -r1.43 src/sys/arch/i386/stand/boot/boot2.c
cvs rdiff -r1.26 -r1.27 src/sys/arch/i386/stand/lib/Makefile
cvs rdiff -r0 -r1.1 src/sys/arch/i386/stand/lib/biosvbe.S \
    src/sys/arch/i386/stand/lib/rasops.c src/sys/arch/i386/stand/lib/vbe.c \
    src/sys/arch/i386/stand/lib/vbe.h
cvs rdiff -r1.38 -r1.39 src/sys/arch/i386/stand/lib/exec.c
cvs rdiff -r1.29 -r1.30 src/sys/arch/i386/stand/lib/libi386.h
cvs rdiff -r1.7 -r1.8 src/sys/arch/i386/stand/lib/realprot.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index