[PATCH 01/16] score: Documentation

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Nov 14 15:46:55 UTC 2012


---
 cpukit/score/include/rtems/score/interr.h |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/cpukit/score/include/rtems/score/interr.h b/cpukit/score/include/rtems/score/interr.h
index 0ba0750..c81d493 100644
--- a/cpukit/score/include/rtems/score/interr.h
+++ b/cpukit/score/include/rtems/score/interr.h
@@ -96,10 +96,17 @@ typedef struct {
 extern Internal_errors_Information _Internal_errors_What_happened;
 
 /**
- * @brief  Internal error Occurred
+ * @brief An internal or fatal error occurred.
  *
- *  This routine is invoked when the application or the executive itself
- *  determines that a fatal error has occurred.
+ * This routine is invoked when the application or the executive itself
+ * determines that a fatal error has occurred.
+ *
+ * This function can be called in every system state provided the following
+ * conditions are true
+ * - the stack pointer is valid,
+ * - the code memory is valid,
+ * - the read-only data is valid, and
+ * - the read-write data is accessible.
  */
 void _Internal_error_Occurred(
   Internal_errors_Source  the_source,
-- 
1.7.7




More information about the devel mailing list