Define default size for early console to 640x480.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
ray 2013-11-05 23:00:26 +00:00
parent 1f23a20cd6
commit 24c8405a42

View File

@ -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; \