summaryrefslogtreecommitdiffstats
path: root/bsps/mips/jmr3904/clock/clockdrv.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-07-12bsps/mips/jmr3904: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2018-06-27Remove Clock_driver_support_shutdown_hardware()Sebastian Huber1-2/+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-10/+2
Remove old ISR parameter since is not used by the clock driver shell. Make an implementation optional. Update #3139.
2016-03-03bsps: Delete empty Clock_driver_support_at_tick()Sebastian Huber1-2/+0
2015-05-20bsps: Convert clock drivers to use a timecounterAlexander Krutwig1-0/+2
Update #2271.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2013-08-14bsps: Fix clock driver definesSebastian Huber1-1/+1
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.
2012-04-04PR 1993 - Convert MIPS to PIC IRQ modelJennifer Averett1-7/+18
2009-11-232009-11-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-6/+8
* clock/clockdrv.c: Split hardware initialization code into Clock_driver_support_initialize_hardware().
2008-09-302008-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* clock/clockdrv.c: include "../../../shared/clockdrv_shell.h". * Makefile.am: Reflect changes above.
2006-11-172006-11-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+7
* clock/clockdrv.c: Add copyright.
2004-04-21Remove duplicate white lines.Ralf Corsepius1-1/+0
2004-03-312004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-2/+2
* clock/clockdrv.c, include/bsp.h, startup/bspstart.c, timer/timer.c: Convert to using c99 fixed size types.
2001-01-092001-01-09 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-4/+7
* clock/clockdrv.c: Clean up. * include/bsp.h: Uncomment and fix set_vector() prototype.
2001-01-032001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+2
* clock/Makefile.am: Fixed reference to ckinit.c. * clock/clockdrv.c: Enabled fast idle. * console/console-io.c: Added console_initialize_hardware().
2000-12-192000-12-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* Makefile.am: Added tools subdirectory and removed commented out line. * configure.in: Added tools subdirectory. * tools: New subdirectory. * tools/.cvsignore, tools/Makefile.am, tools/configure.in, tools/runtest: New files -- based on powerpc/psim. * clock/clockdrv.c: Guessed new value for clock tick. Need to add fast idle support. * include/bsp.h: tm27 support initiated. * start/start.S: Fixed frame/endframe problems on _sys_exit. * startup/bspstart.c: Increased Workspace size to 4 MBYTES! * linkcmds: Increased Workspace size to 4 MBYTES! * Most tests appear to run correctly!
2000-12-132000-12-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-2/+16
* README: Updated. We are now vectoring a clock tick ISR handler. But RTEMS is not returning from the ISR properly. * clock/clockdrv.c: Now causes interrupts but has not been calibrated. * include/bsp.h: Use <libcpu/tx3904.h> * startup/Makefile.am: Add setvec.c from shared. * startup/bspstart.c: Initialize the status register (SR) so no interrupts are masked but global interrupts (SR_IEC) are off. Added call to install the ISR prologue code. * wrapup/Makefile.am: Pick up more pieces from libcpu.
2000-11-252000-11-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+0
* The JMR BSP is for a Toshiba TX39 evaluation board but can also be used with the mips simulator in gdb. * .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, configure.in, clock/.cvsignore, clock/Makefile.am, clock/clockdrv.c, console/.cvsignore, console/Makefile.am, console/console-io.c, include/.cvsignore, include/Makefile.am, include/bsp.h, start/.cvsignore, start/Makefile.am, start/regs.S, start/start.S, startup/.cvsignore, startup/Makefile.am, startup/bspstart.c, startup/linkcmds, wrapup/.cvsignore, wrapup/Makefile.am: New files.
2000-07-27Minor problems addressed with the merger and with the arm_bare_bsp.Joel Sherrill1-0/+0
That BSP now has a stub clock driver so the tests can link even if they won't execute. A handful of Makefiles had to be updated and we had to account for printk.c being a shared file now.
2000-07-10Added dummy clock driver.Joel Sherrill1-0/+22