summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sh/cpu.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-07-28score: Canonicalize _CPU_Fatal_halt()Sebastian Huber1-1/+8
Move _CPU_Fatal_halt() declaration to <rtems/score/cpuimpl.h> and make sure it is a proper declaration of a function which does not return. Fix the type of the error code. If necessary, add the implementation to cpu.c. Implementing _CPU_Fatal_halt() as a function makes it possible to wrap this function for example to fully test _Terminate().
2019-03-14Remove superfluous <rtems/system.h> includesSebastian Huber1-1/+0
2018-11-12sh: Remove use of proc_ptrSebastian Huber1-33/+10
Update #3585.
2018-10-05score: Remove CPU_PROVIDES_IDLE_THREAD_BODYSebastian Huber1-28/+0
Remove the CPU_PROVIDES_IDLE_THREAD_BODY option to avoid unnecessary conditional compilation. Close #3539.
2016-06-08score: Delete dead copy and paste codeSebastian Huber1-8/+0
2016-02-17sh: Avoid SCORE_EXTERNSebastian Huber1-0/+6
Update #2559.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2014-02-04Add thread-local storage (TLS) supportSebastian Huber1-1/+2
Tested and implemented on ARM, m68k, PowerPC and SPARC. Other architectures need more work.
2012-12-02score misc: Clean up Doxygen #13 (GCI 2012)Mathew Kallada1-3/+9
This patch is a task from GCI 2012 which improves the Doxygen comments in the RTEMS source. http://www.google-melange.com/gci/task/view/google/gci2012/8013205
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+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-07-242011-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-8/+4
* cpu.c: Remove /*PAGE markers which were interpreted by a long dead print script.
2011-02-112011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-2/+2
* context.c, cpu.c, rtems/score/cpu.h, rtems/score/sh.h: Use "__asm__" instead of "asm" for improved c99-compliance.
2010-05-232010-05-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+2
* cpu.c: Warning removal.
2010-03-272010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-0/+4
* context.c, cpu.c: Add include of config.h
2009-12-04Whitespace removal.Ralf Corsepius1-10/+10
2009-02-122009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to consistently return void * and take a uintptr_t argument.
2009-02-112009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-19/+2
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and passing address of _Thread_Dispatch to _CPU_Initialize. Clean up comments.
2008-12-07Fix typo.Ralf Corsepius1-1/+1
2008-09-302008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-25/+16
* cpu.c: Fine tune conditional so _CPU_ISR_install_vector is in CPU Kit now.
2008-09-082008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-2/+2
* cpu.c: Remove extraneous spaces.
2008-07-312008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+1
* cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads.
2007-12-042007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-2/+0
* 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-05-222007-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-3/+1
* 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.
2006-08-102006-08-10 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* cpu.c, rtems/score/sh.h: Recognize sh2e variant so multilibs will all compile.
2004-04-15Remove stray white spaces.Ralf Corsepius1-1/+0
2004-03-302004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-11/+11
* cpu.c, rtems/score/cpu.h, rtems/score/sh.h, rtems/score/sh_io.h: Convert to using c99 fixed size types.
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* 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.
2001-10-152001-10-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+2
* cpu.c: Fix #ifdefs, add missing #endif.
2001-10-122001-10-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-7/+1
* 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-122001-10-12 Alexandra Kossovsky <sasha@oktet.ru>Joel Sherrill1-0/+25
* 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-08-162001-07-25 Radzislaw Galler <rgaller@et.put.poznan.pl>Joel Sherrill1-1/+4
* cpu.c (_CPU_ISR_install_vector): Corrected interrupt range checking which was SH1 specific. It didn't work for SH2 (has more interrupt sources).
1999-11-18Patch from "John M. Mills" <jmills@tga.com> with subsequent cleanup fromJoel Sherrill1-1/+1
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
1998-03-20SH port submitted from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill1-75/+88
1998-02-17updated copyright to 1998Joel Sherrill1-1/+1
1997-10-08Fixed typo in the pointer to the license terms.Joel Sherrill1-2/+2
1997-04-22headers updated to reflect new style copyright notice as partJoel Sherrill1-5/+5
of switching to the modified GNU GPL.
1997-04-07commented out sccs_id to eliminate warning.Joel Sherrill1-3/+6
1996-09-11added $Id$ to file headersJoel Sherrill1-1/+1
cpu.h: added prototype for _CPU_ISR_Get_level()
1996-09-06new file for MIPS port by Craig Lebakken (lebakken@minn.net) andJoel Sherrill1-4/+60
Derrick Ostertag (ostertag@transition.com).
1996-02-21Dispersal of internal thread handler resulted in IDLE thread becomingJoel Sherrill1-2/+2
part of the Thread Handler. This required the name of the optional CPU dependent IDLE thread implementation to change.
1995-09-26posix support initially addedJoel Sherrill1-2/+2
1995-09-22Removed unneeded referenced to rtems/fatal.hJoel Sherrill1-1/+0
1995-09-11The word "RTEMS" almost completely removed from the core.Joel Sherrill1-5/+14
Configuration Table Template file added and all tests modified to use this. All gvar.h and conftbl.h files removed from test directories. Configuration parameter maximum_devices added. Core semaphore and mutex handlers added and RTEMS API Semaphore Manager updated to reflect this. Initialization sequence changed to invoke API specific initialization routines. Initialization tasks table now owned by RTEMS Tasks Manager. Added user extension for post-switch. Utilized user extensions to implement API specific functionality like signal dispatching. Added extensions to the System Initialization Thread so that an API can register a function to be invoked while the system is being initialized. These are largely equivalent to the pre-driver and post-driver hooks. Added the Modules file oar-go32_p5, modified oar-go32, and modified the file make/custom/go32.cfg to look at an environment varable which determines what CPU model is being used. All BSPs updated to reflect named devices and clock driver's IOCTL used by the Shared Memory Driver. Also merged clock isr into main file and removed ckisr.c where possible. Updated spsize to reflect new and moved variables. Makefiles for the executive source and include files updated to show break down of files into Core, RTEMS API, and Neither. Header and inline files installed into subdirectory based on whether logically in the Core or a part of the RTEMS API.
1995-07-12Ada95, gnat, go32Joel Sherrill1-2/+22
1995-06-14added David Glessner's 68302 work.Joel Sherrill1-5/+5