vgabios: Unify X_set_mode() functions.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 1 Jan 2012 00:13:45 +0000 (19:13 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 1 Jan 2012 00:21:23 +0000 (19:21 -0500)
commit5108c69c47e18244206593c0c7918711311d8ef3
tree1a64a1ac0ab43a3acfe89ed8a55e2c895f25ee5b
parent6f775088925a9b1ed3ded58e05d7ee276366166f
vgabios: Unify X_set_mode() functions.

Use the same function signature for cirrus, bochsvga, and stdvga
set_mode code.

Make both the int1000 interface and the VBE 104f02 interface use the
same set_mode function.

Where clext and bochsvga need to fallback to the standard vga mode
switching, have them call vgastd_mode_switch directly.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
vgasrc/bochsvga.c
vgasrc/bochsvga.h
vgasrc/clext.c
vgasrc/clext.h
vgasrc/stdvga.c
vgasrc/stdvga.h
vgasrc/vbe.c
vgasrc/vgabios.c
vgasrc/vgahw.h [new file with mode: 0644]