File indexing completed on 2025-05-11 08:24:22
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #ifdef HAVE_CONFIG_H
0019 #include "config.h"
0020 #endif
0021
0022 #include <rtems/fatal.h>
0023 #include <rtems/bspIo.h>
0024
0025 #include <stdarg.h>
0026
0027 void rtems_panic( const char *fmt, ... )
0028 {
0029 va_list ap;
0030
0031 va_start( ap, fmt );
0032 vprintk( fmt, ap );
0033 va_end( ap);
0034
0035 _Terminate( RTEMS_FATAL_SOURCE_PANIC, (Internal_errors_t) fmt );
0036 }