#3244 closed enhancement (fixed)
Change rtems_panic() implementation and document this function
Reported by: | Sebastian Huber | Owned by: | Sebastian Huber |
---|---|---|---|
Priority: | normal | Milestone: | 5.1 |
Component: | rtems | Version: | 5 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
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().
Change History (3)
comment:1 Changed on 11/22/17 at 12:02:20 by Sebastian Huber <sebastian.huber@…>
comment:2 Changed on 11/23/17 at 06:28:11 by Sebastian Huber <sebastian.huber@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In 15e19273/rtems: