diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2024-04-02 13:07:58 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2024-04-05 17:59:49 -0400 |
commit | c5a361c09a19e3b1a83557b01f11f04b27181a11 (patch) | |
tree | a63b9a6f2f755ae233e9092615e43b122937fdf2 /vgasrc/stdvga.h | |
parent | 22c91412600b7fabd75ef68d2d4d3e63e9e27f9f (diff) | |
download | seabios-c5a361c09a19e3b1a83557b01f11f04b27181a11.tar.gz |
stdvga: Add stdvga_set_vertical_size() helper function
Add helper function and update the bochsvga.c code to use it. This
emphasizes the relationship between stdvga_get_vertical_size() and
stdvga_set_vertical_size() code.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'vgasrc/stdvga.h')
-rw-r--r-- | vgasrc/stdvga.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vgasrc/stdvga.h b/vgasrc/stdvga.h index 18285852..ce5a80ab 100644 --- a/vgasrc/stdvga.h +++ b/vgasrc/stdvga.h @@ -67,6 +67,7 @@ void stdvga_set_cursor_shape(u16 cursor_type); void stdvga_set_cursor_pos(int address); void stdvga_set_character_height(u8 lines); u16 stdvga_get_vertical_size(void); +void stdvga_set_vertical_size(int lines); int stdvga_get_window(struct vgamode_s *curmode_g, int window); int stdvga_set_window(struct vgamode_s *curmode_g, int window, int val); int stdvga_minimum_linelength(struct vgamode_s *vmode_g); |