linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* system tick in PPC
@ 2006-02-12 17:47 dibacco
  2006-02-12 18:33 ` Eugene Surovegin
  0 siblings, 1 reply; 2+ messages in thread
From: dibacco @ 2006-02-12 17:47 UTC (permalink / raw)
  To: linuxppc-embedded

Someone knows how the jiffies is incremented in PPC?
Using PIT, Decrementer or what?

Thanks,
Antonio.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: system tick in PPC
  2006-02-12 17:47 system tick in PPC dibacco
@ 2006-02-12 18:33 ` Eugene Surovegin
  0 siblings, 0 replies; 2+ messages in thread
From: Eugene Surovegin @ 2006-02-12 18:33 UTC (permalink / raw)
  To: dibacco@inwind.it; +Cc: linuxppc-embedded

On Sun, Feb 12, 2006 at 06:47:15PM +0100, dibacco@inwind.it wrote:
> Someone knows how the jiffies is incremented in PPC?
> Using PIT, Decrementer or what?

I think you should be looking at include/asm-powerpc/time.h, 
set_dec() & get_dec() functions. 

timer_interrupt() uses set_dec().

In short, usually PPC uses decrementer, but some sub-archs are special.

-- 
Eugene

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-12 18:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-12 17:47 system tick in PPC dibacco
2006-02-12 18:33 ` Eugene Surovegin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).