summaryrefslogtreecommitdiffstats
path: root/bsps/m68k/mcf5225x/clock/clock.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-03-20bsps: Avoid unused argument in clock interruptSebastian Huber1-1/+1
Pass the parameter of the clock interrupt handler to Clock_driver_support_at_tick() and Clock_driver_timecounter_tick(). This makes it possible to use the interrupt handler argument in clock drivers. Use the interrupt handler provided by Clock_driver_support_install_isr() to avoid local delarations of Clock_isr(). Update #4862.
2018-06-27Remove Clock_driver_support_shutdown_hardware()Sebastian Huber1-8/+0
The aim of this clock driver hook was to stop clock tick interrupts at some late point in the exit() procedure. The use of atexit() pulls in malloc() which pulls in errno. It is incompatible with the intention of the CONFIGURE_DISABLE_NEWLIB_REENTRANCY configuration option. The exit() function must be called from thread context, so accompanied clock tick interrupts should cause no harm. On the contrary, someone may assume a normal operating system operation, e.g. working timeouts. Remove the Clock_driver_support_shutdown_hardware() clock driver hook. Close #3436.
2018-04-20bsps: Move clock drivers to bspsSebastian Huber1-1/+1
This patch is a part of the BSP source reorganization. Update #3285.
2017-09-18bsps: Clock_driver_support_install_isr()Sebastian Huber1-4/+2
Remove old ISR parameter since is not used by the clock driver shell. Make an implementation optional. Update #3139.
2017-08-04Optional Clock_driver_support_shutdown_hardware()Sebastian Huber1-4/+4
Make Clock_driver_support_shutdown_hardware() optional. This avoids the atexit() support on memory constrained targets.
2016-01-19score: Fix simple timecounter supportSebastian Huber1-9/+10
Update #2502.
2015-05-21mcf5225x/clock/clock.c: Remove unused variable warningJoel Sherrill1-1/+0
2015-05-20bsps: Convert clock drivers to use a timecounterAlexander Krutwig1-12/+32
Update #2271.
2012-11-07sapi: Use rtems_config*_get_microseconds_per_tickSebastian Huber1-2/+2
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+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.
2010-04-052010-04-05 Thomas Znidar <t.znidar@embed-it.com>Joel Sherrill1-9/+1
* ChangeLog, Makefile.am, README, bsp_specs, configure.ac, gdb-init, preinstall.am, clock/clock.c, console/console.c, console/debugio.c, include/bsp.h, include/tm27.h, make/custom/mcf5225x.cfg, start/start.S, startup/bspclean.c, startup/bspstart.c, startup/init5225x.c, startup/linkcmds, timer/timer.c: New files.
2008-09-302008-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* clock/clock.c: include "../../../shared/clockdrv_shell.h". * Makefile.am: Reflect changes above.
2008-08-19Add missing prototypes.Ralf Corsepius1-2/+2
2008-06-192008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>Chris Johns1-35/+37
* mcf52235/README, mcf52235/gdb-init, mcf52235/clock/clock.c, mcf52235/console/console.c, mcf52235/include/bsp.h, mcf52235/include/coverhd.h, mcf52235/start/start.S, mcf52235/startup/bspclean.c, mcf52235/startup/bspstart.c, mcf52235/startup/linkcmds, mcf52235/timer/timer.c: Cleaned up white space and code formmated to adhere to RTEMS standards. Fixed a bug in the nano seconds since last tick support. Fixed a bug with the location of the start stack (no longer within .bss). Removed double definition of IPSBAR and some type defs etc.. Added timing test overhead results.
2008-06-112008-06-10 Matthew Riek <matthew.riek@ibiscomputer.com.au>Chris Johns1-0/+96
* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, clock/clock.c, configure.ac, console/console.c, gdb-init, include/bsp.h, include/bspopts.h.in, include/coverhd.h, include/tm27.h, preinstall.am, start/start.S, startup/bspclean.c, startup/bspstart.c, startup/cfinit.c, startup/init52235.c, startup/linkcmds, timer/timer.c: New.