vgabios: Introduce stdvga_get_crtc() and use it consistently.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 31 Dec 2011 21:00:54 +0000 (16:00 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 31 Dec 2011 21:03:41 +0000 (16:03 -0500)
commitc990f27298104d23a0a63fc340385310e598fe00
treeb07f78ff20b00e6430db2a19b9aaf091adc8d929
parent7e1d5301fd771d2b7164b2678ea9b3238d9bf959
vgabios: Introduce stdvga_get_crtc() and use it consistently.

The low level VGA code shouldn't depend on the crtc address stored in
the BDA - it can find the address on its own.

The cirrus_get_crtc() function is the same - replace it with
stdvga_get_crtc().

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
vgasrc/clext.c
vgasrc/stdvga.c
vgasrc/stdvga.h