lkml.org 
[lkml]   [1998]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.354 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site