summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/rtc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Move libchip to bspsSebastian Huber2018-04-0420-1417/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* Remove make preinstallChris Johns2018-01-255-431/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
* Make rtems/print.h independent of rtems/bspIo.hSebastian Huber2016-06-221-0/+1
|
* libchip/rtc/mc146818a.c: Compiles again and clean upJoel Sherrill2014-10-101-6/+14
|
* libchip/rtc/mc146818a*: Fix prototypes to use uintptr_t and fix set but ↵Joel Sherrill2014-10-092-11/+17
| | | | unused warning
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-2117-17/+17
|
* score: Merge sysstate API into one fileSebastian Huber2013-07-241-0/+1
|
* Include missing <string.h>Sebastian Huber2013-07-231-0/+1
|
* libchip: Fix prototypesSebastian Huber2013-03-012-16/+16
|
* libchip/rtc: Fixed 19 compiler warningsAndreas Heinig2013-02-283-3/+7
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-1125-62/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* 2011-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-221-4/+0
| | | | | | | * libchip/rtc/mc146818a.c (mc146818a_initialize): Remove unused var "getReg". * libchip/rtc/mc146818a.c (mc146818a_set_time): Remove unused var "getReg".
* 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-171-4/+0
| | | | | * libchip/rtc/icm7170.c (icm7170_get_time): Remove unused var setReg. * libchip/rtc/icm7170.c (icm7170_set_time): Remove unused var getReg.
* 2011-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-07-071-3/+3
| | | | | | | | * libchip/display/disp_hcms29xx.c, libchip/flash/am29lv160.c, libchip/i2c/i2c-2b-eeprom.c, libchip/i2c/i2c-ds1621.c, libchip/i2c/spi-flash-m25p40.c, libchip/i2c/spi-fram-fm25l256.c, libchip/i2c/spi-memdrv.c, libchip/rtc/ds1375.c: Eliminate use of GNU old-style field designator extension as recommended by clang.
* 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-04-256-24/+23
| | | | | | | * libchip/rtc/ds1375-rtc.h, libchip/rtc/ds1375.c, libchip/rtc/icm7170.c, libchip/rtc/icm7170_reg.c, libchip/rtc/m48t08_reg.c, libchip/rtc/rtc.h: Use uintptr_t instead of uint32_t.
* #include <unistd.h>.Ralf Corsepius2010-04-021-0/+2
|
* Whitespace removal.Ralf Corsepius2009-11-304-31/+31
|
* 2009-05-03 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-042-254/+268
| | | | | * libchip/rtc/ds1375.c, libchip/rtc/mc146818a.c: Fix warnings. Reformat as needed.
* Include <errno.h> instead of <sys/errno.h>.Ralf Corsepius2008-12-221-1/+1
|
* Include required header files. Some internal functions have now static ↵Thomas Doerfler2008-09-223-13/+16
| | | | linkage type. Added constant qualifier to operations table and read-only function parameters.
* Convert to "bool".Ralf Corsepius2008-09-076-14/+14
|
* 2007-11-20 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-11-272-0/+4
| | | | | * libchip/rtc/ds1375.c, libchip/rtc/ds1375-rtc.h: added CVS ID.
* 2007-11-20 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-11-212-3/+27
| | | | | | * libchip/rtc/ds1375.c, libchip/rtc/ds1375-rtc.h: Avoid using 'stdio' before the system is up and fully initialized.
* 2007-11-20 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-11-202-0/+516
| | | | | | * libchip/rtc/ds1375.c, libchip/rtc/ds1375-rtc.h, * libchip/Makefile.am, libchip/preinstall.am: added new driver for Maxim DS1375 i2c RTC.
* Eliminate obsolete types.Ralf Corsepius2005-11-061-2/+2
|
* 2005-01-22 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-221-2/+2
| | | | * libchip/rtc/rtc.h: size_t RTC_Count.
* 2004-11-22 Joel Sherrill <joel@OARcorp.com>Jennifer Averett2004-11-221-0/+7
| | | | | | PR 693/misc * libchip/rtc/mc146818a_ioreg.c: Disable unless on a target with in/outport routines.
* 2004-11-03 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-11-031-1/+0
| | | | | * libchip/rtc/mc146818a.c: Don't include <bsp.h> (Thanks to Lars Munch <lars@segv.dk> for catching this).
* Add prototype for device-specific probe routine.Eric Norum2004-10-211-0/+3
|
* 2004-10-20 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-10-213-19/+19
| | | | | * libchip/rtc/mc146818a.c, libchip/rtc/mc146818a.h, libchip/rtc/mc146818a_ioreg.c: Use POSIX fixed size types.
* Don't get duplication rtc_probe() definitions.Eric Norum2004-10-111-1/+1
|
* Add libchip driver for Motorola MC146818A time-of-day clock chip.Eric Norum2004-10-115-1/+298
| | | | Modify i386/pc386 BSP to use this driver.
* Remove stray white spaces.Ralf Corsepius2004-04-2012-23/+23
|
* Remove stray white spaces.Ralf Corsepius2004-04-158-8/+0
|
* 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-03-311-2/+2
| | | | | | | | | | | * libchip/ide/ata.c, libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/i82586.c, libchip/network/if_fxp.c, libchip/network/if_fxpvar.h, libchip/network/open_eth.c, libchip/network/sonic.c, libchip/rtc/icm7170.c, libchip/serial/ns16550.c, libchip/serial/z85c30.c, libchip/shmdr/cnvpkt.c, libchip/shmdr/init.c, libchip/shmdr/intr.c, libchip/shmdr/shm_driver.h: Cosmetics.
* 2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-03-2313-87/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | * libchip/ide/ata.c, libchip/ide/ata_internal.h, libchip/ide/ide_controller.c, libchip/ide/ide_ctrl_cfg.h, libchip/ide/ide_ctrl_io.h, libchip/network/cs8900.c, libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/if_fxp.c, libchip/network/open_eth.c, libchip/network/open_eth.h, libchip/network/sonic.c, libchip/network/sonic.h, libchip/rtc/icm7170.c, libchip/rtc/icm7170.h, libchip/rtc/icm7170_reg.c, libchip/rtc/icm7170_reg2.c, libchip/rtc/icm7170_reg4.c, libchip/rtc/icm7170_reg8.c, libchip/rtc/m48t08.c, libchip/rtc/m48t08.h, libchip/rtc/m48t08_reg.c, libchip/rtc/m48t08_reg2.c, libchip/rtc/m48t08_reg4.c, libchip/rtc/m48t08_reg8.c, libchip/rtc/rtc.h, libchip/serial/mc68681.c, libchip/serial/mc68681.h, libchip/serial/mc68681_reg.c, libchip/serial/mc68681_reg2.c, libchip/serial/mc68681_reg4.c, libchip/serial/mc68681_reg8.c, libchip/serial/ns16550.c, libchip/serial/ns16550_p.h, libchip/serial/serial.h, libchip/serial/z85c30.c, libchip/serial/z85c30.h, libchip/serial/z85c30_p.h, libchip/serial/z85c30_reg.c, libchip/shmdr/addlq.c, libchip/shmdr/cnvpkt.c, libchip/shmdr/dump.c, libchip/shmdr/fatal.c, libchip/shmdr/getlq.c, libchip/shmdr/init.c, libchip/shmdr/initlq.c, libchip/shmdr/intr.c, libchip/shmdr/poll.c, libchip/shmdr/send.c, libchip/shmdr/shm_driver.h: Convert to using c99 fixed-size types.
* UnusedRalf Corsepius2004-03-081-2/+0
|
* 2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-021-55/+0
| | | | | | | * ide/Makefile.am, network/Makefile.am, rtc/Makefile.am, serial/Makefile.am: Remove. * Makefile.am: Merge-in Makefile.am above. Add preinstallation + compilation dirstamp support.
* 2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-021-1/+1
| | | | | | | * ide/Makefile.am: Remove all-local: $(ARCH). * network/Makefile.am: Remove all-local: $(ARCH). * rtc/Makefile.am: Remove all-local: $(ARCH). * serial/Makefile.am: Remove all-local: $(ARCH).
* 2003-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-011-11/+21
| | | | | | | * ide/Makefile.am: Use dirstamps for preinstallation. Reformat. * network/Makefile.am: Ditto. * rtc/Makefile.am: Ditto. * serial/Makefile.am: Ditto.
* 2003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-0414-14/+14
| | | | | | | | | | | | | | | | * ide/ata.c, ide/ata.h, ide/ata_internal.h, ide/ide_controller.c, ide/ide_ctrl.h, ide/ide_ctrl_cfg.h, ide/ide_ctrl_io.h, network/cs8900.c, network/cs8900.c.bsp, network/cs8900.h, network/dec21140.c, network/elnk.c, network/open_eth.c, network/sonic.c, network/sonic.h, rtc/icm7170.c, rtc/icm7170.h, rtc/icm7170_reg.c, rtc/icm7170_reg2.c, rtc/icm7170_reg4.c, rtc/icm7170_reg8.c, rtc/m48t08.c, rtc/m48t08.h, rtc/m48t08_reg.c, rtc/m48t08_reg2.c, rtc/m48t08_reg4.c, rtc/m48t08_reg8.c, rtc/rtc.h, rtc/rtcprobe.c, serial/mc68681.c, serial/mc68681.h, serial/mc68681_p.h, serial/mc68681_reg.c, serial/mc68681_reg2.c, serial/mc68681_reg4.c, serial/mc68681_reg8.c, serial/serial.h, serial/z85c30.c, serial/z85c30.h, serial/z85c30_p.h, serial/z85c30_reg.c: URL for license changed.
* 2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-08-161-3/+3
| | | | | | | | Makefile.am: Reflect having moved automake. ide/Makefile.am: Reflect having moved automake. network/Makefile.am: Reflect having moved automake. rtc/Makefile.am: Reflect having moved automake. serial/Makefile.am: Reflect having moved automake.
* 2003-07-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-07-251-3/+5
| | | | | | * ide/Makefile.am, network/Makefile.am, rtc/Makefile.am, serial/Makefile.am: Add conditional LIBCHIP. Conditionally build include-dirs.
* 2003-07-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-07-101-3/+3
| | | | | | | * configure.ac: Remove (Merged into ../configure.ac). * Makefile.am, ide/Makefile.am, network/Makefile.am, rtc/Makefile.am, serial/Makefile.am: Reflect having merged configure.ac into ../configure.ac
* 2002-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-12-111-3/+1
| | | | | | * network/Makefile.am: Eliminate C_O_FILES. * rtc/Makefile.am: Ditto. * serial/Makefile.am: Ditto,
* 2002-12-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-12-101-3/+0
| | | | | | | | | * serial/Makefile.am: Don't include @RTEMS_BSP@.cfg. Don't use LIBC_DEFINES. * rtc/Makefile.am: Don't include @RTEMS_BSP@.cfg. Don't use LIBC_DEFINES. * network/Makefile.am: Don't include @RTEMS_BSP@.cfg. Don't use LIBC_DEFINES.
* 2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-08-111-1/+1
| | | | | | * network/Makefile.am: Use .$(OBJEXT) instead of .o. * rtc/Makefile.am: Use .$(OBJEXT) instead of .o. * serial/Makefile.am: Use .$(OBJEXT) instead of .o.
* 2002-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-08-101-6/+1
| | | | | * serial/Makefile.am: Don't tmp-install lib. * rtc/Makefile.am: Don't tmp-install lib.
* 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-03-281-1/+0
| | | | | | | | | | * configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]). * network/Makefile.am: Remove AUTOMAKE_OPTIONS. * Makefile.am: Remove AUTOMAKE_OPTIONS. * rtc/Makefile.am: Remove AUTOMAKE_OPTIONS. * serial/Makefile.am: Remove AUTOMAKE_OPTIONS.
* 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-281-1/+1
| | | | | | * rtc/Makefile.am: Use 'PREINSTALL_FILES ='. * network/Makefile.am: Use 'PREINSTALL_FILES ='. * serial/Makefile.am: Use 'PREINSTALL_FILES ='.