Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/wsfb call vcons_hard_switch to switch to the console...
details: https://anonhg.NetBSD.org/src/rev/7ba33c24e980
branches: trunk
changeset: 762261:7ba33c24e980
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Fri Feb 18 13:56:58 2011 +0000
description:
call vcons_hard_switch to switch to the console screen when entering polling
mode, makes ddb-from-X work with genfb on x86
diffstat:
sys/dev/wsfb/genfb.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r c53a3b0751d4 -r 7ba33c24e980 sys/dev/wsfb/genfb.c
--- a/sys/dev/wsfb/genfb.c Fri Feb 18 13:56:11 2011 +0000
+++ b/sys/dev/wsfb/genfb.c Fri Feb 18 13:56:58 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfb.c,v 1.36 2011/02/12 17:15:27 phx Exp $ */
+/* $NetBSD: genfb.c,v 1.37 2011/02/18 13:56:58 jmcneill Exp $ */
/*-
* Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfb.c,v 1.36 2011/02/12 17:15:27 phx Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfb.c,v 1.37 2011/02/18 13:56:58 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -692,6 +692,7 @@
struct genfb_softc *sc = device_private(dev);
SCREEN_ENABLE_DRAWING(&sc->sc_console_screen);
+ vcons_hard_switch(&sc->sc_console_screen);
vcons_enable_polling(&sc->vd);
}
Home |
Main Index |
Thread Index |
Old Index