]> xenbits.xensource.com Git - osstest/seabios.git/commitdiff
stdvga: Rename stdvga_set_text_block_specifier() to stdvga_set_font_location()
authorKevin O'Connor <kevin@koconnor.net>
Mon, 1 Apr 2024 15:03:59 +0000 (11:03 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 5 Apr 2024 21:59:42 +0000 (17:59 -0400)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
vgasrc/stdvga.c
vgasrc/stdvga.h
vgasrc/vgabios.c

index 4e2fb1fd470a572691899ecb1653872805016c15..ed88edc8a4fd4f4b3b6533065c893590b0ddbfe1 100644 (file)
@@ -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)
 {
index e9cd2f09ba9e5a8a474c6c71d79824e49e55c089..87604869ac65c9cc5342c7a7d2644d001b052290 100644 (file)
@@ -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);
index 00325f5b3228f225b99b992e775b752af8149ec3..22c026120d8ffec4cdad31393895f752fdee205d 100644 (file)
@@ -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