diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-12-16 14:50:12 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-12-16 14:50:12 +0000 |
commit | 18657d189dbd7e56db2894cb78d7ab5a80c2c18f (patch) | |
tree | 8abfb63822239f3df800d1b4235662b40a7c864e /cpukit/score/src/watchdognanoseconds.c | |
parent | Added missing include file. (diff) | |
download | rtems-18657d189dbd7e56db2894cb78d7ab5a80c2c18f.tar.bz2 |
2010-12-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/src/watchdognanoseconds.c: New file.
* score/Makefile.am: Reflect change above.
* score/include/rtems/score/watchdog.h, score/src/coretodget.c,
score/src/coretodgetuptime.c: Do not allow NULL as nanoseconds since
last tick handler pointer.
Diffstat (limited to 'cpukit/score/src/watchdognanoseconds.c')
-rw-r--r-- | cpukit/score/src/watchdognanoseconds.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/cpukit/score/src/watchdognanoseconds.c b/cpukit/score/src/watchdognanoseconds.c new file mode 100644 index 0000000000..b3d3e7b028 --- /dev/null +++ b/cpukit/score/src/watchdognanoseconds.c @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2010 embedded brains GmbH. All rights reserved. + * + * embedded brains GmbH + * Obere Lagerstr. 30 + * 82178 Puchheim + * Germany + * <rtems@embedded-brains.de> + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#if HAVE_CONFIG_H +#include "config.h" +#endif + +#include <rtems/system.h> +#include <rtems/score/watchdog.h> + +Watchdog_Nanoseconds_since_last_tick_routine + _Watchdog_Nanoseconds_since_tick_handler = + _Watchdog_Nanoseconds_since_tick_default_handler; + +uint32_t _Watchdog_Nanoseconds_since_tick_default_handler( void ) +{ + return 0; +} |