summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/interr.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-17 09:58:43 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-19 09:59:39 +0100
commit38ee75853f674977609bd078c69fb53420afdd08 (patch)
tree58ba999a4e775f0feafcbab796fcdf1c0bbe9b8c /cpukit/score/include/rtems/score/interr.h
parentscore: Delete _Thread_BSP_context (diff)
downloadrtems-38ee75853f674977609bd078c69fb53420afdd08.tar.bz2
score: Disable ISR in _Internal_error_Occurred()
Disable interrupts as the first step in _Internal_error_Occurred() to get a defined execution context for the fatal extensions. Make _ISR_Disable_without_giant() available for non-SMP configurations.
Diffstat (limited to 'cpukit/score/include/rtems/score/interr.h')
-rw-r--r--cpukit/score/include/rtems/score/interr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/interr.h b/cpukit/score/include/rtems/score/interr.h
index b774edcfc9..2f5add4b54 100644
--- a/cpukit/score/include/rtems/score/interr.h
+++ b/cpukit/score/include/rtems/score/interr.h
@@ -176,7 +176,9 @@ extern Internal_errors_Information _Internal_errors_What_happened;
* determines that a fatal error has occurred or a final system state is
* reached (for example after exit()).
*
- * The first action of this function is to call the fatal handler of the user
+ * The first action is to disable interrupts.
+ *
+ * The second action of this function is to call the fatal handler of the user
* extensions. For the initial extensions the following conditions are
* required
* - a valid stack pointer and enough stack space,