Commit Graph

6 Commits

Author SHA1 Message Date
Joel Sherrill
3d7fa72bc2 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
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-09-12 15:23:49 +00:00
Ralf Corsepius
3906b3eaa1 Remove stray white spaces. 2004-04-16 21:29:43 +00:00
Ralf Corsepius
e96a950bcf 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* 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-31 02:00:03 +00:00
Joel Sherrill
85a18cc59e 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* 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-09-04 18:53:13 +00:00
Joel Sherrill
fc0ac39cda 2001-10-12 Joel Sherrill <joel@OARcorp.com>
* 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-10-12 21:00:52 +00:00
Joel Sherrill
4a238002e7 Patch from "John M. Mills" <jmills@tga.com> with subsequent cleanup from
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
1999-11-18 21:22:58 +00:00