summaryrefslogtreecommitdiffstats
path: root/cpukit/score (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-10-2132-48/+144
| | | | | | * .cvsignore: Reformat. Add autom4te*cache. Remove autom4te.cache.
* 2002-10-04 Jay Monkman <jtm@smoothsmoothie.com>Joel Sherrill2002-10-042-15/+19
| | | | * rtems/score/cpu.h: Fix u16 and u32 swap routines.
* 2002-09-14 Ivan Guzvinec <ivang@opencores.org>Joel Sherrill2002-09-142-0/+16
| | | | | * rtems/score/cpu.h (_CPU_Initialize_vectors) Define to NULL since it is not used.
* 2002-08-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-08-291-14/+0
| | | | | | | * score/include/Makefile.am: Remove cpuopt.h generation. * configure.ac: Correct package name. Don't build ada if POSIX is disabled. Generate cpuopt.h on the fly, filter out autoconf-2.53 PACKAGE crap.
* 2002-08-26 Eric Norum <eric.norum@usask.ca>Joel Sherrill2002-08-262-6/+6
| | | | | * cpu_asm.S: More PR267 tinkering which eliminates some conditional compilation.
* 2002-08-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-08-143-0/+8
| | | | | * macros/rtems/score/coremsg.inl: Add <string.h> to remove warning. * src/threadidlebody.c: Add return 0 to avoid warning.
* 2002-08-14 Brett Swimley <brett.swimley@aedinc.net>Joel Sherrill2002-08-143-2/+30
| | | | | | | | | | * cpu_asm.S: Per PR267, the _ISR_Handler() function never was modifying _ISR_Nest_level, and _Watchdog_Insert() requires this variable to be modified to determine if an interrupt may have modified the watchdog chain. Prior to modifying _ISR_Handler(), I had a test that would fail if _ISR_Flash was not commented out in _Watchdog_Insert(). After this modification was made, my test ran flawlessly.
* 2002-08-14 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2002-08-142-41/+44
| | | | | * cpu_asm.S: Clarified some comments, removed code that forced SR_IEP on when returning from an interrupt.
* 2002-08-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-08-082-2/+5
| | | | * cpu.c: Move pointer into #ifdef to avoid compiler warning.
* 2002-08-07 Chris Johns <ccj@acm.org>Joel Sherrill2002-08-072-2/+8
| | | | | | * src/coretodset.c: Correct calculation of ticks until next section boundary. It was incorrectly based upon current time not the time that is being set.
* 2002-08-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-08-064-4/+9
| | | | | * asm.h, rtems/score/cpu.h: Correct items that have changed since RTEMS version or32 port was based upon.
* 2002-08-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-08-053-2/+6
| | | | * rtems/score/cpu.h, rtems/score/types.h: Updated to fix some typos.
* 2002-08-05 Chris Ziomkowski <chris@asics.ws>Joel Sherrill2002-08-058-297/+648
| | | | | * asm.h, cpu.c, cpu_asm.c, rtems/score/cpu.h, rtems/score/or32.h, rtems/score/types.h: Merged from OpenCores CVS repository.
* 2002-08-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-08-053-89/+11
| | | | | | | | | * Per PR260 eliminate use of make-target-options. This impacted RTEMS allowing a distinction between the CPU32 and CPU32+ in the SuperCore and required that the m68k optimized memcpy be moved to libcpu. * memcpy.c: Moved to libcpu. * Makefile.am: Modified to reflect above.
* 2002-07-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-312-1/+9
| | | | * src/Makefile.am: Build into libscore.a.
* 2002-07-31 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-07-3113-2011/+0
| | | | | | | * .cvsignore, ChangeLog, asm.h, configure.ac, cpu.c, cpu_asm.c, rtems/score/.cvsignore, rtems/score/cpu.h, rtems/score/cpu_asm.h, rtems/score/or16.h, rtems/score/types.h: Removed as the or16 port was just a stub and only the OR32 port is getting worked on.
* 2002-07-30 Jay Monkman <jtm@smoothsmoothie.com>Joel Sherrill2002-07-307-320/+325
| | | | | | | | | * cpu.c, cpu_asm.S, rtems/score/arm.h, rtems/score/cpu.h, rtems/score/cpu_asm.h, rtems/score/types.h: ARM port works well enough to run all sptests, tmtests, and ttcp. In addition to general cleanup, there has been considerable optimization to interrupt disable/enable, endian swapping, and context switching.
* 2002-07-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-2634-119/+156
| | | | * Makefile.am: Build libscorecpu.a instead of rtems-cpu.rel.
* 2002-07-22 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-07-232-0/+7
| | | | | | * include/rtems/score/apimutex.h (_API_Mutex_Lock): Per PR253 add the missing _ISR_Disable. This fix was already applied to the old location (c/src/exec/score/...).
* 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-222-1/+5
| | | | * src/Makefile.am: Use .$(OBJEXT) instead of .o.
* 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-2234-29/+121
| | | | * Makefile.am: Use .$(OBJEXT) instead of .o.
* 2002-07-17 Jay Monkman <jtm@smoothsmoothie.com>Joel Sherrill2002-07-177-207/+324
| | | | | | | | | | | * rtems/score/cpu_asm.h: Enhanced to include register offsets. * Makefile.am: Install rtems/score/cpu_asm.h. * cpu.c: Significantly enhanced including the implementation of _CPU_ISR_Get_level. * cpu_asm.S: Improved behavior of context switch and interrupt dispatching. * rtems/score/arm.h: Improved the CPU model name determination. * rtems/score/cpu.h: Improved interrupt disable/enable functions.
* 2002-07-16 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2002-07-162-3/+8
| | | | | * cpu_asm.S: Added SR_IEO to context restore to fix isr disabled deadlock caused by interrupt arriving while dispatching.
* 2002-07-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-07-162-3/+8
| | | | | * macros/rtems/score/object.inl: Corrected typos in _Objects_Open, _Objects_Close, and _Objects_Namespace_remove.
* 2002-07-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-07-052-8/+18
| | | | | | * macros/rtems/score/object.inl: Corrected implementation of _Objects_Open, _Objects_Close, and _Objects_Namespace_remove to be consistent with the inline implementation.
* 2002-07-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-07-054-5/+9
| | | | | * cpu.c, irq.c, rtems/score/cpu.h: Filled in something that was marked XXX.
* 2002-07-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-07-056-3/+15
| | | | * rtems/score/cpu.h: Filled in something that was marked XXX.
* 2002-07-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-0534-17/+85
| | | | * configure.ac: RTEMS_TOP(../../../..).
* 2002-07-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-07-042-1/+5
| | | | * Makefile.am: Remove reference to deprecated rtems.c.
* 2002-07-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-036-18/+18
| | | | | * rtems.c: Remove. * Makefile.am: Reflect changes above.
* 2002-07-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-0314-41/+41
| | | | | * rtems.c: Remove. * Makefile.am: Reflect changes above.
* 2002-07-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-0310-30/+30
| | | | | * rtems.S: Remove. * Makefile.am: Reflect changes above.
* 2002-07-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-07-0126-166/+529
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Mega patch merge to change the format of the object IDs to loosen the dependency between the SCORE and the various APIs. There was considerable work to simplify the object name management and it appears that the name_table field is no longer needed. This patch also includes the addition of the internal mutex which is currently only used to protect some types of allocation and deallocation. This significantly can reduce context switch latency under certain circumstances. In particular, some heap/region operations were O(n) and had dispatching disabled. This should help enormously. With this merge, the patch is not as clean as it should be. In particular, the documentation has not been modified to reflect the new object ID layout, the IDs in the test screens are not updated, and _Objects_Get_information needs to be a real routine not inlined. As part of this patch a lot of MP code for thread/proxy blocking was made conditional and cleaned up. * include/Makefile.am, include/rtems/score/coremsg.h, include/rtems/score/coremutex.h, include/rtems/score/coresem.h, include/rtems/score/object.h, include/rtems/score/threadq.h, inline/rtems/score/object.inl, inline/rtems/score/thread.inl, macros/rtems/score/object.inl, src/Makefile.am, src/coremsg.c, src/coremutex.c, src/coresem.c, src/mpci.c, src/objectcomparenameraw.c, src/objectextendinformation.c, src/objectinitializeinformation.c, src/objectnametoid.c, src/thread.c, src/threadclose.c, src/threadget.c, src/threadq.c, src/threadqextractwithproxy.c: Modified as part of above. * include/rtems/score/apimutex.h, src/objectgetnoprotection.c: New files.
* 2002-07-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-07-012-2/+8
| | | | | | * rtems/score/cpu.h: Fixed comments and renamed CPU_SYSTEM_INITIALIZATION_THREAD_EXTRA_STACK to CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK to be consistent with other code.
* 2002-07-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-0134-34/+68
| | | | * configure.ac: Remove RTEMS_PROJECT_ROOT.
* 2002-06-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-06-274-6/+41
| | | | | | * Makefile.am, cpu.c, cpu_asm.S, rtems.S: Modified to make this all compile again. It has been a while since we have had a semi-working hppa1.1-rtems cross compiler. :)
* 2002-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-06-2732-0/+80
| | | | * configure.ac: Add RTEMS_PROG_CCAS
* 2002-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-06-2734-17/+119
| | | | | * configure.ac: Use AC_CONFIG_AUX_DIR(../../../..). Add AC_PROG_RANLIB.
* 2002-06-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-06-262-1/+5
| | | | * configure.ac: Remove references to RTEMS_BSP.
* 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-06-176-11/+11
| | | | * Include $(top_srcdir)/automake/*.am.
* 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-06-1734-85/+175
| | | | | * Makefile.am: Include $(top_srcdir)/../../../automake/*.am. Use ../../../aclocal.
* 2002-05-28 Chris Johns <ccj@acm.org>Joel Sherrill2002-05-282-1/+6
| | | | | * rtems/score/m68k.h: Per PR227, mc68060 does not require FPSP since it is now multilib'ed.
* 2001-05-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-172-0/+21
| | | | | * macros/rtems/score/thread..inl: Implemented missing routines for new libc reentrancy support.
* 2002-05-15 Chris Johns <ccj@acm.org>Joel Sherrill2002-05-155-0/+63
| | | | | | | | | * include/rtems/score/thread.h, inline/rtems/score/thread.inl, src/threaddispatch.c, src/threadinitialize.c: Move the C library re-enterrant support directly into the thread dispatch code. RTEMS needs libc and so requiring libc to use a user extension with its overhead is not the best solution. This patch lowers the overhead to 2 pointer moves.
* 2002-05-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-142-46/+4
| | | | * rtems/score/ppc.h: Remove PPC_DEBUG_MODEL.
* 2002-05-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-142-1/+6
| | | | | * include/Makefile.am: Work-around to autoconf-2.53 adding PACKAGE_* to autoheaders - sed out *PACKAGE* from cpuopts-tmp.h.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-141-1/+8
| | | | | | | | | | | | | | | | | | | | | * rtems/new-exceptions/cpu.h: Per PR211 fix saving/restoring floating point context. The fpsave and fprestore routines are only used in a executing context which _is_ fp and hence has the FPU enabled. The current behavior required the FPU always to be on which is very dangerous if lazy context switching is used. [Joel Note: Some ports explicitly enabled the FPU in the FP save and restore routines to avoid this.] The patch also makes sure (on powerpc only) that the FPU is disabled for integer tasks. Note that this is crucial if deferred fp context switching is used. Otherwise, fp context corruption may go undetected! Also note that even tasks which merely push/pop FP registers to/from the stack without modifying them still MUST be FP tasks - otherwise (if lazy FP context switching is used), FP register corruption (of other, FP, tasks may occur)! Furthermore, (on PPC) by default, lazy FP context save/restore is _disabled_.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-143-9/+45
| | | | | | | | | | | | | | | | | | | | | * src/threaddispatch.c, src/threadhandler.c: Per PR211 fix saving/restoring floating point context. The fpsave and fprestore routines are only used in a executing context which _is_ fp and hence has the FPU enabled. The current behavior required the FPU always to be on which is very dangerous if lazy context switching is used. [Joel Note: Some ports explicitly enabled the FPU in the FP save and restore routines to avoid this.] The patch also makes sure (on powerpc only) that the FPU is disabled for integer tasks. Note that this is crucial if deferred fp context switching is used. Otherwise, fp context corruption may go undetected! Also note that even tasks which merely push/pop FP registers to/from the stack without modifying them still MUST be FP tasks - otherwise (if lazy FP context switching is used), FP register corruption (of other, FP, tasks may occur)! Furthermore, (on PPC) by default, lazy FP context save/restore is _disabled_.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-143-0/+14
| | | | | | * rtems/powerpc/registers.h, rtems/score/ppc.h: Per PR213, add support for the MPC74000 (AKA G4); there is no AltiVec support yet, however.
* 2002-04-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-013-42/+19
| | | | | | | * rtems/score/ppc.h: Remove rtems_multilib. Add mpc555 (Based on comments from Sergei Organov <osv@javad.ru>). * rtems/old-exceptions/cpu.h: Remove _CPU_Data_Cache_Block_Flush. Remove _CPU_Data_Cache_Block_Invalidate.