Subject: cache bug (sh dumps core)
To: None <port-sparc@NetBSD.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: port-sparc
Date: 10/25/2005 20:42:47
I think I found the cache bug.  cache.c 1.79 changed cache flush
routines to use precomputed number of cache lines instead of doing an
extra access and shift each time.  The problem is that on split I/D
cache systems c_nlines is not initialized.  Oops, no more cache
flushes :)

I will commit a fix shortly and request pull-ups to 2.x and 3.x.  It
is too late for 2.1, though, so pick it from the branch when it's
pulled.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen