Module: xenomai-head Branch: master Commit: 8256c8a538ce3aee42ccdded4bbe50a83dbeca2c URL: http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=8256c8a538ce3aee42ccdded4bbe50a83dbeca2c
Author: Philippe Gerum <r...@xenomai.org> Date: Tue Aug 11 16:47:12 2009 +0200 sim: provide irqs_disabled_hw() --- include/asm-sim/system.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/asm-sim/system.h b/include/asm-sim/system.h index b8ccd8e..1a5a875 100644 --- a/include/asm-sim/system.h +++ b/include/asm-sim/system.h @@ -67,6 +67,7 @@ typedef int spl_t; #define splnone() mvm_set_irqmask(0) #define spltest() (mvm_get_irqmask() != 0) #define splget(x) ((x) = mvm_get_irqmask()) +#define irqs_disabled_hw() spltest() typedef unsigned long xnlock_t; _______________________________________________ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git