summaryrefslogtreecommitdiffstats
path: root/cpukit/score (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>Joel Sherrill2011-03-1615-591/+848
| | | | | | | | | | | | | | | | | | | | | | PR 1729/cpukit * configure.ac, sapi/include/confdefs.h, sapi/src/exinit.c, score/Makefile.am, score/preinstall.am, score/cpu/i386/rtems/score/cpu.h, score/cpu/sparc/cpu_asm.S, score/cpu/sparc/rtems/score/cpu.h, score/include/rtems/score/basedefs.h, score/include/rtems/score/context.h, score/include/rtems/score/percpu.h, score/src/percpu.c, score/src/thread.c, score/src/threadcreateidle.c: Add next step in SMP support. This adds an allocated array of the Per_CPU structures to support multiple cpus vs a single instance of the structure which is still used if SMP support is disabled. Configuration support is also added to explicitly enable or disable SMP. But SMP can only be enabled for the CPUs which will support it initially -- SPARC and i386. With the stub BSP support, a BSP can be run as a single core SMP system from an RTEMS data structure standpoint. * aclocal/check-smp.m4, aclocal/enable-smp.m4, score/include/rtems/bspsmp.h, score/include/rtems/score/smplock.h, score/src/smp.c, score/src/smplock.c: New files.
* 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>Joel Sherrill2011-03-1614-0/+705
| | | | | | | | | | | | | | | | | | | PR 1743/cpu * sapi/include/confdefs.h, score/Makefile.am, score/preinstall.am: Add Simple Priority Scheduler as complement to existing Deterministic Priority Scheduler. This scheduler serves both as an example and as a lighter weight implementation for smaller systems. * score/include/rtems/score/schedulersimple.h, score/inline/rtems/score/schedulersimple.inl, score/src/schedulersimple.c, score/src/schedulersimpleblock.c, score/src/schedulersimpleenqueue.c, score/src/schedulersimpleenqueuefirst.c, score/src/schedulersimpleextract.c, score/src/schedulersimplereadyqueueenqueue.c, score/src/schedulersimplereadyqueueenqueuefirst.c, score/src/schedulersimpleschedule.c, score/src/schedulersimpleunblock.c, score/src/schedulersimpleyield.c: New files.
* 2011-03-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-161-76/+0
| | | | | * score/src/threadyieldprocessor.c: Removed. File is no longer even compiled. It was an oversight to leave it.
* 2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-154-128/+6
| | | | | | | * rtems/src/taskresume.c, score/Makefile.am, score/include/rtems/score/thread.h: Convert _Thread_Resume and _Thread_Suspend into macros. * score/src/threadresume.c, score/src/threadsuspend.c: Removed.
* 2011-03-14 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-03-141-2/+2
| | | | * score/include/rtems/score/sysstate.h: Spelling.
* 2011-03-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-091-8/+9
| | | | | * score/src/threadget.c: Remove conditional since this path can be tested with and without POSIX enabled.
* 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-03-081-2/+2
| | | | | | * score/src/objectinitializeinformation.c: Reverse sense of conditional and improve comment. Comment was right but brief, conditional was backwards.
* 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-03-081-11/+11
| | | | | * score/include/rtems/score/schedulerpriority.h: Enqueue first entry said enqueue. Caught while running coverage.
* 2011-03-01 Chris Johns <chrisj@rtems.org>Chris Johns2011-03-012-13/+20
| | | | | | | * score/src/heapfree.c, score/src/heapresizeblock.c: PR 1746. Move protection block checks to after the block address has been checked as a valid heap address. Add a special case in the heap free for a NULL address.
* 2011-02-27 Jennifer Averett <jennifer.averett@OARcorp.com>Joel Sherrill2011-02-284-4/+14
| | | | | | * score/include/rtems/score/schedulerpriority.h, score/src/schedulerpriority.c, score/src/schedulerpriorityextract.c, score/src/schedulerpriorityupdate.c: Formatting.
* 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-231-3/+4
| | | | * score/include/rtems/score/tod.h: Add missing includes.
* 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-236-0/+12
| | | | | | | | * score/include/rtems/debug.h, score/include/rtems/score/sysstate.h, score/include/rtems/score/timespec.h, score/inline/rtems/score/address.inl, score/inline/rtems/score/stack.inl, score/inline/rtems/score/states.inl: Add missing includes.
* 2011-02-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-02-211-12/+12
| | | | | * sapi/include/confdefs.h, score/include/rtems/score/schedulerpriority.h: Add comments.
* 2011-02-21 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-02-211-11/+11
| | | | | * sapi/include/confdefs.h, score/include/rtems/score/schedulerpriority.h: C++ compatibility.
* 2011-02-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-02-1823-287/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sapi/include/confdefs.h, score/Makefile.am, score/include/rtems/score/scheduler.h, score/include/rtems/score/schedulerpriority.h, score/include/rtems/score/thread.h, score/inline/rtems/score/scheduler.inl, score/inline/rtems/score/schedulerpriority.inl, score/src/scheduler.c, score/src/schedulerpriority.c, score/src/schedulerpriorityblock.c, score/src/schedulerpriorityschedule.c, score/src/schedulerpriorityunblock.c, score/src/schedulerpriorityyield.c, score/src/threadchangepriority.c, score/src/threadclose.c, score/src/threadinitialize.c, score/src/threadsetpriority.c, score/src/threadsettransient.c: Significant clean up on Scheduler Plugin Interface. Names were shortened. Missing operations added. Many scheduler files had unneeded includes removed. Made pointer to scheduler information in Thread_Control and Scheduler_Control a void * pointer because the thread and scheduler wrapper should be unaware of scheduler types AND this is broken for user provided schedulers. * score/src/schedulerpriorityallocate.c, score/src/schedulerpriorityenqueue.c, score/src/schedulerpriorityenqueuefirst.c, score/src/schedulerpriorityextract.c, score/src/schedulerpriorityfree.c, score/src/schedulerpriorityupdate.c: New files. * score/src/schedulerprioritythreadschedulerallocate.c, score/src/schedulerprioritythreadschedulerfree.c, score/src/schedulerprioritythreadschedulerupdate.c: Removed.
* 2011-02-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-02-1722-500/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | * sapi/include/confdefs.h, sapi/include/rtems/config.h, score/include/rtems/score/scheduler.h, score/include/rtems/score/schedulerpriority.h, score/inline/rtems/score/scheduler.inl, score/inline/rtems/score/schedulerpriority.inl, score/src/scheduler.c, score/src/schedulerpriority.c, score/src/schedulerpriorityblock.c, score/src/schedulerpriorityschedule.c, score/src/schedulerprioritythreadschedulerallocate.c, score/src/schedulerprioritythreadschedulerfree.c, score/src/schedulerprioritythreadschedulerupdate.c, score/src/schedulerpriorityunblock.c, score/src/schedulerpriorityyield.c, score/src/threadchangepriority.c, score/src/threadclearstate.c, score/src/threadclose.c, score/src/threadinitialize.c, score/src/threadready.c, score/src/threadresume.c, score/src/threadsetpriority.c, score/src/threadsetstate.c, score/src/threadsuspend.c: Simplify the pluggable scheduler interface. Its configuration made a table of available schedulers and set a pointer to one of the. This was heavy handed since you can only use one scheduler in an application. This configuration mechanism resulted in a scheduler pointer being passed around when you could put all scheduler configuration in an initialized structure.
* 2011-02-17 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-02-171-5/+7
| | | | | | | * libcsupport/src/rtems_heap_extend.c: New file. * libcsupport/Makefile.am: Reflect change from above. * libcsupport/include/rtems/malloc.h: Declare rtems_heap_extend(). * score/include/rtems/score/heap.h: Documentation.
* 2011-02-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-02-162-0/+14
| | | | | * rtems/powerpc/registers.h: Added FSL_EIS_ATBL, FSL_EIS_ATBL, and FSL_EIS_SPEFSCR defines.
* 2011-02-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-02-161-2/+1
| | | | | * score/src/wkspace.c: Removed NULL pointer check from _Workspace_Free().
* 2011-02-15 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-02-167-27/+18
| | | | | | | | | | | | * libmisc/capture/capture.c, posix/src/keyfreememory.c, posix/src/pthread.c, score/include/rtems/score/wkspace.h, score/src/objectextendinformation.c, score/src/objectnamespaceremove.c, score/src/objectsetname.c, score/src/threadclose.c, score/src/threadinitialize.c, score/src/wkspace.c: Many places were checking for a NULL pointer before calling _Workspace_Free. By moving the check into _Workspace_Free, we eliminate a number of conditional paths and make it harder to return a NULL pointer.
* 2011-02-15 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-02-152-0/+9
| | | | | * rtems/powerpc/registers.h: Added MSR_UCLE, MSR_SPE, MSR_WE, and MSR_UBLE defines.
* 2011-02-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-02-151-2/+2
| | | | | | * rtems/src/semtranslatereturncode.c, score/include/rtems/score/coremutex.h: Returns tests to running state.
* 2011-02-14 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-02-141-1/+1
| | | | | * rtems/src/semtranslatereturncode.c, score/src/coremutexsurrender.c: Now all conditionals have the correct sense and all tests pass.
* 2011-02-14 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-02-143-6/+10
| | | | | | | * score/include/rtems/score/coremutex.h, score/inline/rtems/score/coremutex.inl, score/src/apimutexallocate.c: Fix direction of conditional and eliminate use of nesting is error when POSIX is disabled.
* 2011-02-11 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-02-113-8/+17
| | | | | | | | * rtems/src/semtranslatereturncode.c, score/include/rtems/score/coremutex.h, score/src/coremutexsurrender.c, score/src/objectinitializeinformation.c: Disable code not reachable when POSIX is not enabled.
* 2011-02-11 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-02-111-1/+2
| | | | * score/include/rtems/score/context.h: Spacing.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-111-1/+1
| | | | | * score/include/rtems/score/basedefs.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-113-18/+23
| | | | | * rtems/score/cpu.h, rtems/score/sparc64.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-113-9/+14
| | | | | * rtems/powerpc/registers.h, rtems/score/cpu.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-112-1/+6
| | | | | * irq.c: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-114-25/+30
| | | | | * cpu.c, rtems/score/cpu.h, rtems/score/m68k.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-112-1/+6
| | | | | * context_init.c: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-116-10/+16
| | | | | | * context_init.c, cpu.c, varvects.h, rtems/score/cpu.h, rtems/score/m32c.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-116-24/+30
| | | | | | * cpu.c, sse_test.c, rtems/score/cpu.h, rtems/score/i386.h, rtems/score/interrupts.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-114-11/+16
| | | | | * cpu.c, rtems/asm.h, rtems/score/cpu.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-112-3/+8
| | | | | * rtems/score/cpu.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-112-1/+5
| | | | * avr/power.h: Revert previous patch.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-115-12/+17
| | | | | * cpu.c, avr/interrupt.h, avr/power.h, rtems/score/cpu.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-113-9/+14
| | | | | * cpu.c, rtems/score/cpu.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-114-13/+18
| | | | | * cpu.c, irq.c, rtems/score/lm32.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-115-17/+22
| | | | | * context.c, cpu.c, rtems/score/cpu.h, rtems/score/sh.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-113-17/+22
| | | | | * cpu.c, rtems/score/mips.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-113-11/+16
| | | | | * rtems/score/cpu.h, rtems/score/sparc.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-02-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-02-011-0/+2
| | | | | | PR 1733/cpukit * score/src/isr.c: If target architecture does nto require stack initialization, then do not perform adjustment.
* 2011-01-31 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-02-012-1/+5
| | | | * context_switch.S: Reverse registers.
* 2011-01-31 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-01-312-19/+87
| | | | | * rtems/powerpc/registers.h: Changed Freescale EIS prefix. More Freescale EIS defines. Added MSR_IS, MSR_DS, and MSR_PMM defines.
* 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-2832-32/+32
| | | | | | | | | | | | | | | | | | | | | | | * include/rtems/bspIo.h, include/rtems/concat.h, include/rtems/irq.h, score/cpu/i386/rtems/score/idtr.h, score/cpu/powerpc/rtems/powerpc/registers.h, score/src/objectidtoname.c, score/src/schedulerpriorityblock.c, score/src/schedulerpriorityschedule.c, score/src/schedulerpriorityunblock.c, score/src/schedulerpriorityyield.c, score/src/thread.c, score/src/threadchangepriority.c, score/src/threadclearstate.c, score/src/threadclose.c, score/src/threadcreateidle.c, score/src/threaddelayended.c, score/src/threaddispatch.c, score/src/threadget.c, score/src/threadhandler.c, score/src/threadinitialize.c, score/src/threadloadenv.c, score/src/threadready.c, score/src/threadreset.c, score/src/threadrestart.c, score/src/threadresume.c, score/src/threadsetpriority.c, score/src/threadsetstate.c, score/src/threadsettransient.c, score/src/threadstackallocate.c, score/src/threadstackfree.c, score/src/threadstart.c, score/src/threadstartmultitasking.c, score/src/threadsuspend.c, score/src/threadtickletimeslice.c, score/src/threadyieldprocessor.c: Fix typo where license said found in found in.
* 2011-01-26 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-01-262-0/+5
| | | | * rtems/powerpc/registers.h: Added BOOKE_PIR define.
* 2011-01-20 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-01-201-2/+2
| | | | | * libblock/src/show_bdbuf.c, score/src/objectmp.c, score/src/threadmp.c: Avoid chain API violations.
* 2011-01-20 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-01-201-6/+6
| | | | | * libblock/src/show_bdbuf.c, score/src/objectmp.c: Avoid chain API violations.