summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/src/fatal2.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/sapi/src/fatal2.c')
-rw-r--r--cpukit/sapi/src/fatal2.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/cpukit/sapi/src/fatal2.c b/cpukit/sapi/src/fatal2.c
new file mode 100644
index 0000000000..efaf4265ed
--- /dev/null
+++ b/cpukit/sapi/src/fatal2.c
@@ -0,0 +1,27 @@
+/*
+ * Copyright (c) 2012 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Obere Lagerstr. 30
+ * 82178 Puchheim
+ * Germany
+ * <rtems@embedded-brains.de>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ */
+
+#if HAVE_CONFIG_H
+ #include "config.h"
+#endif
+
+#include <rtems/fatal.h>
+
+void rtems_fatal(
+ rtems_fatal_source source,
+ rtems_fatal_code error
+)
+{
+ _Internal_error_Occurred( source, false, error );
+}