summaryrefslogtreecommitdiff
path: root/vgasrc/bochsvga.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/bochsvga.h
parent6f775088925a9b1ed3ded58e05d7ee276366166f (diff)
downloadqemu-seabios-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/bochsvga.h')
-rw-r--r--vgasrc/bochsvga.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vgasrc/bochsvga.h b/vgasrc/bochsvga.h
index f0263d7..af60503 100644
--- a/vgasrc/bochsvga.h
+++ b/vgasrc/bochsvga.h
@@ -59,7 +59,7 @@ int bochsvga_list_modes(u16 seg, u16 ptr);
struct vbe_modeinfo;
int bochsvga_mode_info(u16 mode, struct vbe_modeinfo *info);
void bochsvga_hires_enable(int enable);
-void bochsvga_set_mode(u16 mode, struct vbe_modeinfo *info);
+int bochsvga_set_mode(int mode, int flags);
void bochsvga_clear_scr(void);
int bochsvga_hires_enabled(void);
u16 bochsvga_curr_mode(void);