[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Timers
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] Timers |
Date: |
Wed, 23 May 2007 18:18:58 +0100 |
User-agent: |
KMail/1.9.6 |
On Wednesday 23 May 2007, Blue Swirl wrote:
> On 5/23/07, Paul Brook <address@hidden> wrote:
> > I get fed up of having to re-implement a simple countdown timer for every
> > new board, so I've added a simple periodic timer implementation to cvs
> > (ptimer.c). Currently only the Arm PrimeCell based boards use this, but
> > I've a few other uses in the pipeline.
>
> Nice idea! On Sparc the timer can be configured to work in 64-bit
> mode, so could the ptimer_get/set_count be changed to use 64-bit
> values?
In principle yes, though you may have to be careful to avoid overflows.
The current API supports specifying either frequency (better for fast, large
count timers) and period (better for slow, small count timers). We want to
avoid breaking either extreme when adding 64-bit counters.
Paul
- [Qemu-devel] Timers, Paul Brook, 2007/05/22
- Re: [Qemu-devel] Timers, George G. Davis, 2007/05/22
- Re: [Qemu-devel] Timers, Blue Swirl, 2007/05/23
- Re: [Qemu-devel] Timers,
Paul Brook <=
- Re: [Qemu-devel] Timers, Blue Swirl, 2007/05/23
- Re: [Qemu-devel] Timers, Paul Brook, 2007/05/23
- Re: [Qemu-devel] Timers, andrzej zaborowski, 2007/05/23
- Re: [Qemu-devel] Timers, Paul Brook, 2007/05/23
- Re: [Qemu-devel] Timers, Blue Swirl, 2007/05/24
- Re: [Qemu-devel] Timers, Paul Brook, 2007/05/24
Re: [Qemu-devel] Timers, George G. Davis, 2007/05/23