Decrementer interrupt in linux project

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Decrementer interrupt in linux project

1,234 次查看
pabloramos
Contributor I

Hi everyone,

I would like to know if it is possible to have decrementer interrupt in a Multicore Linux Project.
I have tried to use the interrupt like a bareboard Project  and it compiles but at the debug time it remains blocked.
Does anyone have  perform interrupts in Linux multicore projects? How to do that?

Thanks in advanced.

标签 (1)
0 项奖励
回复
2 回复数

1,019 次查看
bpe
NXP Employee
NXP Employee

If the question is specifically about Linux, the kernel does use Decrementer.

It registers Decrementer as a standard clock event device. Related code can be found in

arch/powerpc/kernel/time.c, arch/powerpc/kernel/head_fsl_booke.S and

arch/powerpc/kernel/head_booke.h.

More information on clock event device and related concepts can be found in

Documentation/timers/highres.txt

0 项奖励
回复

1,019 次查看
lunminliang
NXP Employee
NXP Employee

What do you mean by "at the debug time it remains blocked"? Did you find "TSR[DIS]" setted but PC not jumppting into handler?

0 项奖励
回复