aboutsummaryrefslogtreecommitdiffstats
path: root/vgasrc/stdvga.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2011-12-31 16:00:54 -0500
committerKevin O'Connor <kevin@koconnor.net>2011-12-31 16:03:41 -0500
commitc990f27298104d23a0a63fc340385310e598fe00 (patch)
treeb07f78ff20b00e6430db2a19b9aaf091adc8d929 /vgasrc/stdvga.h
parent7e1d5301fd771d2b7164b2678ea9b3238d9bf959 (diff)
downloadseabios-c990f27298104d23a0a63fc340385310e598fe00.tar.gz
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>
Diffstat (limited to 'vgasrc/stdvga.h')
-rw-r--r--vgasrc/stdvga.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vgasrc/stdvga.h b/vgasrc/stdvga.h
index 0d5f59b5..fb983045 100644
--- a/vgasrc/stdvga.h
+++ b/vgasrc/stdvga.h
@@ -129,6 +129,7 @@ void stdvga_grdc_write(u8 index, u8 value);
void stdvga_set_text_block_specifier(u8 spec);
void stdvga_load_font(u16 seg, void *src_far, u16 count
, u16 start, u8 destflags, u8 fontsize);
+u16 stdvga_get_crtc(void);
void stdvga_set_cursor_shape(u8 start, u8 end);
void stdvga_set_active_page(u16 address);
void stdvga_set_cursor_pos(u16 address);