summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include
diff options
context:
space:
mode:
authorThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2009-07-17 09:08:22 +0000
committerThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2009-07-17 09:08:22 +0000
commit915bb51b905856b5adaa975c7d99a5927b6d4c17 (patch)
treead54436c0735a32f69c04cc1650b5c33fd4987f9 /cpukit/score/include
parentRegenerate. (diff)
downloadrtems-915bb51b905856b5adaa975c7d99a5927b6d4c17.tar.bz2
make thread dispatching in ISRs generic code
Diffstat (limited to 'cpukit/score/include')
-rw-r--r--cpukit/score/include/rtems/score/isr.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/isr.h b/cpukit/score/include/rtems/score/isr.h
index ae04c9f8f0..581c65cdc1 100644
--- a/cpukit/score/include/rtems/score/isr.h
+++ b/cpukit/score/include/rtems/score/isr.h
@@ -196,6 +196,17 @@ void _ISR_Handler( void );
void _ISR_Dispatch( void );
/**
+ * Invokes the thread dispatcher or signal extension if necessary.
+ *
+ * It should be called at the end of interrupt processing. The interrupt nest
+ * level must be zero before calling this routine.
+ *
+ * This is a high level replacement of _ISR_Dispatch(). It must be invoked
+ * within an environment such that a call to _Thread_Dispatch() is allowed.
+ */
+void _ISR_Thread_dispatch( void );
+
+/**
* 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