Changeset c765aa0 in rtems-docs


Ignore:
Timestamp:
Jun 19, 2018, 6:15:48 AM (16 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
4c2ca04
Parents:
2c2c6cc
git-author:
Sebastian Huber <sebastian.huber@…> (06/19/18 06:15:48)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/26/18 09:18:52)
Message:

bsp-howto: Mention clock driver hook removal

Update #3436.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsp-howto/clock.rst

    r2c2c6cc rc765aa0  
    272272=======================
    273273
    274 Optionally, the :dfn:`Clock Driver Shell` provides the routine ``Clock_exit()``
    275 that is scheduled to be run during system shutdown via the ``atexit()``
    276 routine.  The hardware-specific shutdown support is specified by
    277 ``Clock_driver_support_shutdown_hardware()`` which is used by ``Clock_exit()``.
    278 It should disable the clock tick source if it was enabled.  This can be used to
    279 prevent clock ticks after the system is shutdown.  The
    280 ``Clock_driver_support_shutdown_hardware()`` must be provided as a macro.  In
    281 case this macro is undefined, then the shutdown support is disabled.  This is
    282 useful for example on memory constrained systems to avoid the ``atexit()``
    283 overhead.
    284 
    285 .. code-block:: c
    286 
    287     static void some_support_shutdown_hardware( void )
    288     {
    289       /* Shutdown hardware */
    290     }
    291 
    292     #define Clock_driver_support_shutdown_hardware() \
    293       some_support_shutdown_hardware()
    294 
    295     #include "../../../shared/dev/clock/clockimpl.h"
     274The clock driver system shutdown support was removed in RTEMS 5.1.
    296275
    297276SMP Support
Note: See TracChangeset for help on using the changeset viewer.