Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2003 13:11:37 -0800 (PST)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 25061 for review
Message-ID:  <200302122111.h1CLBbC9070785@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=25061

Change 25061 by marcel@marcel_vaio on 2003/02/12 13:11:28

	Make this compile, fill in the blanks and add some verbosity.

Affected files ...

.. //depot/projects/tty/sys/dev/vga/vga_cons.c#2 edit

Differences ...

==== //depot/projects/tty/sys/dev/vga/vga_cons.c#2 (text+ko) ====

@@ -28,6 +28,7 @@
 
 #include <sys/param.h>
 #include <sys/systm.h>
+#include <sys/kernel.h>
 #include <machine/bus.h>
 #include <sys/bus.h>
 #include <sys/rman.h>
@@ -77,7 +78,9 @@
 	    (vga_console.vga_mono) ? 0x10000 : 0x18000, 4096,
 	    &vga_console.vga_screen.bsh);
 	if (error)
-		return (error);
+		return;
+
+	vga_puts(&vga_console, "VGA probe successful\n");
 
 	cp->cn_pri = CN_INTERNAL;
 }
@@ -89,6 +92,8 @@
 	vga_console.vga_console = 1;
 	vga_console.vga_enable = 1;
 
+	vga_puts(&vga_console, "VGA is the system console\n");
+
 	/* It's official... */
 	vga_console.vga_consdev = cp;
 }
@@ -106,6 +111,7 @@
 	int s;
 
 	s = spltty();
+	vga_putc(&vga_console, c);
 	splx(s);
 }
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302122111.h1CLBbC9070785>