How clear and invalidate ARM v7 processor cache from User Mode on Linux 2.6.35
问题 I tried clear and invalidate ARM v7 processor cache for instruction line, because instruction codes can change in execution. For reaching the effect, I tried 2 variants. Here they are: I used GCC __clear_cache() function but it didn't give a required result. Instruction codes in cache didn't change. I looked for a source codes for GCC and found the uclinux-eabi.h file where I found the next code for clearing cache: /* Clear the instruction cache from `beg' to `end'. This makes an inline