On 26/09/08 01:23 +0200, Stefan Reinauer wrote:
See patch
-- coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br. Tel.: +49 761 7668825 • Fax: +49 761 7664613 Email: info@coresystems.de • http://www.coresystems.de/ Registergericht: Amtsgericht Freiburg • HRB 7656 Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
Use a block cursor on VGA console :-)
Signed-off-by: Stefan Reinauer stepan@coresystems.de
Bah - who needs cursors?
Acked-by: Jordan Crouse jordan.crouse@amd.com
Index: drivers/video/vga.c
--- drivers/video/vga.c (revision 3600) +++ drivers/video/vga.c (working copy) @@ -123,8 +123,22 @@ *ptr = (u16) (c & 0xFFFF); }
+static void vga_init_cursor(void) +{
- u8 val;
+#define CURSOR_MSL 0x09 /* cursor maximum scan line */ +#define CURSOR_START 0x0A /* cursor start */ +#define CURSOR_END 0x0B /* cursor end */
- val = crtc_read(CURSOR_MSL) & 0x1f;
- crtc_write(0, CURSOR_START);
- crtc_write(val - 2, CURSOR_END);
+}
static int vga_init(void) {
- vga_init_cursor(); return 0;
}
-- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot