system tick in PPC

2 messages, 2 authors, 2006-02-12 · open the first message on its own page

system tick in PPC

From: dibacco@inwind.it <hidden>
Date: 2006-02-12 17:47:17

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

Thanks,
Antonio.

Re: system tick in PPC

From: Eugene Surovegin <hidden>
Date: 2006-02-12 18:33:33

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help