17 #define IRQ_MASK 0x00000080
18 #define FIQ_MASK 0x00000040
19 #define INT_MASK (IRQ_MASK | FIQ_MASK)
24 asm volatile(
" mrs %0, cpsr" :
"=r"(retval) : );
30 asm volatile(
" msr cpsr, %0" : :
"r"(
val));
static void __set_cpsr(unsigned val)
static unsigned __get_cpsr(void)
unsigned restoreFIQ(unsigned oldCPSR)
unsigned disableFIQ(void)
unsigned restoreIRQ(unsigned oldCPSR)
unsigned disableIRQ(void)