aboutsummaryrefslogtreecommitdiffstats
path: root/vgasrc/bochsvga.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2011-12-31 03:18:18 -0500
committerKevin O'Connor <kevin@koconnor.net>2011-12-31 03:20:32 -0500
commitf1e217dc1885228cdb79586f1d3bde694758cbc1 (patch)
treefd1b5f1274b261aa5d6ff2aff1fac8d5e271ba83 /vgasrc/bochsvga.h
parentacdcbf024deffab9411480b1bd34cc92007fb8e8 (diff)
downloadseabios-f1e217dc1885228cdb79586f1d3bde694758cbc1.tar.gz
vgabios: Use bochsvga_ prefix for bochs vga functions.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'vgasrc/bochsvga.h')
-rw-r--r--vgasrc/bochsvga.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/vgasrc/bochsvga.h b/vgasrc/bochsvga.h
index 963cb133..aaa3a975 100644
--- a/vgasrc/bochsvga.h
+++ b/vgasrc/bochsvga.h
@@ -52,4 +52,16 @@ static inline void dispi_write(u16 reg, u16 val)
outw(val, VBE_DISPI_IOPORT_DATA);
}
+int bochsvga_init(u8 bus, u8 devfn);
+int bochsvga_enabled(void);
+u16 bochsvga_total_mem(void);
+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);
+void bochsvga_clear_scr(void);
+int bochsvga_hires_enabled(void);
+u16 bochsvga_curr_mode(void);
+
#endif