aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2024-04-01 11:03:59 -0400
committerKevin O'Connor <kevin@koconnor.net>2024-04-05 17:59:42 -0400
commitc67914ac42374e61469de45a1bba5e163c1d2dee (patch)
tree0114a2a8f87c9354a3af9b20a48cf0a4d64a3a34
parentaa94925d296dc31a38360056227ffb0eea749572 (diff)
downloadseabios-c67914ac42374e61469de45a1bba5e163c1d2dee.zip
seabios-c67914ac42374e61469de45a1bba5e163c1d2dee.tar.gz
seabios-c67914ac42374e61469de45a1bba5e163c1d2dee.tar.bz2
stdvga: Rename stdvga_set_text_block_specifier() to stdvga_set_font_location()
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--vgasrc/stdvga.c14
-rw-r--r--vgasrc/stdvga.h2
-rw-r--r--vgasrc/vgabios.c2
3 files changed, 9 insertions, 9 deletions
diff --git a/vgasrc/stdvga.c b/vgasrc/stdvga.c
index 4e2fb1f..ed88edc 100644
--- a/vgasrc/stdvga.c
+++ b/vgasrc/stdvga.c
@@ -154,13 +154,6 @@ stdvga_perform_gray_scale_summing(u16 start, u16 count)
* Memory control
****************************************************************/
-// Set the video memory location of the start of character fonts
-void
-stdvga_set_text_block_specifier(u8 spec)
-{
- stdvga_sequ_write(0x03, spec);
-}
-
// Enable reads and writes to the given "plane" when in planar4 mode.
void
stdvga_planar4_plane(int plane)
@@ -180,6 +173,13 @@ stdvga_planar4_plane(int plane)
* Font loading
****************************************************************/
+// Set the video memory location of the start of character fonts
+void
+stdvga_set_font_location(u8 spec)
+{
+ stdvga_sequ_write(0x03, spec);
+}
+
static void
get_font_access(void)
{
diff --git a/vgasrc/stdvga.h b/vgasrc/stdvga.h
index e9cd2f0..8760486 100644
--- a/vgasrc/stdvga.h
+++ b/vgasrc/stdvga.h
@@ -56,8 +56,8 @@ void stdvga_set_palette_pagesize(u8 pal_pagesize);
void stdvga_set_palette_page(u8 pal_page);
void stdvga_get_palette_page(u8 *pal_pagesize, u8 *pal_page);
void stdvga_perform_gray_scale_summing(u16 start, u16 count);
-void stdvga_set_text_block_specifier(u8 spec);
void stdvga_planar4_plane(int plane);
+void stdvga_set_font_location(u8 spec);
void stdvga_load_font(u16 seg, void *src_far, u16 count
, u16 start, u8 destflags, u8 fontsize);
u16 stdvga_get_crtc(void);
diff --git a/vgasrc/vgabios.c b/vgasrc/vgabios.c
index 00325f5..22c0261 100644
--- a/vgasrc/vgabios.c
+++ b/vgasrc/vgabios.c
@@ -686,7 +686,7 @@ handle_101102(struct bregs *regs)
static void
handle_101103(struct bregs *regs)
{
- stdvga_set_text_block_specifier(regs->bl);
+ stdvga_set_font_location(regs->bl);
}
static void