2008-06-16 06:09:37     about core timer

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-06-16 06:09:37     about core timer

sj tian (CHINA)

Message: 57339   

 

hi,all

 

I want to use core timer interrupt, and I use "request_irq(IVTMR, Timer_irq_handler, IRQF_DISABLED, "Timer IRQ",NULL)" to request and add Timer_irq_handler on it. But system show me: IVTMR is undefined. In fact  I have included <asm/irqs >.

 

My cpu is bf537.

 

Why?  Pls give me aome advice. THANKS!

 

 

QuoteReplyEditDelete

 

 

2008-06-16 06:53:15     Re: about core timer

Mike Frysinger (UNITED STATES)

Message: 57341   

 

you cannot use the core timer.  the core architecture already utilizes it.

 

if you want a periodic timer, then use the normal Linux timer framework.

QuoteReplyEditDelete

 

 

2008-06-18 07:34:20     Re: about core timer

sj tian (CHINA)

Message: 57514   

 

thanks, I see.

 

Now I use kernel timer .

Attachments

    Outcomes