Use libgcc __clear_cache to clean icache, when available.
commit3233f0d463d299be89e2672928fc215dc99c2c71
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 1 Dec 2008 02:02:37 +0000 (1 02:02 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 1 Dec 2008 02:02:37 +0000 (1 02:02 +0000)
treedac89efe98e8fab634570c25683c519e453e2daf
parent80fe30ed3432d1ba166f4583b297f1b51be58cc8
Use libgcc __clear_cache to clean icache, when available.

Calling the clear cache syscall directly generates an illegal instruction
on some (armv4) kernels.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5843 c046a42c-6fe2-441c-8c8c-71466251a162
exec-all.h
tcg/arm/tcg-target.h