2008-09-01 11:51:23     blackfin_dcache_invalidate_range(unsigned int,unsigned int)

2008-09-01 11:51:23     blackfin_dcache_invalidate_range(unsigned int,unsigned int)

Stephen Sheldon (GERMANY)

Message: 61483   

Hi,

I need a function to invalidate some cache entries. I know that the FLUSHINV ASM instruction is also available in usermode.

Is there any C/C++ function available?

I found blackfin_dcache_invalidate_range(unsigned int,unsigned int) in linux-2.6.x/include/asm-blackfin/cacheflush.h. But this function is not available with bfin-linux-uclib toolchain, I think.

Linux version:  2.6.22.18-ADI-2008R1-svn

blackfin-toolchain version:  08r1-8

blackfin-toolchain-elf-gcc-4.1 version: 08r1-8

blackfin-toolchain-uclibc-full  version: 08r1-8

U-Boot 1.1.6-svn1112

Best regards

Stephen

TranslateQuoteReplyEditDelete

2008-09-01 12:41:11     Re: blackfin_dcache_invalidate_range(unsigned int,unsigned int)

Mike Frysinger (UNITED STATES)

Message: 61489   

there are no cache functions available to applications running in Linux.  userspace applications arent supposed to care about cache.

  • Created
Was this helpful?

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.