Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2013 09:01:52 +0000 (UTC)
From:      Aleksandr Rybalko <ray@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r257626 - user/ed/newcons/sys/dev/vt
Message-ID:  <201311040901.rA491rcV089511@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ray
Date: Mon Nov  4 09:01:52 2013
New Revision: 257626
URL: http://svnweb.freebsd.org/changeset/base/257626

Log:
  Notify DRM about panic or kdb enter happen. So we can see kernel messages in
  that case.
  To investigate: Return from kdb is broken, seems due to locks usage. TODO
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  user/ed/newcons/sys/dev/vt/vt_core.c

Modified: user/ed/newcons/sys/dev/vt/vt_core.c
==============================================================================
--- user/ed/newcons/sys/dev/vt/vt_core.c	Mon Nov  4 08:48:35 2013	(r257625)
+++ user/ed/newcons/sys/dev/vt/vt_core.c	Mon Nov  4 09:01:52 2013	(r257626)
@@ -724,6 +724,8 @@ vtterm_done(struct terminal *tm)
 		if (vd->vd_curwindow != vw) {
 			vd->vd_curwindow = vw;
 			vd->vd_flags |= VDF_INVALID;
+			if (vd->vd_driver->vd_postswitch)
+				vd->vd_driver->vd_postswitch(vd);
 		}
 		vd->vd_flags &= ~VDF_SPLASH;
 		vt_flush(vd);



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