summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/sh/sh7045/sci (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsp/gensh2: Move libcpu files to BSPSebastian Huber2017-12-082-1003/+0
| | | | Update #3254.
* termios: Synchronize with latest FreeBSD headersKevin Kirspel2017-03-222-11/+14
| | | | | | | | | | | 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.
* libcpu/sh/sh7045/sci/sci.c: Eliminate use of obsolete methodJoel Sherrill2014-10-201-23/+9
|
* SH libcpu and libbsp: Fix warningsJoel Sherrill2014-10-162-54/+43
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-212-2/+2
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-112-4/+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-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett2011-10-181-25/+25
| | | | | | PR 1917/bsps * sh7045/sci/sci_termios.c: Modifications to add dynamic tables for libchip serial drivers.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-112-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.
* Reflect termios API changes.Ralf Corsepius2010-04-152-6/+6
|
* Convert to using bool.Ralf Corsepius2008-09-021-17/+17
|
* 2005-05-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-05-032-118/+102
| | | | * sh7045/sci/sci.c, sh7045/sci/sci_termios.c: Remove warnings.
* Remove stray white spaces.Ralf Corsepius2004-04-162-108/+108
|
* 2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-04-012-2/+2
| | | | | | * 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-30 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-03-312-15/+15
| | | | | | | | | | | | | * 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.
* Unused.Ralf Corsepius2004-03-081-2/+0
|
* 2003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-042-2/+2
| | | | | | | | * clock/ckinit.c, include/io_types.h, include/iosh7045.h, include/ispsh7045.h, include/sci.h, include/sci_termios.h, include/sh7_pfc.h, include/sh7_sci.h, sci/sci.c, sci/sci_termios.c, score/cpu_asm.c, score/ispsh7045.c, timer/timer.c: URL for license changed.
* 2003-02-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-02-031-2/+2
| | | | | | PR 338/filesystem * sci/sci.c: Side-effect of fixing reentrancy problem with rtems_io_lookup_name() (API change).
* 2003-01-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-01-161-27/+0
| | | | | | | | | * Makefile.am: Merge-in subdir Makefile.ams * configure.ac: Reflect changes above. * score/Makefile.am: Removed. * sci/Makefile.am: Removed. * timer/Makefile.am: Removed. * clock/Makefile.am: Removed.
* 2002-01-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-01-151-4/+1
| | | | | | * sci/Makefile.am: Apply 2002-12-14 patch (Apparently dropped by CVS). * score/Makefile.am: Likewise. * timer/Makefile.am: Likewise.
* 2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-08-111-1/+1
| | | | | | | * clock/Makefile.am: Use .$(OBJEXT) instead of .o. * sci/Makefile.am: Use .$(OBJEXT) instead of .o. * score/Makefile.am: Use .$(OBJEXT) instead of .o. * timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* 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]). * clock/Makefile.am: Remove AUTOMAKE_OPTIONS. * Makefile.am: Remove AUTOMAKE_OPTIONS. * include/Makefile.am: Remove AUTOMAKE_OPTIONS. * sci/Makefile.am: Remove AUTOMAKE_OPTIONS. * score/Makefile.am: Remove AUTOMAKE_OPTIONS. * timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
* 2001-10-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-10-121-1/+0
| | | | | | * clock/ckinit.c, include/iosh7045.h, include/ispsh7045.h, include/sci.h, include/sh7_pfc.h, include/sh7_sci.h, sci/sci.c, score/cpu_asm.c, score/ispsh7045.c, timer/timer.c: Fixed typo.
* 2001-08-10 Radzislaw Galler <rgaller@et.put.poznan.pl>Joel Sherrill2001-08-161-0/+464
| | | | | | | | | | | | | | | * score/cpu_asm.c (sh_set_irq_priority): Changed interrupt vector number range check and handling of interrupt priority regs to conform SH2 specs. * sci/sci_termios.c: New file. * include/sci_termios.h: New file. * include/Makefile.am (EXTRA_DIST): Added sci_termios.h. (include_sh_HEADERS): Added sci_termios.h. * score/ispsh7045.c (isp): Calling an ISR with immediate argument casued negative sign extension for vector numbers of 128 and above. This was fixed. * sci/sci.c: Cleaned initialization of SCI registers; added necessary setup for new TERMIOS console cooperation
* 2001-08-10 Radzislaw Galler <rgaller@et.put.poznan.pl>Joel Sherrill2001-08-162-19/+128
| | | | | | | | | | | | | | | * score/cpu_asm.c (sh_set_irq_priority): Changed interrupt vector number range check and handling of interrupt priority regs to conform SH2 specs. * sci/sci_termios.c: New file. * include/sci_termios.h: New file. * include/Makefile.am (EXTRA_DIST): Added sci_termios.h. (include_sh_HEADERS): Added sci_termios.h. * score/ispsh7045.c (isp): Calling an ISR with immediate argument casued negative sign extension for vector numbers of 128 and above. This was fixed. * sci/sci.c: Cleaned initialization of SCI registers; added necessary setup for new TERMIOS console cooperation
* 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-09-051-0/+1
| | | | | * clock/Makefile.am, null/Makefile.am, sci/Makefile.am, timer/Makefile.am, score/Makefile.am: Include compile.am
* Patch rtems-rc-20000614-sh.tar.gz from Ralf CorsepiusJoel Sherrill2000-06-141-2/+2
| | | | | | | | | | | | | | | | | | | | | <corsepiu@faw.uni-ulm.de> that migrates the SH port to multilib'ing. This patch involved moving a number of files in the CVS repository, adding new files, and deleting files from their previous location. Ralf gave good instructions (not repeated here) and here are his notes: Note 1: In this version, I did not change the installation points of the headers which are moved inside of the source-tree. This is a temporary hack for not breaking compatibility with 4.5 based BSPs, but will probably not last once having real multilibs (We would have include file conflicts when several BSPs/CPU_MODELS share a common installation prefix). Note 2: I hope not to have broken too much, but I would not be astonished if something goes wrong. Note 3: There are more patches to come :)
* Merged from 4.5.0-beta3aJoel Sherrill2000-06-122-12/+19
|
* Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill2000-04-131-0/+2
| | | | adds .cvsignore.
* Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff fromJoel Sherrill2000-01-311-14/+9
| | | | | | | | | | Ralf Corsepius <corsepiu@faw.uni-ulm.de> that contain: * Modifications, (minor) corrections, cleanups to most existing Makefile.ams * Adds automake support to all remaining BSPs which have not yet been converted to automake. * Makefile.am for all remaining wrapup/Makefile.ams
* Patch from John M. Mills <jmills@tga.com> to correct the baselineJoel Sherrill2000-01-071-11/+81
| | | | serial drivers used in the 'gensh2' BSP for the Hitachi sh7045 CPU.
* Patch from John Mills <jmills@tga.com> to correct some cut and pasteJoel Sherrill2000-01-031-6/+6
| | | | errors.
* Removing Makefile.in and adding Makefile.am. These were missed in conversionJoel Sherrill1999-12-212-238/+35
| | | | to automake by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
* Patch rtems-rc-19991203-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1999-12-211-45/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which adds partial automake support to libcpu/<cpu>/*. Until now I have only implemented full automake support for the sh (my demonstration example :) and the i386 (inevitiable for structural reasons of this subdirectory). For all other cpus only their toplevel directories (exception: powerpc), include subdirectories and a few selected subdirectories have been converted to automake. I did this on purpose, because add automake support to each subdirectory requires individual adaptations which to be tested individually. Additionally the weirdnesses of the powerpc subdirectories hit again, esp. some powerpc cpu-models * install files to $(PROJECT_INCLUDE)/<cpu-model>/ while others install them to $(PROJECT_INCLUDE)/ * the scheme used to configure libcpu/powerpc/ is difficult to implement using automake, therefore this subdirectory still is configured by autoconf (The one out of an unlimited set selection scheme hits again :), though powerpc/*/* subdirectories already apply automake. The patch also reveils structural weaknesses in RTEMS: E.g. There seem to exist at least 5 different general schemes: * Not using libcpu at all (eg. i960) * Strictly tree-style a libcpu/<cpu-variant>/* (eg. m68k, sh) * Flat libcpu directory layout with cpu-variants merged into sources or not destinguishing cpu-variants (i386) * Not supporting variants with deep source tree (sparc, hppa, mips64orion) * Woven directory structure with shared directories (powerpc) I regret having to say this, but from my POV this means, that there doesn't exist a general implementation scheme for libcpu at all. To apply: rm -rf ./c/src/lib/libcpu/i386/wrapup rm -rf ./c/src/lib/libcpu/mips64orion/include rm -rf ./c/src/lib/libcpu/powerpc/ppc403/include patch -p1 < rtems-rc-19991203-7.diff ./bootstrap
* Patch rtems-rc-19991203-5.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1999-12-211-49/+61
| | | | | which cleans up and merges some Hitachi SH-2 modifications from John Mills <jmills@tga.com>.
* Patch rtems-19991203.sh2.diff from John M. Mills <jmills@tga.com> whichJoel Sherrill1999-12-131-1/+1
| | | | | | | | | | fixes some problems: I found the problem which prevented opening 'dev/sci1' (the default console) with the 'gensh2' (sh7045) BSP. Both SCI ports were being initialized against the same minor device number: '0'. When I tried to open minor-device '1', it naturally crashed. Fixing that one value in the 'sci_device[]' array solved the problem and allowed 'hello.exe' to run.
* Patch rtems-rc-19991117-9.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1999-11-221-1/+1
| | | | | to convert the libc directory to automake and "dozens of small fixes for Makefile.ins/configure.ins below c/src/lib."
* Patch from "John M. Mills" <jmills@tga.com> with subsequent cleanup fromJoel Sherrill1999-11-182-0/+455
Ralf Corsepius <corsepiu@faw.uni-ulm.de> that adds initial Hitachi SH-2 support to RTEMS. Ralf's comments are: Changes: ------ 1. SH-Port: * Many files renamed. * CONSOLE_DEVNAME and MHZ defines removed from libcpu. * console.c moved to libbsp/sh/shared, build in libbsp/sh/<BSP>/console applying VPATH. * CONSOLE_DEVNAME made BSP-specific, replacement is defined in bsp.h * MHZ define replaced with HZ (extendent resolution) in custom/*.cfg * -DHZ=HZ used in bspstart.c, only * Makefile variable HZ used in bsp-dependent directories only. 2. SH1-Port * clock-driver rewritten to provide better resolution for odd CPU frequencies. This driver is only partially tested on hardware, ie. sightly experimental, but I don't expect severe problems with it. * Polling SCI-driver added. This driver is experimental and completly untested yet. Therefore it is not yet used for the console (/dev/console is still pointing to /dev/null, cf. gensh1/bsp.h). * minor changes to the timer driver * SH1 specific delay()/CPU_delay() now is implemented as a function 3. SH2-Port * Merged * IMO, the code is still in its infancy. Therefore I have interspersed comments (FIXME) it for items which I think John should look after. * sci and console drivers partially rewritten and extended (John, I hope you don't mind). * Copyright notices are not yet adapted