svn commit: r257724 - user/ed/newcons/sys/dev/vt

Aleksandr Rybalko ray at FreeBSD.org
Tue Nov 5 23:00:27 UTC 2013


Author: ray
Date: Tue Nov  5 23:00:26 2013
New Revision: 257724
URL: http://svnweb.freebsd.org/changeset/base/257724

Log:
  Define default size for early console to 640x480.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  user/ed/newcons/sys/dev/vt/vt.h

Modified: user/ed/newcons/sys/dev/vt/vt.h
==============================================================================
--- user/ed/newcons/sys/dev/vt/vt.h	Tue Nov  5 22:59:11 2013	(r257723)
+++ user/ed/newcons/sys/dev/vt/vt.h	Tue Nov  5 23:00:26 2013	(r257724)
@@ -256,6 +256,13 @@ void vt_upgrade(struct vt_device *vd);
 #define	PIXEL_WIDTH(w)	((w) / 8)
 #define	PIXEL_HEIGHT(h)	((h) / 16)
 
+#ifndef VT_FB_DEFAULT_WIDTH
+#define	VT_FB_DEFAULT_WIDTH	640
+#endif
+#ifndef VT_FB_DEFAULT_HEIGHT
+#define	VT_FB_DEFAULT_HEIGHT	480
+#endif
+
 #define	VT_CONSDEV_DECLARE(driver, width, height, softc)		\
 static struct terminal	driver ## _consterm;				\
 static struct vt_window	driver ## _conswindow;				\


More information about the svn-src-user mailing list