summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-18 13:22:54 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-19 08:34:27 +0100
commitf31311aa67eb7b4f1888614b049b2ecf4ff1da3e (patch)
tree586962f3fdb21f8907eb06b060d141a1f095aa3d
parentscore: Add _Debug_Is_owner_of_allocator() (diff)
downloadrtems-f31311aa67eb7b4f1888614b049b2ecf4ff1da3e.tar.bz2
score: Add _Assert_Not_reached()
-rw-r--r--cpukit/score/include/rtems/score/assert.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/assert.h b/cpukit/score/include/rtems/score/assert.h
index be04d87da8..00ded6b298 100644
--- a/cpukit/score/include/rtems/score/assert.h
+++ b/cpukit/score/include/rtems/score/assert.h
@@ -67,6 +67,11 @@ extern "C" {
bool _Debug_Is_owner_of_allocator( void );
#endif
+/**
+ * @brief Asserts that this point is not reached during run-time.
+ */
+#define _Assert_Not_reached() _Assert( 0 )
+
#ifdef __cplusplus
}
#endif /* __cplusplus */