aboutsummaryrefslogtreecommitdiffstats
path: root/vgasrc/stdvga.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2012-01-24 00:07:44 -0500
committerKevin O'Connor <kevin@koconnor.net>2012-02-01 20:38:49 -0500
commit3876b531222c53124b0eb154fb331c0c662f5e09 (patch)
tree23f39e04767b1da3b8983ab1432821ee95bdc42c /vgasrc/stdvga.h
parent9961f9958cbc169c531dbdb7c3a8f71d4f79d0c1 (diff)
downloadseabios-3876b531222c53124b0eb154fb331c0c662f5e09.tar.gz
vgabios: Add support for vbe get/set line length function.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'vgasrc/stdvga.h')
-rw-r--r--vgasrc/stdvga.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vgasrc/stdvga.h b/vgasrc/stdvga.h
index 05f2bf55..ad496b5d 100644
--- a/vgasrc/stdvga.h
+++ b/vgasrc/stdvga.h
@@ -129,6 +129,7 @@ void stdvga_planar4_plane(int plane);
void stdvga_load_font(u16 seg, void *src_far, u16 count
, u16 start, u8 destflags, u8 fontsize);
u16 stdvga_get_crtc(void);
+int stdvga_bpp_factor(struct vgamode_s *vmode_g);
void stdvga_set_cursor_shape(u8 start, u8 end);
void stdvga_set_active_page(u16 address);
void stdvga_set_cursor_pos(u16 address);
@@ -136,6 +137,8 @@ void stdvga_set_scan_lines(u8 lines);
u16 stdvga_get_vde(void);
int stdvga_get_window(struct vgamode_s *vmode_g, int window);
int stdvga_set_window(struct vgamode_s *vmode_g, int window, int val);
+int stdvga_get_linelength(struct vgamode_s *vmode_g);
+int stdvga_set_linelength(struct vgamode_s *vmode_g, int val);
void stdvga_save_state(u16 seg, struct saveVideoHardware *info);
void stdvga_restore_state(u16 seg, struct saveVideoHardware *info);
int stdvga_set_mode(struct vgamode_s *vmode_g, int flags);