vgabios: Make VBE code independent of bochsvga.
[seabios.git] / vgasrc / bochsvga.h
index 963cb133e3e97734e57e5f005494453f048ff4c6..a9cedbf72b9145c63bdd60689c8bf830a27a6cba 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __DISPI_H
-#define __DISPI_H
+#ifndef __BOCHSVGA_H
+#define __BOCHSVGA_H
 
 #include "types.h" // u8
 #include "ioport.h" // outb
@@ -52,4 +52,9 @@ static inline void dispi_write(u16 reg, u16 val)
     outw(val, VBE_DISPI_IOPORT_DATA);
 }
 
-#endif
+int bochsvga_init(void);
+void bochsvga_list_modes(u16 seg, u16 *dest, u16 *last);
+struct vgamode_s *bochsvga_find_mode(int mode);
+int bochsvga_set_mode(int mode, int flags);
+
+#endif // bochsvga.h