aboutsummaryrefslogtreecommitdiffstats
path: root/vgasrc/vgabios.h
diff options
context:
space:
mode:
Diffstat (limited to 'vgasrc/vgabios.h')
-rw-r--r--vgasrc/vgabios.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/vgasrc/vgabios.h b/vgasrc/vgabios.h
index 0e988bdb..2176ec61 100644
--- a/vgasrc/vgabios.h
+++ b/vgasrc/vgabios.h
@@ -2,9 +2,8 @@
#define __VGABIOS_H
#include "config.h" // CONFIG_VGA_EMULATE_TEXT
+#include "farptr.h" // GET_FARVAR
#include "types.h" // u8
-#include "farptr.h" // struct segoff_s
-#include "std/vga.h" // struct video_param_s
// Save/Restore flags
#define SR_HARDWARE 0x0001
@@ -81,12 +80,10 @@ extern u8 vgafont14alt[];
extern u8 vgafont16alt[];
// vgainit.c
-extern struct video_save_pointer_s video_save_pointer_table;
-extern struct video_param_s video_param_table[29];
-
-// vgabios.c
extern int VgaBDF;
extern int HaveRunInit;
+
+// vgabios.c
#define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val))
int vga_bpp(struct vgamode_s *vmode_g);
u16 calc_page_size(u8 memmodel, u16 width, u16 height);