summaryrefslogtreecommitdiffstats
path: root/cpukit/score (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-01-202002-01-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+6
* include/rtems/system.h: Fix typo in yesterday's change: RTEMS_MULTILIBS.
2002-01-182001-01-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-13/+18
* include/rtems/system.h: Only include cpuopts.h when building a multilib configuration. Some ports still need targopts.h but this small modification lets those ports work non-multilib while fixing being fixed for multilib.
2002-01-162002-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-2/+9
* asm.h: Remove #include <rtems/score/targopts.h>. Add #include <rtems/score/cpuopts.h>.
2002-01-162002-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill4-5/+9
* asm.h: Remove #include <rtems/score/targopts.h>. Add #include <rtems/score/cpuopts.h>. * configure.ac: Remove RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP).
2002-01-082002-01-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-0/+6
* rtems/score/cpu.h: #include <rtems/bspIo.h>.
2002-01-062002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill4-6/+8
* configure.ac: Remove RTEMS_CHECK_CUSTOM_BSP.
2002-01-062002-01-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill4-2/+10
* cpu.c: Include rtems/bspIo.h instead of bspIo.h.
2002-01-042002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-4/+10
* include/rtems/seterr.h: Add do {..} while (0) in defines. Rename set_errno_and_return_minus_one into rtems_set_errno_and_return_minus_one.
2001-12-202001-12-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill6-3/+15
* configure.ac: Use RTEMS_ENV_RTEMSCPU.
2001-12-202001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-6/+12
* inline/rtems/score/object.inl, macros/rtems/score/object.inl: Add add casts to Objects_Id in _Objects_Build_ids to avoid implicit typecasts from enum to int16 on bit16 targets (here: h8300).
2001-12-192001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+5
* src/Makefile.am: Add multilib support.
2001-12-192001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill32-45/+109
* Makefile.am: Add multilib support.
2001-12-182001-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill4-3/+8
* asm.h: include cpuopts.h instead of targopts.h * rtems/score/arm.h: Use __arm__.
2001-11-282001-11-28 Joel Sherrill <joel@OARcorp.com>,Joel Sherrill4-35/+27
This was tracked as PR91. * include/rtems/score/isr.h, inline/rtems/score/isr.inl, macros/rtems/score/isr.inl: Modified to allow any port to provide its own implementation of the macro _ISR_Is_in_progress. If the port overrides this macro, it must provide a non-inlined function implementation.
2001-11-282001-11-28 Joel Sherrill <joel@OARcorp.com>,Joel Sherrill32-0/+231
This was tracked as PR91. * rtems/score/cpu.h: Added CPU_PROVIDES_ISR_IS_IN_PROGRESS macro which is used to specify if the port uses the standard macro for this (FALSE). A TRUE setting indicates the port provides its own implementation.
2001-11-282001-11-28 Joel Sherrill <joel@OARcorp.com>,Joel Sherrill2-0/+14
This was tracked as PR91. * rtems/score/cpu.h: Added CPU_PROVIDES_ISR_IS_IN_PROGRESS macro which is used to specify if the port uses the standard macro for this (FALSE). A TRUE setting indicates the port provides its own implementation. * rtems/score/c_isr.inl: Deleted and contents merged into cpu.c. * cpu.c: Received contents of c_isr.inl. * Makefile.am: Deleted reference to c_isr.inl.
2001-11-202001-11-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+2180
* support/new_exception_processing/configure.ac, support/new_exception_processing/rtems/score/c_isr.inl, support/new_exception_processing/rtems/score/cpu.h, support/old_exception_processing/configure.ac, support/old_exception_processing/rtems/score/c_isr.inl, support/old_exception_processing/rtems/score/cpu.h, support/old_exception_processing/rtems/score/ppc_offs.h: New files missed in previous commit.
2001-11-202001-11-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-2/+15
* src/threadhandler.c: When __USE__MAIN__ is defined by the toolset, invoke the global constructors via __main. Reported as tested by Alexandra Kossovsky <sasha@oktet.ru> and Victor V. Vengerov <vvv@oktet.ru> in conjunction with a new set of tool RPMs (gcc2.95.3newlib1.9.0-3). This was tracked as GNATS PR tools/84.
2001-11-142001-11-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+5
* shared/ppc.h: The mpc8260 uses the new exception processing model and thus does not need to define PPC_USE_SPRG.
2001-11-142001-11-14 Andrew Dachs <A.Dachs@SSTL.co.uk>Joel Sherrill2-1/+5
* shared/ppc.h: mpc8260 has double FPU not single FPU.
2001-11-082001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>Joel Sherrill4-8/+35
This modification is part of the submitted modifications necessary to support the IBM PPC405 family. This submission was reviewed by Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did not negatively impact the ppc403 BSPs. The submission and tracking process was captured as PR50. * shared/asm.h, shared/ppc.h: Added PPC405 support.
2001-11-072001-11-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-1/+22
Reported by Todor.Todorov@barco.com and tracked as PR36. * include/rtems/score/object.h: Added prototype for _Objects_Get_by_index(). * src/objectget.c, src/objectgetisr.c: Corrected procedure for getting index from Id so it is correct and optimal for both single and multiprocessor configurations.
2001-10-222001-10-22 Andy Dachs <a.dachs@sstl.co.uk>Joel Sherrill2-2/+101
* shared/ppc.h: Added mpc8260 support.
2001-10-222001-10-22 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-3/+8
* src/threadhandler.c: Use __USE_INIT_FINI__ since USE_INIT_FINI pollutes the application namespace.
2001-10-172001-10-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+4
* .cvsignore: Add stamp-h.in.
2001-10-172001-10-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+5
* include/Makefile.am: Fixed path to cpuopts-tmp.h.
2001-10-162001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill5-11/+145
* include/rtems/Makefile.am: Remove. * include/rtems/Makefile.am: Remove. * include/Makefile.am: Handle subdirs, require automake-1.5. * macros/rtems/Makefile.am: Remove. * macros/rtems/score/Makefile.am: Remove. * macros/Makefile.am: Handle subdirs, require automake-1.5. * inline/rtems/Makefile.am: Remove. * inline/rtems/score/Makefile.am: Remove. * inline/Makefile.am: Handle subdirs, require automake-1.5. * Makefile.am: require automake-1.5
2001-10-152001-10-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+6
* cpu.c: Fix #ifdefs, add missing #endif.
2001-10-122001-10-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+4
* shared/ppctypes.h: Fixed typo.
2001-10-122001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-0/+95
* .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove.
2001-10-122001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+38
* .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove.
2001-10-122001-10-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill8-23/+58
* 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 Sherrill4-16/+146
* 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-122001-10-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-2/+8
* cpu_asm.S: _CPU_Context_save_fp in was incorrectly in conditional compilation block with (CPU_HARDWARE_FP == FALSE). Reported by Wayne Bullaughey <wayne@wmi.com>.
2001-10-112001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill8-0/+28
* .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove. * configure.ac: New file, generated from configure.in by autoupdate.
2001-10-112001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill39-0/+516
* .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove. * configure.ac: New file, generated from configure.in by autoupdate.
2001-09-282001-09-27 Jiri Gaisler <jiri@gaisler.com>Joel Sherrill1-0/+7
* cpu_asm.S: Small patch to fix a bug in the rtems sparc port. The bug has been there all the time, but only hits the leon bsp since the leon cpu has a 5-stage pipeline (erc32 has 4 stages).
2001-09-282001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+7
* include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. * include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='. * inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. * macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-272001-09-27 Jiri Gaisler <jiri@gaisler.com>Joel Sherrill1-4/+4
* cpu_asm.S: Small patch to fix a bug in the rtems sparc port. The bug has been there all the time, but only hits the leon bsp since the leon cpu has a 5-stage pipeline (erc32 has 4 stages).
2001-09-272001-09-27 Eric Norum <eric.norum@usask.ca>Joel Sherrill2-0/+27
* src/threadhandler.c: Now process C++ global constructors (_init) as part of the first task execution not in BSP space. This depends on the toolset defining USE_INIT_FINI so you have to have the right toolset version.
2001-09-272001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill29-14/+89
* rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. * Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-272001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+4
* shared/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-272001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+4
* rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-08-302001-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill5-52/+76
* src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c, inline/rtems/score/coremutex.inl: The per thread field resource_count should only be manipulated when a mutex is priority ceiling or priority inherit. This was reported by Chris Johns <ccj@acm.org> who also noticed that the use of switches for all disciplines generated less efficient code than using explicit tests for the one or two cases we were really interested in. Further review of his modifications made it apparent that the "isa" methods to test mutex discipline were not being used so this modification was swept into the code as well.
2001-08-302001-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+7
* src/coremutexseize.c: Add missing code for proper handling of nesting acquisitions. This only impacts building with inlines disabled on the source with the "fast mutex" optimizations. This was post the 4.5 branch and did not impact released versions.
2001-08-162001-07-25 Radzislaw Galler <rgaller@et.put.poznan.pl>Joel Sherrill2-1/+10
* 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-162001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+7
* src/coremutexsurrender.c: Use holder thread not executing thread because even though they may and often are the same it is not guaranteed unless the proper attribute is set.
2001-08-162001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-2/+11
* include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new return status to account for blocking sends. Otherwise, the caller will think that the returned message status will have the ultimate results of the operation. If the send times out, the final status will be in the return_code of the thread.
2001-08-092001-08-09 Chris Johns <ccj@acm.org>Joel Sherrill2-63/+48
* cpu_asm.S: This patch was co-developed with Eric Norum <eric.norum@usask.ca>. It closes a one instruction window on some m68k CPU cores. It fixes symptoms seen as: 1) No more `interrupt handler invoked twice for a single interrupt'. 2) No more `lockup when mc68360 CPM and PIT interrupts are at different levels'. It does insert a little more overhead on machines without hardware interrupt stacks but correctness has a price.
2001-08-092001-08-09 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-29/+50
* include/rtems/score/coremsg.h, inline/rtems/score/coremsg.inl, src/coremsgsubmit.c: Unblocking message queue operations should NOT use _Thread_Executing for return status since it is permissible to invoke message send operations from an ISR. This was reported by Suvrat Gupta <suvrat@utstar.com>.