]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- When we restore VESA state, try BIOS POST earlier. VESA restore state
authorJung-uk Kim <jkim@FreeBSD.org>
Fri, 23 Oct 2009 18:41:00 +0000 (18:41 +0000)
committerJung-uk Kim <jkim@FreeBSD.org>
Fri, 23 Oct 2009 18:41:00 +0000 (18:41 +0000)
commita0ce33465fb1e46db31d2a66de7d0297b55013d6
tree90c2c8d1fa47cf4ffb0a7f497bb6ebeb871d3a4f
parent6cb2b4e7a806d3cca4a81ebe30740cc92002d8a7
- When we restore VESA state, try BIOS POST earlier.  VESA restore state
function may not work properly if we don't.  Turn off hardware cursor as
vesa_set_mode() does.
- Add VBE 3.0 specific fields in VESA mode structure and pack it.  Note
the padding is 190 bytes although VBE 3.0 says 189 bytes.  It must be wrong
because the size of structure becomes 255 bytes and the specification says
it must be 256 bytes in total.  In fact, an example code in the spec. does
it right, though.  While we are at it, fix some i386-isms.
- Remove state buffer size limitation.  It is no longer necessary since
sys/compat/x86bios/x86bios.c r198251.
- Move int 0x10 vector test into vesa_bios_post() as we always do it anyway.
sys/dev/fb/vesa.c
sys/dev/fb/vesa.h