diff options
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/sapi/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/sapi/include/confdefs.h | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/cpukit/sapi/ChangeLog b/cpukit/sapi/ChangeLog index fd0543b2cd..fcb3944749 100644 --- a/cpukit/sapi/ChangeLog +++ b/cpukit/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/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index fbfdb03732..0dda508462 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/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 |