Commit Graph

22 Commits

Author SHA1 Message Date
Ralf Corsepius
05d72d5e09 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* context.c, cpu.c, rtems/score/cpu.h, rtems/score/sh.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 08:56:10 +00:00
Ralf Corsepius
a4f9124168 2010-05-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu.c: Warning removal.
2010-05-23 05:47:27 +00:00
Joel Sherrill
f086af89dd 2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* context.c, cpu.c: Add include of config.h
2010-03-27 15:02:35 +00:00
Ralf Corsepius
5bb38e1566 Whitespace removal. 2009-12-04 05:25:30 +00:00
Joel Sherrill
cca8379862 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
	consistently return void * and take a uintptr_t argument.
2009-02-12 15:55:55 +00:00
Joel Sherrill
c03e2bc8c7 2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
	passing address of _Thread_Dispatch to _CPU_Initialize. Clean up
	comments.
2009-02-11 21:45:05 +00:00
Ralf Corsepius
383871acea Fix typo. 2008-12-07 11:25:55 +00:00
Joel Sherrill
8baeb42d2d 2008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c: Fine tune conditional so _CPU_ISR_install_vector is in CPU Kit
	now.
2008-09-30 16:23:34 +00:00
Joel Sherrill
df4fcaa0af 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c: Remove extraneous spaces.
2008-09-08 15:19:23 +00:00
Joel Sherrill
3c87adba3f 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads.
2008-07-31 14:55:56 +00:00
Joel Sherrill
ee29de05bc 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
	Table to Configuration Table. Eliminate CPU Table from all ports.
	Delete references to CPU Table in all forms.
2007-12-04 22:19:10 +00:00
Joel Sherrill
60f016f59d 2007-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
	score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
	score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
	score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
	cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
	executive initialization.
2007-05-22 20:57:34 +00:00
Joel Sherrill
94690433ea 2006-08-10 Joel Sherrill <joel@OARcorp.com>
* cpu.c, rtems/score/sh.h: Recognize sh2e variant so multilibs will all
	compile.
2006-08-10 21:56:54 +00:00
Ralf Corsepius
3239698d1f Remove stray white spaces. 2004-04-15 13:26:21 +00:00
Ralf Corsepius
9a26317f87 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* cpu.c, rtems/score/cpu.h, rtems/score/sh.h, rtems/score/sh_io.h:
	Convert to using c99 fixed size types.
2004-03-30 11:46:37 +00:00
Joel Sherrill
7f28803d7c 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* asm.h, cpu.c, rtems/score/cpu.h, rtems/score/sh.h,
	rtems/score/sh_io.h, rtems/score/types.h: URL for license changed.
2003-09-04 18:55:08 +00:00
Joel Sherrill
3bcc0d8913 2001-10-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* cpu.c: Fix #ifdefs, add missing #endif.
2001-10-15 17:58:07 +00:00
Joel Sherrill
7d953c2d08 2001-10-12 Joel Sherrill <joel@OARcorp.com>
* asm.h, cpu.c, rtems.c, rtems/score/cpu.h, rtems/score/sh.h,
	rtems/score/sh_io.h, rtems/score/shtypes.h: Consistency changes
	and made sure there were no includes from the libcpu tree.
2001-10-12 17:46:47 +00:00
Joel Sherrill
bc5fc7a6f4 2001-10-12 Alexandra Kossovsky <sasha@oktet.ru>
* cpu.c, rtems/score/cpu.h, rtems/score/sh.h: Modified to
	support SH4.  Reviewed by Ralf Corsepius <corsepiu@faw.uni-ulm.de>
	who did the original SH port.
2001-10-12 17:40:22 +00:00
Joel Sherrill
f30a0ca972 2001-07-25 Radzislaw Galler <rgaller@et.put.poznan.pl>
* cpu.c (_CPU_ISR_install_vector): Corrected interrupt range
	checking which was SH1 specific. It didn't work for SH2 (has more
	interrupt sources).
2001-08-16 21:11:13 +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
Joel Sherrill
50cf94da7e SH port submitted from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1998-03-20 17:16:31 +00:00