aboutsummaryrefslogtreecommitdiffstats
path: root/vgasrc/vgautil.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2024-03-15 19:50:29 -0400
committerKevin O'Connor <kevin@koconnor.net>2024-03-15 19:50:29 -0400
commit1588fd1437960d94cadc30c42243671e8c0f1281 (patch)
tree0cf7998bd5397998f27af9291b078cde5ba3e603 /vgasrc/vgautil.h
parentd73e18bb70f8bf0c6fd405900dd267948dd6c3b2 (diff)
downloadseabios-1588fd1437960d94cadc30c42243671e8c0f1281.tar.gz
vgasrc: Rename vgahw_get_linesize() to vgahw_minimum_linelength()
Make the relationship between vgahw_get_linelength() and vgahw_get_linesize() more clear by renaming it to vgahw_minimum_linelength(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'vgasrc/vgautil.h')
-rw-r--r--vgasrc/vgautil.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/vgasrc/vgautil.h b/vgasrc/vgautil.h
index 245a562f..ce307c93 100644
--- a/vgasrc/vgautil.h
+++ b/vgasrc/vgautil.h
@@ -9,6 +9,7 @@ struct vgamode_s *cbvga_find_mode(int mode);
void cbvga_list_modes(u16 seg, u16 *dest, u16 *last);
int cbvga_get_window(struct vgamode_s *curmode_g, int window);
int cbvga_set_window(struct vgamode_s *curmode_g, int window, int val);
+int cbvga_minimum_linelength(struct vgamode_s *vmode_g);
int cbvga_get_linelength(struct vgamode_s *curmode_g);
int cbvga_set_linelength(struct vgamode_s *curmode_g, int val);
int cbvga_get_displaystart(struct vgamode_s *curmode_g);
@@ -17,7 +18,6 @@ int cbvga_get_dacformat(struct vgamode_s *curmode_g);
int cbvga_set_dacformat(struct vgamode_s *curmode_g, int val);
int cbvga_save_restore(int cmd, u16 seg, void *data);
int cbvga_set_mode(struct vgamode_s *vmode_g, int flags);
-int cbvga_get_linesize(struct vgamode_s *vmode_g);
void cbvga_setup_modes(u64 addr, u8 bpp, u32 xlines, u32 ylines, u32 linelength);
int cbvga_setup(void);
@@ -77,7 +77,6 @@ void stdvga_list_modes(u16 seg, u16 *dest, u16 *last);
void stdvga_build_video_param(void);
void stdvga_override_crtc(int mode, u8 *crtc);
int stdvga_set_mode(struct vgamode_s *vmode_g, int flags);
-int stdvga_get_linesize(struct vgamode_s *vmode_g);
void stdvga_set_packed_palette(void);
// swcursor.c