mips32_flush_cache routine corrupts CP0_STATUS with gcc-2.96
Quoted 3 lines
One of the things it fix, is a typo, which will hit you because you have
different
Quoted 2 lines
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.
Quoted 5 lines
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