linux-mips
[Top] [All Lists]

Re: [PATCH 3/5] Deforest the function pointer jungle in the time code.

To: Franck Bui-Huu <vagabon.xyz@gmail.com>
Subject: Re: [PATCH 3/5] Deforest the function pointer jungle in the time code.
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Thu, 14 Jun 2007 17:54:49 +0100 (BST)
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>, linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>
In-reply-to: <Pine.LNX.4.64N.0706141648540.25868@blysk.ds.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <11818164011355-git-send-email-fbuihuu@gmail.com> <11818164023940-git-send-email-fbuihuu@gmail.com> <20070614111748.GA8223@alpha.franken.de> <cda58cb80706140643g63c3bf34sbd5b843a15653c3d@mail.gmail.com> <Pine.LNX.4.64N.0706141501080.25868@blysk.ds.pg.gda.pl> <cda58cb80706140731j1b6e8e36l96d4423db1ffd9e7@mail.gmail.com> <Pine.LNX.4.64N.0706141648540.25868@blysk.ds.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
On Thu, 14 Jun 2007, Maciej W. Rozycki wrote:

>  Please note that this generic calibration code may be used for 
> calibrating the CP0 timer too -- all that you need is defining 
> mips_timer_state appropriately, i.e. to flip at the HZ rate (it may be 
> based on one of the south bridge choices mentioned above or some 
> free-running counter for example), but people seem to prefer to write 
> their own code for some reason. ;-)

 To clarify myself -- the return value of mips_timer_state() has to flip 
regularly, once each way per HZ.  The duty cycle does not have to be 50% 
-- any will do.

  Maciej

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