Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/vt/vt_cpulogos.c
Show First 20 Lines • Show All 223 Lines • ▼ Show 20 Lines | vt_init_logos(void *dummy) | ||||
vd = vw->vw_device; | vd = vw->vw_device; | ||||
if (vd == NULL) | if (vd == NULL) | ||||
return; | return; | ||||
vf = vw->vw_font; | vf = vw->vw_font; | ||||
if (vf == NULL) | if (vf == NULL) | ||||
return; | return; | ||||
VT_LOCK(vd); | VT_LOCK(vd); | ||||
KASSERT((vd->vd_flags & VDF_INITIALIZED) != 0, | if ((vd->vd_flags & VDF_INITIALIZED) == 0) | ||||
("vd %p not initialized", vd)); | goto out; | ||||
if ((vd->vd_flags & (VDF_DEAD | VDF_TEXTMODE)) != 0) | if ((vd->vd_flags & (VDF_DEAD | VDF_TEXTMODE)) != 0) | ||||
goto out; | goto out; | ||||
if (vd->vd_height <= vt_logo_sprite_height) | if (vd->vd_height <= vt_logo_sprite_height) | ||||
goto out; | goto out; | ||||
vt_draw_logo_cpus = 1; | vt_draw_logo_cpus = 1; | ||||
VT_UNLOCK(vd); | VT_UNLOCK(vd); | ||||
Show All 26 Lines |