[RTEMS Project] #3436: Remove clock driver Clock_driver_support_shutdown_hardware() hook
RTEMS trac
trac at rtems.org
Fri Jun 29 09:53:27 UTC 2018
#3436: Remove clock driver Clock_driver_support_shutdown_hardware() hook
-----------------------------+------------------------------
Reporter: Sebastian Huber | Owner: Sebastian Huber
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.1
Component: dev | Version: 5
Severity: normal | Resolution: fixed
Keywords: | Blocked By:
Blocking: |
-----------------------------+------------------------------
Changes (by Sebastian Huber <sebastian.huber@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"7ee59313932398aa2781503d25154c56301b9b73/rtems"
7ee59313/rtems]:
{{{
#!CommitTicketReference repository="rtems"
revision="7ee59313932398aa2781503d25154c56301b9b73"
Remove Clock_driver_support_shutdown_hardware()
The aim of this clock driver hook was to stop clock tick interrupts at
some late point in the exit() procedure.
The use of atexit() pulls in malloc() which pulls in errno. It is
incompatible with the intention of the
CONFIGURE_DISABLE_NEWLIB_REENTRANCY configuration option.
The exit() function must be called from thread context, so accompanied
clock tick interrupts should cause no harm. On the contrary, someone
may assume a normal operating system operation, e.g. working timeouts.
Remove the Clock_driver_support_shutdown_hardware() clock driver hook.
Close #3436.
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/3436#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list