Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/vt/vt_core.c
Context not available. | |||||
/* Check if the cursor should be displayed or not. */ | /* Check if the cursor should be displayed or not. */ | ||||
if ((vd->vd_flags & VDF_MOUSECURSOR) && /* Mouse support enabled. */ | if ((vd->vd_flags & VDF_MOUSECURSOR) && /* Mouse support enabled. */ | ||||
!(vw->vw_flags & VWF_MOUSE_HIDE) && /* Cursor displayed. */ | !(vw->vw_flags & VWF_MOUSE_HIDE) && /* Cursor displayed. */ | ||||
!kdb_active && panicstr == NULL) { /* DDB inactive. */ | !kdb_active && !KERNEL_PANICKED()) { /* DDB inactive. */ | ||||
vd->vd_mshown = 1; | vd->vd_mshown = 1; | ||||
} else { | } else { | ||||
vd->vd_mshown = 0; | vd->vd_mshown = 0; | ||||
Context not available. | |||||
struct vt_window *vw = tm->tm_softc; | struct vt_window *vw = tm->tm_softc; | ||||
struct vt_device *vd = vw->vw_device; | struct vt_device *vd = vw->vw_device; | ||||
if (kdb_active || panicstr != NULL) { | if (kdb_active || KERNEL_PANICKED()) { | ||||
/* Switch to the debugger. */ | /* Switch to the debugger. */ | ||||
if (vd->vd_curwindow != vw) { | if (vd->vd_curwindow != vw) { | ||||
vd->vd_curwindow = vw; | vd->vd_curwindow = vw; | ||||
Context not available. |