qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Get current env within io_handler ?


From: Anthony Liguori
Subject: Re: [Qemu-devel] Get current env within io_handler ?
Date: Tue, 15 May 2012 11:34:45 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]