>>>>> "Peter" == Peter Chubb <peter.ch...@nicta.com.au> writes:

Peter> I'm not sure how to make qdev properties work.  The timers need
Peter> to be able to get at the CCM-generated frequencies, which of
Peter> course are private to the CCM.

I've just split the problematic function into two:
iomx_timerg_create() and imx_timerp_create(). That gets rid of the
strcmp, and makes it more obvious what's going on.  Because there will
only ever be one CCM, there's no point in making it a property.

I'm still not sure what to do about rate-limiting timer timeouts.  I
agree with you, Peter M, that it should be handled in the QEMU timer
layer somewhere.  Having had another look at the code, I really don't
want to touch it.

Peter C

--
Dr Peter Chubb                                  peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au          Software Systems Research Group/NICTA

Reply via email to