Deleted Added
full compact
28c28
< __FBSDID("$FreeBSD: user/ed/newcons/sys/dev/vt/hw/ofwfb/ofwfb.c 219888 2011-03-22 21:31:31Z ed $");
---
> __FBSDID("$FreeBSD: stable/10/sys/dev/vt/hw/ofwfb/ofwfb.c 262861 2014-03-06 18:30:56Z jhb $");
81c81
< u_int ofs;
---
> u_int ofs, size;
83a84
> size = sc->sc_stride * vd->vd_height;
86,87c87,89
< for (ofs = 0; ofs < sc->sc_stride*vd->vd_height; ofs++)
< *(uint8_t *)(sc->sc_addr + ofs) = color;
---
> c = (color << 24) | (color << 16) | (color << 8) | color;
> for (ofs = 0; ofs < size/4; ofs++)
> *(uint32_t *)(sc->sc_addr + 4*ofs) = c;
91c93
< for (ofs = 0; ofs < sc->sc_stride*vd->vd_height; ofs++)
---
> for (ofs = 0; ofs < size; ofs++)