Go to the documentation of this file.
12 #ifndef __UNICORE_IRQFLAGS_H__
13 #define __UNICORE_IRQFLAGS_H__
17 #include <asm/ptrace.h>
19 #define ARCH_IRQ_DISABLED (PRIV_MODE | PSR_I_BIT)
20 #define ARCH_IRQ_ENABLED (PRIV_MODE)
29 asm volatile(
"mov %0, asr" :
"=r" (
temp) : :
"memory",
"cc");