Suggestions for arm build for qemu?

Mark Tinguely marktinguely at gmail.com
Mon Jul 11 11:45:07 UTC 2011


On 7/11/2011 4:13 AM, Damjan Marion wrote:
> On Jul 11, 2011, at 3:17 AM, Mark Tinguely wrote:
>
>> With option ARM_CACHE_LOCK_ENABLE compiled into the kernel, qemu will give an illegal instruction error.
> Huh, nice to know. I patched qemu to ignore this instruction :)
>
> BTW Any idea from where (c9, c2, {0, 0}) is coming from? I was not able to find it in ARM ARM.
>
> Damjan

Best guess it is the XScale "Read or Write data cache lock register"  
(mrc/mcr p15, 0, Rd, c9, c2, 0) via the arm_lock_cache_line() in machdep.c.

--Mark Tinguely.




More information about the freebsd-arm mailing list