diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-04-16 20:32:16 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-04-16 20:32:16 +0000 |
commit | 1d4bac927a9ef0fc91f4d370e46ab953c3ace6bf (patch) | |
tree | b95f7e9d49fdf435404dbc890fabcb8017d6e64c /c/src/exec/sapi | |
parent | 2001-04-16 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-1d4bac927a9ef0fc91f4d370e46ab953c3ace6bf.tar.bz2 |
2001-04-16 Joel Sherrill <joel@OARcorp.com>
* include/confdefs.h: Fix real-time clock support.
Diffstat (limited to 'c/src/exec/sapi')
-rw-r--r-- | c/src/exec/sapi/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/exec/sapi/include/confdefs.h | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/c/src/exec/sapi/ChangeLog b/c/src/exec/sapi/ChangeLog index fd0543b2cd..fcb3944749 100644 --- a/c/src/exec/sapi/ChangeLog +++ b/c/src/exec/sapi/ChangeLog @@ -1,3 +1,7 @@ +2001-04-16 Joel Sherrill <joel@OARcorp.com> + + * include/confdefs.h: Fix real-time clock support. + 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * include/Makefile.am, include/rtems/Makefile.am, diff --git a/c/src/exec/sapi/include/confdefs.h b/c/src/exec/sapi/include/confdefs.h index fbfdb03732..0dda508462 100644 --- a/c/src/exec/sapi/include/confdefs.h +++ b/c/src/exec/sapi/include/confdefs.h @@ -269,6 +269,10 @@ rtems_initialization_tasks_table Initialization_tasks[] = { #include <timerdrv.h> #endif +#ifdef CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER +#include <rtc.h> +#endif + #ifdef CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER #include <rtems/devnull.h> #endif @@ -283,6 +287,9 @@ rtems_driver_address_table Device_drivers[] = { #ifdef CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER CLOCK_DRIVER_TABLE_ENTRY, #endif +#ifdef CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER + RTC_DRIVER_TABLE_ENTRY, +#endif #ifdef CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER DEVNULL_DRIVER_TABLE_ENTRY, #endif |