system tick in PPC

Eugene Surovegin ebs at ebshome.net
Mon Feb 13 05:33:30 EST 2006


On Sun, Feb 12, 2006 at 06:47:15PM +0100, dibacco at 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




More information about the Linuxppc-embedded mailing list