IMX6-Dual Disable Interrupts

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6-Dual Disable Interrupts

965 Views
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 Kudos
Reply
1 Reply

907 Views
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 Kudos
Reply