qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: 452efb didn't show up in the list


From: Blue Swirl
Subject: [Qemu-devel] Re: 452efb didn't show up in the list
Date: Thu, 1 Apr 2010 22:59:15 +0300

Which list?

On 4/1/10, Artyom Tarasenko <address@hidden> wrote:
> and looks wrong or incomplete to me:
>
>  >According to Sun4M System Architecture Manual chapter 5.3.2, a limit
>  >of 0 will not generate interrupts.
>
>  This is indeed correct, but the chapter 5.3.2 also explains why:
>
>  "Setting the limit register to  0  allows the counter to free run. Since the
>  timer always resets to a value of 500 nS after reaching maximum count,
>  there is no match and no interrupts are generated."
>
>  The part about 500 nS (0x00000200 in the counter register) and
>  no match seems to be not addressed.

The 500ns offset part could be addressed by making the timer period
shorter by 1 tick. I doubt such a change would have any visible
difference with QEMU, except that tick count of 0 should never appear
in the counter but it may now.

For the no match part, t->reached should not be set if t->limit == 0.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]