vgacon.c (77bc14f273c2dfecbf87f41fdc00345d99597e13) | vgacon.c (c0e4b3ad67997a6756ce0d22335b190baaa9914a) |
---|---|
1/* 2 * linux/drivers/video/vgacon.c -- Low level VGA based console driver 3 * 4 * Created 28 Sep 1997 by Geert Uytterhoeven 5 * 6 * Rewritten by Martin Mares <mj@ucw.cz>, July 1998 7 * 8 * This file is based on the old console.c, vga.c and vesa_blank.c drivers. --- 714 unchanged lines hidden (view full) --- 723 vgacon_set_cursor_size(c->state.x, 31, 30); 724 else 725 vgacon_set_cursor_size(c->state.x, 31, 31); 726 break; 727 728 case CM_MOVE: 729 case CM_DRAW: 730 write_vga(14, (c->vc_pos - vga_vram_base) / 2); | 1/* 2 * linux/drivers/video/vgacon.c -- Low level VGA based console driver 3 * 4 * Created 28 Sep 1997 by Geert Uytterhoeven 5 * 6 * Rewritten by Martin Mares <mj@ucw.cz>, July 1998 7 * 8 * This file is based on the old console.c, vga.c and vesa_blank.c drivers. --- 714 unchanged lines hidden (view full) --- 723 vgacon_set_cursor_size(c->state.x, 31, 30); 724 else 725 vgacon_set_cursor_size(c->state.x, 31, 31); 726 break; 727 728 case CM_MOVE: 729 case CM_DRAW: 730 write_vga(14, (c->vc_pos - vga_vram_base) / 2); |
731 switch (c->vc_cursor_type & 0x0f) { | 731 switch (CUR_SIZE(c->vc_cursor_type)) { |
732 case CUR_UNDERLINE: 733 vgacon_set_cursor_size(c->state.x, 734 c->vc_font.height - 735 (c->vc_font.height < 736 10 ? 2 : 3), 737 c->vc_font.height - 738 (c->vc_font.height < 739 10 ? 1 : 2)); --- 714 unchanged lines hidden --- | 732 case CUR_UNDERLINE: 733 vgacon_set_cursor_size(c->state.x, 734 c->vc_font.height - 735 (c->vc_font.height < 736 10 ? 2 : 3), 737 c->vc_font.height - 738 (c->vc_font.height < 739 10 ? 1 : 2)); --- 714 unchanged lines hidden --- |