[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] implementing architectural timers using QEMU timers
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] implementing architectural timers using QEMU timers |
Date: |
Thu, 12 Jan 2017 12:01:52 +0000 |
On 12 January 2017 at 11:28, Pavel Dovgalyuk <address@hidden> wrote:
>> From: Max Filippov [mailto:address@hidden
>> Ok, looks like what happens in my case is that instruction that
>> sets CCOMPARE and thus changes remaining icount does not
>> cause exit from the cpu_exec. So merely ending TB on
>> QEMU_CLOCK_VIRTUAL timer update is not enough, I need to
>> throw an exception of some kind? Or does the timer code need
>> to take care of that?
>
> Yes, it seems that you should end the block with an exception,
> to allow icount loop recalculate the timeouts.
Really? The ARM translate.c doesn't generate an exception.
It just does
gen_io_end();
gen_lookup_tb();
(so we force a lookup of the next TB, but don't throw an
exception of any kind).
thanks
-- PMM
- [Qemu-devel] implementing architectural timers using QEMU timers, Max Filippov, 2017/01/09
- Re: [Qemu-devel] implementing architectural timers using QEMU timers, Alex Bligh, 2017/01/09
- Re: [Qemu-devel] implementing architectural timers using QEMU timers, Pavel Dovgalyuk, 2017/01/10
- Re: [Qemu-devel] implementing architectural timers using QEMU timers, Max Filippov, 2017/01/10
- Re: [Qemu-devel] implementing architectural timers using QEMU timers, Pavel Dovgalyuk, 2017/01/12
- Re: [Qemu-devel] implementing architectural timers using QEMU timers,
Peter Maydell <=
- Re: [Qemu-devel] implementing architectural timers using QEMU timers, Pavel Dovgalyuk, 2017/01/12
- Re: [Qemu-devel] implementing architectural timers using QEMU timers, Paolo Bonzini, 2017/01/16
- Re: [Qemu-devel] implementing architectural timers using QEMU timers, Pavel Dovgalyuk, 2017/01/17
- Re: [Qemu-devel] implementing architectural timers using QEMU timers, Max Filippov, 2017/01/17
- Re: [Qemu-devel] implementing architectural timers using QEMU timers, Max Filippov, 2017/01/15
Re: [Qemu-devel] implementing architectural timers using QEMU timers, Frederic Konrad, 2017/01/10