diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-05-22 14:40:11 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-05-22 14:40:11 +0000 |
commit | d2018f7178fc6f6dc3ecae6c3bf29fcfbca8d597 (patch) | |
tree | a18a43d3d229d06c294fd1c2124b81e049863e9f /cpukit/sapi | |
parent | 2008-05-21 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-d2018f7178fc6f6dc3ecae6c3bf29fcfbca8d597.tar.bz2 |
2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline
interface for Watchdog Driver.
* libcsupport/include/rtems/watchdogdrv.h: New file.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r-- | cpukit/sapi/include/confdefs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index 269dfaf74f..8d8f3b889b 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -371,6 +371,10 @@ rtems_initialization_tasks_table Initialization_tasks[] = { #include <rtems/rtc.h> #endif +#ifdef CONFIGURE_APPLICATION_NEEDS_WATCHDOG_DRIVER +#include <rtems/watchdogdrv.h> +#endif + #ifdef CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER #include <rtems/devnull.h> #endif @@ -400,6 +404,9 @@ rtems_driver_address_table Device_drivers[] = { #ifdef CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER RTC_DRIVER_TABLE_ENTRY, #endif +#ifdef CONFIGURE_APPLICATION_NEEDS_WATCHDOG_DRIVER + WATCHDOG_DRIVER_TABLE_ENTRY, +#endif #ifdef CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER DEVNULL_DRIVER_TABLE_ENTRY, #endif |