summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/sh/sh7032 (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-12-08bsp/gensh1: Move libcpu files to BSPSebastian Huber11-1998/+0
Update #3254.
2017-03-22termios: Synchronize with latest FreeBSD headersKevin Kirspel1-8/+10
Adding modified FreeBSD headers to synchronize RTEMS termios with FreeBSD. Modify termios to support dedicated input and output baud for termios structure. Updated BSPs to use dedicated input and output baud in termios structure. Updated tools to use dedicated input and output baud in termios structure. Updated termios testsuites to use dedicated input and output baud in termios structure. Close #2897.
2016-05-20score: Rename _ISR_Disable() and _ISR_Enable()Sebastian Huber1-6/+6
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-0/+1
2014-10-13libcpu/sh/sh7032/clock/ckinit.c: Fix warningsJoel Sherrill1-24/+7
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 Johns11-11/+11
2013-07-26Include missing <rtems/score/threaddispatch.h>Sebastian Huber1-2/+2
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.
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 Corsepius1-1/+1
* 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-3/+3
* 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-10/+10
* sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c, sh7750/score/cpu_asm.c, shgdb/score/cpu_asm.c: Spacing.
2008-09-252008-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-127/+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-32/+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-4/+2
2008-08-312008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-19/+9
* 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
2007-11-262007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill3-13/+17
* 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-42/+42
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
2005-05-11Remove.Ralf Corsepius2-92/+0
2005-01-072005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-5/+5
* 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-52/+6
* sh7032/Makefile.am, sh7045/Makefile.am, sh7750/Makefile.am: Remove build-variant support.
2004-04-16Remove stray white spaces.Ralf Corsepius10-127/+127
2004-04-012004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-1/+1
* sh7032/sci/sci.c: Include <rtems/iosupp.h> instead of <iosupp.h>. * sh7045/sci/sci.c: Include <rtems/iosupp.h> instead of <iosupp.h>. * sh7045/sci/sci_termios.c: Include <rtems/iosupp.h> instead of <iosupp.h>.
2004-03-312004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-1/+1
* 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 Corsepius6-35/+35
* 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 Corsepius6-12/+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-199/+0
* ChangeLog: Merge-in sh7032/ChangeLog, sh7045/ChangeLog, sh7750/ChangeLog. * sh7032/ChangeLog, sh7045/ChangeLog, sh7750/ChangeLog: Remove.
2004-01-23Cleanup ChangeLogs.Ralf Corsepius1-40/+28
2004-01-212003-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius3-47/+11
* 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-51/+70
* 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.
2003-12-122003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-4/+6
* Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
2003-12-122003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-2/+6
* configure.ac: Require automake >= 1.8, autoconf >= 2.59.
2003-12-112003-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-5/+9
* Makefile.am: Misc cleanups and fixes.
2003-12-022003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-1/+5
* Makefile.am: Remove all-local: $(ARCH).
2003-12-012003-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-17/+36
* Makefile.am: Reformat. Use dirstamps for preinstallation.
2003-10-222003-10-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-1/+4
* configure.ac: Remove RTEMS_CANONICAL_HOST.
2003-10-212003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-1/+4
* configure.ac: Remove RTEMS_CHECK_CPU.
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill12-11/+18
* clock/ckinit.c, delay/delay.c, include/iosh7032.h, include/ispsh7032.h, include/sci.h, include/sh7_pfc.h, include/sh7_sci.h, sci/sci.c, score/cpu_asm.c, score/ispsh7032.c, timer/timer.c: URL for license changed.
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-4/+5
* score/cpu_asm.c: Removed incorrect statement about copyright assignment.
2003-08-182003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-1/+5
* Makefile.am: Reflect having moved aclocal/.