vt_mode
bool vt_mode;
bool vt_mode = false;
vt_mode = dcb_config->vt_mode;
if (!((tc_count == 8 && vt_mode == false) || tc_count == 4))
if (tc_count == 8 && vt_mode == false) {
} else if (tc_count == 4 && vt_mode == false) {
} else if (tc_count == 4 && vt_mode == true) {
if (dcb_config->vt_mode)
if (dcb_config->vt_mode)
struct vt_mode *pmode;
pmode = (struct vt_mode *)(void *)mp->b_cont->b_rptr;
vt_setmode(vc_state_t *pvc, struct vt_mode *pmode)
struct vt_mode vtmode;
if (!(tmp = allocb(sizeof (struct vt_mode), BPRI_MED))) {
*(struct vt_mode *)(void *)tmp->b_rptr = vtmode;
tmp->b_wptr += sizeof (struct vt_mode);
vt_copyout(q, mp, tmp, sizeof (struct vt_mode));
vt_copyin(q, mp, sizeof (struct vt_mode));
_NOTE(SCHEME_PROTECTS_DATA("D_MTPERMOD protected data", vt_mode))