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 :)

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
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to