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

RTEMS trac trac at rtems.org
Wed Nov 22 12:02:20 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           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by Sebastian Huber <sebastian.huber@…>):

 In [changeset:"15e19273b2a6ebda3b2d55b28d693e7b8a0740b2/rtems"
 15e19273/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="15e19273b2a6ebda3b2d55b28d693e7b8a0740b2"
 sapi: New implementation of rtems_panic()

 The previous rtems_panic() implementation was quite heavy weight.  It
 depended on _exit() which calls the global destructors.  It used
 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 vprintk().

 Update #3244.
 }}}

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


More information about the bugs mailing list