diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-01-18 05:40:27 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-01-18 05:40:27 +0000 |
commit | ced98aa6c7ef148631d0e2414bb6a52885e1a2c3 (patch) | |
tree | 71ad670b906e9a59fb1568c52d300c079df8d1e2 /c/src/lib/libbsp/powerpc | |
parent | 2005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-ced98aa6c7ef148631d0e2414bb6a52885e1a2c3.tar.bz2 |
2005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Use ../../shared/tod.h instead of include/tod.h.
* include/tod.h: Remove.
Diffstat (limited to 'c/src/lib/libbsp/powerpc')
-rw-r--r-- | c/src/lib/libbsp/powerpc/score603e/ChangeLog | 5 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/score603e/Makefile.am | 10 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/score603e/include/tod.h | 37 |
3 files changed, 10 insertions, 42 deletions
diff --git a/c/src/lib/libbsp/powerpc/score603e/ChangeLog b/c/src/lib/libbsp/powerpc/score603e/ChangeLog index cdb33e7175..8119eae076 100644 --- a/c/src/lib/libbsp/powerpc/score603e/ChangeLog +++ b/c/src/lib/libbsp/powerpc/score603e/ChangeLog @@ -1,3 +1,8 @@ +2005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org> + + * Makefile.am: Use ../../shared/tod.h instead of include/tod.h. + * include/tod.h: Remove. + 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org> * Makefile.am: Eliminate CFLAGS_OPTIMIZE_V. diff --git a/c/src/lib/libbsp/powerpc/score603e/Makefile.am b/c/src/lib/libbsp/powerpc/score603e/Makefile.am index c7166edaa6..9a53dcd99c 100644 --- a/c/src/lib/libbsp/powerpc/score603e/Makefile.am +++ b/c/src/lib/libbsp/powerpc/score603e/Makefile.am @@ -21,8 +21,8 @@ DISTCLEANFILES = include/bspopts.h noinst_PROGRAMS = +include_HEADERS += ../../shared/tod.h include_HEADERS += include/coverhd.h include/gen2.h -include_HEADERS += include/tod.h EXTRA_DIST = start/start.S start.$(OBJEXT): start/start.S @@ -108,6 +108,10 @@ $(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h +$(PROJECT_INCLUDE)/tod.h: ../../shared/tod.h $(PROJECT_INCLUDE)/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tod.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/tod.h + $(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h @@ -116,10 +120,6 @@ $(PROJECT_INCLUDE)/gen2.h: include/gen2.h $(PROJECT_INCLUDE)/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gen2.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/gen2.h -$(PROJECT_INCLUDE)/tod.h: include/tod.h $(PROJECT_INCLUDE)/$(dirstamp) - $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tod.h -PREINSTALL_FILES += $(PROJECT_INCLUDE)/tod.h - $(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT) TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT) diff --git a/c/src/lib/libbsp/powerpc/score603e/include/tod.h b/c/src/lib/libbsp/powerpc/score603e/include/tod.h deleted file mode 100644 index c4f20d30d5..0000000000 --- a/c/src/lib/libbsp/powerpc/score603e/include/tod.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Real Time Clock (MK48T08) for RTEMS on Score603e - * - * Based on MVME162 TOD by: - * COPYRIGHT (C) 1997 - * by Katsutoshi Shibuya - BU Denken Co.,Ltd. - Sapporo - JAPAN - * ALL RIGHTS RESERVED - * - * 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$ - */ - -#ifndef TOD_H -#define TOD_H - -#ifdef __cplusplus -extern "C" { -#endif - -extern void setRealTimeToRTEMS(); -/* Read real time from RTC and set it to RTEMS' clock manager */ - -extern void setRealTimeFromRTEMS(); -/* Read time from RTEMS' clock manager and set it to RTC */ - -extern int checkRealTime(); -/* Return the difference between RTC and RTEMS' clock manager time in minutes. - If the difference is greater than 1 day, this returns 9999. */ - -#ifdef __cplusplus -} -#endif - -#endif |