| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c,
sh7750/score/cpu_asm.c, shgdb/score/cpu_asm.c: Spacing.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* score/cpu_asm.c: Removed incorrect statement about copyright
assignment.
|
|
|
|
|
|
|
| |
* score/cpu_asm.c: Rework logic that decides when to call
_Thread_Dispatch. Analysis by Sergei Organov <osv@javad.ru>
determined that _ISR_Signals_to_thread_executing was not being
honored and/or cleared properly.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
* delay/Makefile.am: Removed.
|
|
|
|
|
|
|
|
|
| |
* clock/Makefile.am: Eliminate *_O_FILES.
Don't include @RTEMS_BSP@.cfg.
* delay/Makefile.am: Ditto.
* sci/Makefile.am: Ditto.
* score/Makefile.am: Ditto.
* timer/Makefile.am: Ditto.
|
|
|
|
| |
* delay/delay.c, score/ispsh7032.c: Removed warnings.
|
|
|
|
|
|
|
|
| |
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* delay/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.
|
|
|
|
| |
* score/cpu_asm.c: Adapt inline asm to gcc-3.0.4.
|
|
|
|
|
| |
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* include/ispsh7032.h, score/ispsh7032.c: Account for name change.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
* delay/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.
|
|
|
|
|
|
|
| |
* 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: Fixed typo.
|
|
|
|
|
|
| |
* clock/Makefile.am, delay/Makefile.am, null/Makefile.am,
sci/Makefile.am, timer/Makefile.am, score/Makefile.am: Include
compile.am
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
<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 :)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
cosmetic things.
|
|
|