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>
This commit is contained in:
parent
aa94925d29
commit
c67914ac42
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue