linux-mips
[Top] [All Lists]

Re: Improperly handled case in arch/mips/au1000/common/time.c

To: Pete Popov <ppopov@mvista.com>
Subject: Re: Improperly handled case in arch/mips/au1000/common/time.c
From: Jun Sun <jsun@mvista.com>
Date: Tue, 22 Apr 2003 16:07:19 -0700
Cc: Jeff Baitis <baitisj@evolution.com>, Linux MIPS mailing list <linux-mips@linux-mips.org>, jsun@mvista.com
In-reply-to: <1051052439.2552.352.camel@zeus.mvista.com>; from ppopov@mvista.com on Tue, Apr 22, 2003 at 04:00:39PM -0700
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030422125450.E10148@luca.pas.lab> <20030422155625.E28544@mvista.com> <1051052439.2552.352.camel@zeus.mvista.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5i
On Tue, Apr 22, 2003 at 04:00:39PM -0700, Pete Popov wrote:
> On Tue, 2003-04-22 at 15:56, Jun Sun wrote:
> > I think this is a good example to show benefit of code sharing.
> > There is no good reason for au1x00 boards of not using new time.c.
> > You get to write less board code, fewer bugs and future proof.
> 
> The I didn't use the generic time.c back then is power management. 

Oh, I see.  My ignorance ... :)

> The
> CP0 counter sleeps when using the 'wait' instruction, so in that case
> you have to use a different counter with a rather poor resolution. The
> modifications I had to make were such that they couldn't go in the
> generic time.c. But that area definitely needs to be revisited and
> cleaned up.
>

Yeah, there might be something interesting to do here.

Jun

<Prev in Thread] Current Thread [Next in Thread>