[rtems-docs commit] bsp-howto: Mention clock driver hook removal

Sebastian Huber sebh at rtems.org
Fri Jun 29 08:16:28 UTC 2018


Module:    rtems-docs
Branch:    master
Commit:    c765aa035786fca27ff42e1b1e5028f81437d0aa
Changeset: http://git.rtems.org/rtems-docs/commit/?id=c765aa035786fca27ff42e1b1e5028f81437d0aa

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Jun 19 08:15:48 2018 +0200

bsp-howto: Mention clock driver hook removal

Update #3436.

---

 bsp-howto/clock.rst | 23 +----------------------
 1 file changed, 1 insertion(+), 22 deletions(-)

diff --git a/bsp-howto/clock.rst b/bsp-howto/clock.rst
index 4a853a4..326ad6c 100644
--- a/bsp-howto/clock.rst
+++ b/bsp-howto/clock.rst
@@ -271,28 +271,7 @@ The hardware-specific support at tick is specified by
 System Shutdown Support
 =======================
 
-Optionally, the :dfn:`Clock Driver Shell` provides the routine ``Clock_exit()``
-that is scheduled to be run during system shutdown via the ``atexit()``
-routine.  The hardware-specific shutdown support is specified by
-``Clock_driver_support_shutdown_hardware()`` which is used by ``Clock_exit()``.
-It should disable the clock tick source if it was enabled.  This can be used to
-prevent clock ticks after the system is shutdown.  The
-``Clock_driver_support_shutdown_hardware()`` must be provided as a macro.  In
-case this macro is undefined, then the shutdown support is disabled.  This is
-useful for example on memory constrained systems to avoid the ``atexit()``
-overhead.
-
-.. code-block:: c
-
-    static void some_support_shutdown_hardware( void )
-    {
-      /* Shutdown hardware */
-    }
-
-    #define Clock_driver_support_shutdown_hardware() \
-      some_support_shutdown_hardware()
-
-    #include "../../../shared/dev/clock/clockimpl.h"
+The clock driver system shutdown support was removed in RTEMS 5.1.
 
 SMP Support
 ===========



More information about the vc mailing list