On 05/15/2012 10:31 AM, nicolas.sauzede wrote:
Sorry, What I meant was the IO handlers we can register, when initializing an io memory area :iomemtype = cpu_register_io_memory(tlm_qemu_readfn, tlm_qemu_writefn, s, DEVICE_NATIVE_ENDIAN);
Yes, it's entirely intentional to prevent io handlers from accessing CPUState.For what you're doing, you need to hook more deeply into target-arm before the dispatch actually happens.
Regards, Anthony Liguori