Messages in this thread | | | Date | Sat, 8 Aug 1998 17:37:40 -0700 | From | Richard Henderson <> | Subject | Re: linux-2.1.115 on alpha: bug in memsetw_io (or memset_c_io) |
| |
On Fri, Aug 07, 1998 at 03:52:52PM +0400, Alexander V. Lukyanov wrote: > I tracked it down to memsetw_io which is just a macro to memset_c_io. > BUT memsetw_io is used to clear video memory with two-byte sequence > (character/attribute), and memset_c_io clears with _single_ byte > on non-aligned margins. The consequence of that is clearing with > green color (' '=0x20) instead of current attribute.
I'd seen these before, but not tracked down what the problem was. Thanks!
Martin, I think it is a bug in the console code that an unaligned address was ever given to scr_memsetw. The characters in video memory are always aligned, therefore we must have an off-by-one bug.
I'll have a peek for this myself, but you can find it just as easy as I by instrumenting your kernel.
r~
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
| |