| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change starts with removing the effectively empty file
timerdrv.h. The prototypes for benchmark_timer_XXX() were in
btimer.h which was not universally used. Thus every use of
timerdrv.h had to be changed to btimer.h. Then the prototypes
for benchmark_timer_read() had to be adjusted to return
benchmark_timer_t rather than int or uint32_t.
I took this opportunity to also correct the file headers to
separate the copyright from the file description comments which
is needed to ensure the copyright isn't propagated into Doxygen
output.
|
| |
|
| |
|
|
|
|
|
| |
Termios notifies now the driver about an inactive transmit with the
length argument set to zero.
|
|
|
|
|
| |
Delete _Thread_Dispatch_in_critical_section() and
_Thread_Is_dispatching_enabled().
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Many files had an extra blank line in the license text
found in the file header. This patch removes that line.
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
The script that did this also turned off execute permission
when it was turned on incorrectly.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
* sh7750/score/ispsh7750.c, shgdb/score/ispshgdb.c: Fine tune
conditional so _CPU_ISR_install_vector is in CPU Kit now.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* sh7032/clock/ckinit.c, sh7045/clock/ckinit.c, sh7750/clock/ckinit.c:
The Shared Memory Driver no longer requires the special IOCTL in
Clock_control. This was a hack which has existed since before the
Classic API Timer Manager was implemented. All implementations of and
references to Clock_control were removed.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* sh7032/timer/timer.c, sh7045/timer/timer.c, sh7750/timer/timer.c:
Rename timer driver methods to follow RTEMS programming conventions.
|
| |
|
|
|
|
|
| |
* sh7750/sci/console.c: Remove all references to
console_reserve_resources and termios_reserve_resources.
|
|
|
|
|
|
|
|
| |
* sh7032/clock/ckinit.c, sh7032/delay/delay.c, sh7032/timer/timer.c,
sh7045/clock/ckinit.c, sh7045/timer/timer.c, sh7750/clock/ckinit.c,
sh7750/timer/timer.c: Eliminate the clicks_per_microsecond field in
the SuperH CPU Table and define another mechanism for drivers to
obtain this information.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
* sh7750/include/rtems/score/sh7750_regs.h: Fix spelling of IPRC
(Probably a cyrillic 'C' instead of an ASCI 'C').
|
| |
|
|
|
|
| |
* sh7750/sci/sh4uart.c: Now compiles under gcc 4.x and reformatted.
|
|
|
|
|
| |
* sh7032/Makefile.am, sh7045/Makefile.am, sh7750/Makefile.am:
Eliminate CFLAGS_OPTIMIZE_V.
|
|
|
|
|
| |
* sh7032/Makefile.am, sh7045/Makefile.am, sh7750/Makefile.am:
Remove build-variant support.
|
| |
|
| |
|
|
|
|
|
| |
* sh7032/clock/ckinit.c, sh7750/include/sh/sh4uart.h,
sh7750/sci/sh4uart.c: Cosmetics.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
| |
* sh7032/Makefile.am, sh7045/Makefile.am, sh7750/Makefile.am: Don't
include .../lib.am.
|
|
|
|
|
|
| |
* ChangeLog: Merge-in sh7032/ChangeLog, sh7045/ChangeLog,
sh7750/ChangeLog.
* sh7032/ChangeLog, sh7045/ChangeLog, sh7750/ChangeLog: Remove.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Unconditionally build subdirs sh7032, sh7045, sh7750.
* configure.ac: Merge-in sh7032/configure.ac, sh7045/configure.ac,
sh7750/configure.ac.
Add AM_CONDITIONALS sh7032, sh7045, sh7750.
* sh7032/Makefile.am, sh7045/Makefile.am, sh7750/Makefile.am:
Reflect changes above. Add PREINSTALL_DIRS.
* sh7032/configure.ac, sh7045/configure.ac, sh7750/configure.ac:
Remove.
* sh7032/.cvsignore, sh7045/.cvsignore, sh7750/.cvsignore:
Reflect changes above.
|
|
|
|
|
|
|
| |
* configure.ac: Require automake 1.8.2.
Add subdir-objects to AUTOMAKE_OPTIONS.
Add AM_PROG_CC_C_0.
* Makefile.am: Use automake compilation rules.
|
|
|
|
|
| |
* Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES.
Add PRE/TMPINSTALL_FILES to CLEANFILES.
|
|
|
|
| |
* Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
|
|
|
|
| |
* configure.ac: Require automake >= 1.8, autoconf >= 2.59.
|
|
|
|
| |
* Makefile.am: Misc cleanups and fixes.
|
|
|
|
| |
* Makefile.am: Remove all-local: $(ARCH).
|
|
|
|
| |
* Makefile.am: Reformat. Use dirstamps for preinstallation.
|
|
|
|
| |
* configure.ac: Remove RTEMS_CANONICAL_HOST.
|