summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/sh/sh7750 (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-12-08bsp/gensh4: Move libcpu files to BSPSebastian Huber12-4326/+0
Update #3254.
2017-04-24sh/sh7750/sci/sh4uart.c: ix misleading indentation warningJoel Sherrill1-1/+1
2016-05-20score: Rename _ISR_Disable() and _ISR_Enable()Sebastian Huber1-4/+4
Rename _ISR_Disable() into _ISR_Local_disable(). Rename _ISR_Enable() into _ISR_Local_enable(). Remove _Debug_Is_owner_of_giant(). This is a preparation to remove the Giant lock. Update #2555.
2016-05-20score: _Thread_Dispatch_increment_disable_level()Sebastian Huber1-2/+2
Avoid _Thread_Dispatch_increment_disable_level() and _Thread_Dispatch_decrement_disable_level() and thus the Giant lock. This is a preparation to remove the Giant lock. Update #2555.
2014-10-16SH libcpu and libbsp: Fix warningsJoel Sherrill1-5/+2
2014-10-13libcpu/sh/sh7750/clock/ckinit.c: Fix warningsJoel Sherrill1-187/+151
2014-09-16Use correct prototype of benchmark_timer_read()Joel Sherrill1-11/+7
This change starts with removing the effectively empty file timerdrv.h. The prototypes for benchmark_timer_XXX() were in btimer.h which was not universally used. Thus every use of timerdrv.h had to be changed to btimer.h. Then the prototypes for benchmark_timer_read() had to be adjusted to return benchmark_timer_t rather than int or uint32_t. I took this opportunity to also correct the file headers to separate the copyright from the file description comments which is needed to ensure the copyright isn't propagated into Doxygen output.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns12-12/+12
2013-07-26Include missing <rtems/score/threaddispatch.h>Sebastian Huber1-1/+1
2013-06-25termios: Update due to API changesSebastian Huber1-15/+12
Termios notifies now the driver about an inactive transmit with the length argument set to zero.
2013-06-14score: Add and use _Thread_Dispatch_is_enabled()Sebastian Huber1-1/+1
Delete _Thread_Dispatch_in_critical_section() and _Thread_Is_dispatching_enabled().
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill11-22/+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-05-03libcpu misc m68k and sh - Correct formatting and remove weird Id stringsJoel Sherrill1-10/+6
2012-05-03General - Remove extraneous blank line in license messageJoel Sherrill2-2/+0
Many files had an extra blank line in the license text found in the file header. This patch removes that line. * 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. The script that did this also turned off execute permission when it was turned on incorrectly.
2011-04-212011-04-21 Jennifer Averett <Jennifer.Averett@OARcorp.comJennifer Averett1-3/+3
PR 1777/cpukit * src/lib/libbsp/powerpc/shared/startup/panic.c, src/lib/libcpu/sh/sh7032/score/cpu_asm.c, src/lib/libcpu/sh/sh7045/score/cpu_asm.c, src/lib/libcpu/sh/sh7750/score/cpu_asm.c, src/lib/libcpu/sh/shgdb/score/cpu_asm.c: Consolidated access to _Thread_Dispatch_disable_level.
2011-02-112011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+2
* sh7032/delay/delay.c, sh7032/score/cpu_asm.c, sh7032/score/ispsh7032.c, sh7045/sci/sci.c, sh7045/sci/sci_termios.c, sh7045/score/cpu_asm.c, sh7045/score/ispsh7045.c, sh7750/sci/sh4uart.c, sh7750/score/cpu_asm.c, sh7750/score/ispsh7750.c, shgdb/score/cpu_asm.c, shgdb/score/ispshgdb.c: Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-112011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius3-4/+4
* sh7032/delay/delay.c, sh7032/score/cpu_asm.c, sh7032/score/ispsh7032.c, sh7045/sci/sci.c, sh7045/sci/sci_termios.c, sh7045/score/cpu_asm.c, sh7045/score/ispsh7045.c, sh7750/sci/sh4uart.c, sh7750/score/cpu_asm.c, sh7750/score/ispsh7750.c, shgdb/score/cpu_asm.c, shgdb/score/ispshgdb.c: Use "__asm__" instead of "asm" for improved c99-compliance.
2010-07-302010-07-30 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill1-1/+1
PR 1599/cpukit * sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c, sh7750/score/cpu_asm.c, shgdb/score/cpu_asm.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary to more properly reflect the intent.
2010-06-292010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-3/+1
PR 1573/cpukit * sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c, sh7750/score/cpu_asm.c, shgdb/score/cpu_asm.c: Add a per cpu data structure which contains the information required by RTEMS for each CPU core. This encapsulates information such as thread executing, heir, idle and dispatch needed.
2010-05-212010-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-7/+6
* sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c, sh7750/score/cpu_asm.c, shgdb/score/cpu_asm.c: Spacing.
2009-11-30Whitespace removal.Ralf Corsepius1-1/+1
2008-09-302008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-26/+0
* sh7750/score/ispsh7750.c, shgdb/score/ispshgdb.c: Fine tune conditional so _CPU_ISR_install_vector is in CPU Kit now.
2008-09-252008-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-200/+0
* Makefile.am, configure.ac, sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c, sh7750/score/cpu_asm.c: Move duplicated context switch code to score/cpu and provide an interrupt handling stub for the GDB SuperH simulator since it does not support interrupts or devices. This has been used to run tests on the simulator BSP as SH1, SH2, and SH4. * shgdb/score/cpu_asm.c, shgdb/score/ispshgdb.c: New files.
2008-09-052008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-42/+0
* sh7032/clock/ckinit.c, sh7045/clock/ckinit.c, sh7750/clock/ckinit.c: The Shared Memory Driver no longer requires the special IOCTL in Clock_control. This was a hack which has existed since before the Classic API Timer Manager was implemented. All implementations of and references to Clock_control were removed.
2008-09-05Convert to "bool".Ralf Corsepius1-3/+3
2008-09-02Misc. bool cleanup.Ralf Corsepius1-3/+3
2008-09-02Convert to using bool.Ralf Corsepius1-4/+4
2008-08-312008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-29/+13
* sh7032/timer/timer.c, sh7045/timer/timer.c, sh7750/timer/timer.c: Rename timer driver methods to follow RTEMS programming conventions.
2008-08-19Add missing prototypes.Ralf Corsepius1-1/+1
2008-04-232008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-17/+0
* sh7750/sci/console.c: Remove all references to console_reserve_resources and termios_reserve_resources.
2007-11-262007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-5/+6
* sh7032/clock/ckinit.c, sh7032/delay/delay.c, sh7032/timer/timer.c, sh7045/clock/ckinit.c, sh7045/timer/timer.c, sh7750/clock/ckinit.c, sh7750/timer/timer.c: Eliminate the clicks_per_microsecond field in the SuperH CPU Table and define another mechanism for drivers to obtain this information.
2007-09-122007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-15/+15
PR 1257/bsps * sh7032/score/cpu_asm.c, sh7032/timer/timer.c, sh7045/score/cpu_asm.c, sh7045/timer/timer.c, sh7750/score/cpu_asm.c, sh7750/timer/timer.c: Code outside of cpukit should use the public API for rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the public API and directly accessing _CPU_ISR_Disable and _CPU_ISR_Enable, they were bypassing the compiler memory barrier directive which could lead to problems. This patch also changes the type of the variable passed into these routines and addresses minor style issues.
2007-04-17Use Context_Control_fp* instead of void* for fp_contexts.Ralf Corsepius1-2/+2
2006-09-132006-09-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* sh7750/include/rtems/score/sh7750_regs.h: Fix spelling of IPRC (Probably a cyrillic 'C' instead of an ASCI 'C').
2005-05-11Remove.Ralf Corsepius2-94/+0
2005-03-142005-03-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-513/+488
* sh7750/sci/sh4uart.c: Now compiles under gcc 4.x and reformatted.
2005-01-072005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-4/+4
* sh7032/Makefile.am, sh7045/Makefile.am, sh7750/Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
2005-01-022005-01-02 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-42/+5
* sh7032/Makefile.am, sh7045/Makefile.am, sh7750/Makefile.am: Remove build-variant support.
2004-04-16Remove stray white spaces.Ralf Corsepius11-162/+162
2004-04-15Remove stray white spaces.Ralf Corsepius4-7/+0
2004-03-312004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2-19/+19
* sh7032/clock/ckinit.c, sh7750/include/sh/sh4uart.h, sh7750/sci/sh4uart.c: Cosmetics.
2004-03-312004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius7-52/+52
* sh7032/clock/ckinit.c, sh7032/delay/delay.c, sh7032/include/ispsh7032.h, sh7032/sci/sci.c, sh7032/score/cpu_asm.c, sh7032/timer/timer.c, sh7045/clock/ckinit.c, sh7045/include/ispsh7045.h, sh7045/sci/sci.c, sh7045/sci/sci_termios.c, sh7045/score/cpu_asm.c, sh7045/timer/timer.c, sh7750/clock/ckinit.c, sh7750/include/rtems/score/ispsh7750.h, sh7750/include/sh/sh4uart.h, sh7750/sci/sh4uart.c, sh7750/score/cpu_asm.c, sh7750/score/ispsh7750.c, sh7750/timer/timer.c: Convert to using c99 fixed size types.
2004-03-262004-03-26 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-1/+1
* sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c, sh7750/score/cpu_asm.c: Use asm constraint "i" instead of "I" to pass sizeof(Context_Control) to context switch.
2004-03-08Unused.Ralf Corsepius5-10/+0
2004-02-062004-02-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-1/+0
* sh7032/Makefile.am, sh7045/Makefile.am, sh7750/Makefile.am: Don't include .../lib.am.
2004-01-232004-01-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-175/+0
* ChangeLog: Merge-in sh7032/ChangeLog, sh7045/ChangeLog, sh7750/ChangeLog. * sh7032/ChangeLog, sh7045/ChangeLog, sh7750/ChangeLog: Remove.
2004-01-23Cleanup ChangeLogs.Ralf Corsepius1-57/+43
2004-01-212003-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius3-48/+12
* Makefile.am: Unconditionally build subdirs sh7032, sh7045, sh7750. * configure.ac: Merge-in sh7032/configure.ac, sh7045/configure.ac, sh7750/configure.ac. Add AM_CONDITIONALS sh7032, sh7045, sh7750. * sh7032/Makefile.am, sh7045/Makefile.am, sh7750/Makefile.am: Reflect changes above. Add PREINSTALL_DIRS. * sh7032/configure.ac, sh7045/configure.ac, sh7750/configure.ac: Remove. * sh7032/.cvsignore, sh7045/.cvsignore, sh7750/.cvsignore: Reflect changes above.
2004-01-172004-01-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius3-44/+59
* configure.ac: Require automake 1.8.2. Add subdir-objects to AUTOMAKE_OPTIONS. Add AM_PROG_CC_C_0. * Makefile.am: Use automake compilation rules.
2004-01-142004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-0/+9
* Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES. Add PRE/TMPINSTALL_FILES to CLEANFILES.