[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 5/7] RTC:Add RTC update-ended interrupt suppo
From: |
Stefano Stabellini |
Subject: |
Re: [Qemu-devel] [PATCH v4 5/7] RTC:Add RTC update-ended interrupt support |
Date: |
Wed, 21 Mar 2012 16:54:34 +0000 |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
On Wed, 21 Mar 2012, Paolo Bonzini wrote:
> Il 20/03/2012 19:35, Stefano Stabellini ha scritto:
> > This is the function that is used to figure out whether we need the
> > timers or not, the condition seems to be:
> >
> > (Not (REG_C_UF | REG_C_AF)) And (Not (REG_B_SET))
> >
> > Shouldn't actually check for UIE being enabled?
>
> No, you need to set UF in case the code observes it without actually
> enabling interrupt delivery on the ISA bus.
Well, if it is just about updating UF, can we do it only when the user
reads REG_C?
I am just trying to limit the need for the update_timers...
Re: [Qemu-devel] [PATCH v4 5/7] RTC:Add RTC update-ended interrupt support, Zhang, Yang Z, 2012/03/21