This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: mips hal_cache.h patch
Andy Dyer wrote:
The attched patch changes hal/mips/arch/current/include/hal_cache.h file
to correct the definitions for _IWAY and _DWAY for machines that use the
LSB bits of the offset to indicate the cache way.
I've thought about this, and although I was initially sceptical given that
the existing tx49 implementation (which also uses the LSB) used this
successfully, I think you're right. I can only assume it doesn't actually
matter if the offset corresponding to the next vaddr up for the cache line
is chosen.
So I've committed it, thanks!
Note that although quite long this patch is mostly repetitive which allows
us to slip it in under the copyright assignment radar. But any larger
patches will need an assignment. Have a look at
http://ecos.sourceware.org/patches.html for details, thanks!
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine