Gavin Lambert wrote:
Quoth Sven Johnsson [EMAIL PROTECTED]:
How can I tell if cache is enabled or not? I just want it to be
enabled...
Simplest thing is to write a program that dumps the cache control
registers, then look them up in the CPU manual and see what they mean :)
The only way to be really sure too :)
Regards
Greg
Incidentally, though, mcfcache.h is not the most important header file
-- that one only has cache enabling on initial boot. It's the code in
cacheflush.h that's critically important, since that has both cache
enabling and disabling during normal operation. (I found, fixed, and
sent a patch around a long while ago for this latter file since the 5272
code was wrong, and was always leaving the cache disabled. Haven't
checked but hopefully it's been applied already for the recent
versions.)
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
--
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED]
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev