[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] when does a target frontend need to use gen_io_start()/
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] when does a target frontend need to use gen_io_start()/gen_io_end() ? |
Date: |
Wed, 13 May 2015 10:32:36 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 13/05/2015 08:57, Pavel Dovgaluk wrote:
>> > It's any instruction that can cause an icount read, typically through
>> > QEMU_CLOCK_VIRTUAL or cpu_get_ticks().
> Doesn't this mean that ARM has incorrect implementation of icount?
> MMIO is common for this platform, but none of memory accesses are
> surrounded with gen_io_start()/gen_io_end().
See here:
if (mr != &io_mem_rom && mr != &io_mem_notdirty && !cpu_can_do_io(cpu)) {
cpu_io_recompile(cpu, retaddr);
}
in softmmu_template.h.
Paolo