Can i disable fiq via software interrupt.? I am calling a software interrupt in main program to disable fiq.. This is the code which i am using to disable fiq. in r1 i have saved spsr register value..
_swi_disable_fiq
orr r1, r1, #0x40
msr spsr_cxsf, r1
b _swi_exit
I am changing the value of spsr register . While returning to the main program this changed value should be written in cpsr register.. right?
I'm very much new to this. Don't have much of an idea.. Please do help me..
Thanks
Suraj