Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sbus call vcons_replay_msgbuf() if we're the console
details: https://anonhg.NetBSD.org/src/rev/73ce4a2595a2
branches: trunk
changeset: 746794:73ce4a2595a2
user: macallan <macallan%NetBSD.org@localhost>
date: Thu Aug 20 02:29:16 2009 +0000
description:
call vcons_replay_msgbuf() if we're the console
diffstat:
sys/dev/sbus/agten.c | 5 +++--
sys/dev/sbus/p9100.c | 7 ++++---
sys/dev/sbus/tcx.c | 7 +++----
3 files changed, 10 insertions(+), 9 deletions(-)
diffs (91 lines):
diff -r 11e488b744b8 -r 73ce4a2595a2 sys/dev/sbus/agten.c
--- a/sys/dev/sbus/agten.c Thu Aug 20 02:01:55 2009 +0000
+++ b/sys/dev/sbus/agten.c Thu Aug 20 02:29:16 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: agten.c,v 1.19 2009/05/26 03:32:51 macallan Exp $ */
+/* $NetBSD: agten.c,v 1.20 2009/08/20 02:29:16 macallan Exp $ */
/*-
* Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agten.c,v 1.19 2009/05/26 03:32:51 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agten.c,v 1.20 2009/08/20 02:29:16 macallan Exp $");
/*
* a driver for the Fujitsu AG-10e SBus framebuffer
@@ -314,6 +314,7 @@
i128_rectfill(sc->sc_bustag, sc->sc_i128_regh, 0, 0,
sc->sc_width, sc->sc_height,
ri->ri_devcmap[(defattr >> 16) & 0xff]);
+ vcons_replay_msgbuf(&sc->sc_console_screen);
} else {
/*
* since we're not the console we can postpone the rest
diff -r 11e488b744b8 -r 73ce4a2595a2 sys/dev/sbus/p9100.c
--- a/sys/dev/sbus/p9100.c Thu Aug 20 02:01:55 2009 +0000
+++ b/sys/dev/sbus/p9100.c Thu Aug 20 02:29:16 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: p9100.c,v 1.46 2009/06/03 16:25:22 macallan Exp $ */
+/* $NetBSD: p9100.c,v 1.47 2009/08/20 02:29:16 macallan Exp $ */
/*-
* Copyright (c) 1998, 2005, 2006 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: p9100.c,v 1.46 2009/06/03 16:25:22 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: p9100.c,v 1.47 2009/08/20 02:29:16 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -460,6 +460,7 @@
if(isconsole) {
wsdisplay_cnattach(&p9100_defscreendesc, ri, 0, 0, defattr);
+ vcons_replay_msgbuf(&p9100_console_screen);
}
aa.console = isconsole;
@@ -1083,7 +1084,7 @@
int fg, bg, uc, i;
uint8_t *data;
- int x, y, wi,he;
+ int x, y, wi, he;
wi = ri->ri_font->fontwidth;
he = ri->ri_font->fontheight;
diff -r 11e488b744b8 -r 73ce4a2595a2 sys/dev/sbus/tcx.c
--- a/sys/dev/sbus/tcx.c Thu Aug 20 02:01:55 2009 +0000
+++ b/sys/dev/sbus/tcx.c Thu Aug 20 02:29:16 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tcx.c,v 1.38 2009/08/20 02:01:55 macallan Exp $ */
+/* $NetBSD: tcx.c,v 1.39 2009/08/20 02:29:16 macallan Exp $ */
/*
* Copyright (c) 1996, 1998, 2009 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcx.c,v 1.38 2009/08/20 02:01:55 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcx.c,v 1.39 2009/08/20 02:29:16 macallan Exp $");
/*
* define for cg8 emulation on S24 (24-bit version of tcx) for the SS5;
@@ -401,10 +401,9 @@
if(isconsole) {
wsdisplay_cnattach(&tcx_defscreendesc, ri, 0, 0, defattr);
+ vcons_replay_msgbuf(&tcx_console_screen);
}
- vcons_replay_msgbuf(&tcx_console_screen);
-
aa.console = isconsole;
aa.scrdata = &tcx_screenlist;
aa.accessops = &tcx_accessops;
Home |
Main Index |
Thread Index |
Old Index