Re: mips32_flush_cache routine corrupts CP0_STATUS with gcc-2.96
From: Jon Burgess <hidden>
Date: 2002-07-12 15:20:52
From: Jon Burgess <hidden>
Date: 2002-07-12 15:20:52
One of the things it fix, is a typo, which will hit you because you have
different
size of the I- and D-caches. But it also fix, that in a lot of the cache routine, we only flush one of the
ways.
Please see the attached patch, I think Ralf didn't liked it, because it wasn't optimized for speed, but at least it's better than what we got. /Carsten
The typo was fixed in the code which Broadcom supplied to us. I noticed this was
not fixed in the mainstream code and was meaning to submit a patch for it. I
will check out the other changes next week. Thanks for the patch.
Jon