[RTEMS Project] #3244: Change rtems_panic() implementation and document this function

RTEMS trac trac at rtems.org
Tue Nov 21 10:16:54 UTC 2017


#3244: Change rtems_panic() implementation and document this function
-----------------------------+-----------------------------
 Reporter:  Sebastian Huber  |      Owner:  Sebastian Huber
     Type:  enhancement      |     Status:  assigned
 Priority:  normal           |  Milestone:  5.1
Component:  rtems            |    Version:  5
 Severity:  normal           |   Keywords:
-----------------------------+-----------------------------
 The current rtems_panic() implementation is quite heavy weight. It depends
 on _exit() which calls the global destructors. It uses fprintf(stderr,
 ...) for output which depends on an initialized console device and the
 complex fprintf().

 Introduce a new fatal source RTEMS_FATAL_SOURCE_PANIC for rtems_panic()
 and output via printk().

 Document this function in Fatal Manager chapter.

 Replace all BSP_panic() with rtems_panic().

--
Ticket URL: <http://devel.rtems.org/ticket/3244>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list