恳请高手指点这个小问题
请问一下下面代码的含义(2.6.11)中的:#define irqs_disabled()
({ unsigned long flags;
local_save_flags(flags);
!(flags & (1<<9));})
#define local_save_flags( x)
do { typecheck(unsigned long,x);
__asm__ __volatile__("pushfl ; popl %0":"=g" ( x): /* no input */);
} while ( 0 ) 对于irqs_disabled(),如果本地中断传递被禁止,则返加非0,否则返回0
页:
[1]