diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2024-03-15 19:50:29 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2024-03-15 19:50:29 -0400 |
commit | 1588fd1437960d94cadc30c42243671e8c0f1281 (patch) | |
tree | 0cf7998bd5397998f27af9291b078cde5ba3e603 /vgasrc/cbvga.c | |
parent | d73e18bb70f8bf0c6fd405900dd267948dd6c3b2 (diff) | |
download | seabios-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/cbvga.c')
-rw-r--r-- | vgasrc/cbvga.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vgasrc/cbvga.c b/vgasrc/cbvga.c index 9e3cc931..243e6be9 100644 --- a/vgasrc/cbvga.c +++ b/vgasrc/cbvga.c @@ -82,6 +82,13 @@ cbvga_set_window(struct vgamode_s *curmode_g, int window, int val) } int +cbvga_minimum_linelength(struct vgamode_s *vmode_g) +{ + /* Can't change mode, always report active pitch. */ + return GET_GLOBAL(CBlinelength); +} + +int cbvga_get_linelength(struct vgamode_s *curmode_g) { return GET_GLOBAL(CBlinelength); @@ -156,13 +163,6 @@ cbvga_set_mode(struct vgamode_s *vmode_g, int flags) return 0; } -int -cbvga_get_linesize(struct vgamode_s *vmode_g) -{ - /* Can't change mode, always report active pitch. */ - return GET_GLOBAL(CBlinelength); -} - #define CB_TAG_FRAMEBUFFER 0x0012 struct cb_framebuffer { u32 tag; |