IMX6-Dual Disable Interrupts

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

IMX6-Dual Disable Interrupts

1,092 次查看
omarhelmy
Contributor I

Hello all,

I would like to disable all maskable interrupts in the system so I can enter a critical section safely. I use imx6-dual ARM based board. Is there a certain sequence to disable interrupts ?

0 项奖励
回复
1 回复

1,034 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Omar

handling inetrrupts is described in arm gic documentation

https://static.docs.arm.com/ihi0048/b/IHI0048B_b_gic_architecture_specification.pdf 

linux general considerations can be found in

How to disable interrupt in a C program in linux - Stack Overflow 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复