summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/inline
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-11-28 18:28:24 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-11-28 18:28:24 +0000
commit89ee0b6936efb5371ec54c2bb37a0dbd492d0a98 (patch)
treefa9676c30496a4b846101bf8175b0e4ccfae2473 /c/src/exec/score/inline
parent2001-11-28 Joel Sherrill <joel@OARcorp.com>, (diff)
downloadrtems-89ee0b6936efb5371ec54c2bb37a0dbd492d0a98.tar.bz2
2001-11-28 Joel Sherrill <joel@OARcorp.com>,
This was tracked as PR91. * include/rtems/score/isr.h, inline/rtems/score/isr.inl, macros/rtems/score/isr.inl: Modified to allow any port to provide its own implementation of the macro _ISR_Is_in_progress. If the port overrides this macro, it must provide a non-inlined function implementation.
Diffstat (limited to 'c/src/exec/score/inline')
-rw-r--r--c/src/exec/score/inline/rtems/score/isr.inl26
1 files changed, 0 insertions, 26 deletions
diff --git a/c/src/exec/score/inline/rtems/score/isr.inl b/c/src/exec/score/inline/rtems/score/isr.inl
index 5b6e3918b9..61ff05952a 100644
--- a/c/src/exec/score/inline/rtems/score/isr.inl
+++ b/c/src/exec/score/inline/rtems/score/isr.inl
@@ -18,32 +18,6 @@
/*PAGE
*
- * _ISR_Is_in_progress
- *
- * DESCRIPTION:
- *
- * This function returns TRUE if the processor is currently servicing
- * and interrupt and FALSE otherwise. A return value of TRUE indicates
- * that the caller is an interrupt service routine, NOT a thread. The
- * directives available to an interrupt service routine are restricted.
- */
-
-#if defined(powerpc)
-#define CPU_PROVIDES_ISR_IS_IN_PROGRESS
-#endif
-
-#ifndef CPU_PROVIDES_ISR_IS_IN_PROGRESS
-
-RTEMS_INLINE_ROUTINE boolean _ISR_Is_in_progress( void )
-{
- return (_ISR_Nest_level != 0);
-}
-#else
-#include <rtems/score/c_isr.inl>
-#endif
-
-/*PAGE
- *
* _ISR_Is_vector_number_valid
*
* DESCRIPTION: