Hello to All,
I am working on one evaluation board that is using AT91FR40162S And right now i have one build code which is compiled by using Green Hills.
But i have to compile the same code by using KEIL IDE.
So in the code compiled by green Hills something like this is there:
// set CPSR IRQ and FIQ bits 6 and 7 to globally disable interrupts until we're ready
__DIR();
// clear IRQ and FIQ bits 6 and 7 in CPSR to globally enable interrupts
__EIR();
But i am not able to find out definition of __DIR(); and __EIR();
Please tell me How to write these two lines of Code in C to alter the CPSR bits.
I am using my coding in C language.
Thanks In Advance
