svn commit: r257626 - user/ed/newcons/sys/dev/vt
Aleksandr Rybalko
ray at FreeBSD.org
Mon Nov 4 09:01:53 UTC 2013
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);
More information about the svn-src-user
mailing list