aboutsummaryrefslogtreecommitdiffstats
path: root/vgasrc/stdvga.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2011-12-31 19:13:45 -0500
committerKevin O'Connor <kevin@koconnor.net>2011-12-31 19:21:23 -0500
commit5108c69c47e18244206593c0c7918711311d8ef3 (patch)
tree1a64a1ac0ab43a3acfe89ed8a55e2c895f25ee5b /vgasrc/stdvga.h
parent6f775088925a9b1ed3ded58e05d7ee276366166f (diff)
downloadseabios-5108c69c47e18244206593c0c7918711311d8ef3.tar.gz
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>
Diffstat (limited to 'vgasrc/stdvga.h')
-rw-r--r--vgasrc/stdvga.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vgasrc/stdvga.h b/vgasrc/stdvga.h
index ac5dea46..c260ae03 100644
--- a/vgasrc/stdvga.h
+++ b/vgasrc/stdvga.h
@@ -136,7 +136,7 @@ void stdvga_set_scan_lines(u8 lines);
u16 stdvga_get_vde(void);
void stdvga_save_state(u16 seg, struct saveVideoHardware *info);
void stdvga_restore_state(u16 seg, struct saveVideoHardware *info);
-void stdvga_set_mode(int mode, int flags);
+int stdvga_set_mode(int mode, int flags);
void stdvga_enable_video_addressing(u8 disable);
void stdvga_init(void);