On 03/02/2015 12:23, Pavel Dovgaluk wrote:
> > Only to the cpu_get_ticks usage.  The others are okay.
> 
> cpu_get_ticks cannot call cpu_get_real_ticks in icount mode.

You're right, but...

> And other functions can.

... which functions?  cpu_enable_ticks and cpu_disable_ticks call it,
but the result is only used by cpu_get_ticks.  As you said, this cannot
be called in icount mode.

A couple of PPC device models call it, but they probably should call
cpu_get_ticks instead.  So it looks like handling REAL_TICKS is
altogether unnecessary.

Paolo

Reply via email to