Cleaning cache on a SBC2440-II (ARM920T) board

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Is there a possibility to clean the data cache on an arm920t board  
under arm-linux?

I'm working on a c program, where a lookup table must be removed from  
the cache or the entire cache cleaned.
Is this possible without causing an segmentation fault as normal root  
user?

I read that with following code it is possible to clean and invalidate  
the dcahe:
MCR p15,0,Rd,c7,c14,1
How can I add this to my programm with inline assembler?

Thanks!

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Index of Archives]     [Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [Linux ARM MSM]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux