aboutsummaryrefslogtreecommitdiffstats
path: root/roms/seabios/vgasrc/clext.h
diff options
context:
space:
mode:
authorfishsoupisgood <github@madingley.org>2019-04-29 01:17:54 +0100
committerfishsoupisgood <github@madingley.org>2019-05-27 03:43:43 +0100
commit3f2546b2ef55b661fd8dd69682b38992225e86f6 (patch)
tree65ca85f13617aee1dce474596800950f266a456c /roms/seabios/vgasrc/clext.h
downloadqemu-master.tar.gz
qemu-master.tar.bz2
qemu-master.zip
Initial import of qemu-2.4.1HEADmaster
Diffstat (limited to 'roms/seabios/vgasrc/clext.h')
-rw-r--r--roms/seabios/vgasrc/clext.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/roms/seabios/vgasrc/clext.h b/roms/seabios/vgasrc/clext.h
new file mode 100644
index 00000000..cf47a5bf
--- /dev/null
+++ b/roms/seabios/vgasrc/clext.h
@@ -0,0 +1,20 @@
+#ifndef __CLEXT_H
+#define __CLEXT_H
+
+#include "types.h" // u16
+
+struct vgamode_s *clext_find_mode(int mode);
+void clext_list_modes(u16 seg, u16 *dest, u16 *last);
+int clext_get_window(struct vgamode_s *vmode_g, int window);
+int clext_set_window(struct vgamode_s *vmode_g, int window, int val);
+int clext_get_linelength(struct vgamode_s *vmode_g);
+int clext_set_linelength(struct vgamode_s *vmode_g, int val);
+int clext_get_displaystart(struct vgamode_s *vmode_g);
+int clext_set_displaystart(struct vgamode_s *vmode_g, int val);
+int clext_save_restore(int cmd, u16 seg, void *data);
+int clext_set_mode(struct vgamode_s *vmode_g, int flags);
+struct bregs;
+void clext_1012(struct bregs *regs);
+int clext_setup(void);
+
+#endif // clext.h