| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1777/cpukit
* libcsupport/src/malloc_deferred.c, libcsupport/src/realloc.c,
score/Makefile.am, score/cpu/lm32/irq.c, score/cpu/nios2/irq.c,
score/include/rtems/score/coremutex.h,
score/include/rtems/score/thread.h,
score/inline/rtems/score/thread.inl, score/src/heapfree.c,
score/src/pheapwalk.c, score/src/smp.c, score/src/threaddispatch.c:
Consolidated access to _Thread_Dispatch_disable_level.
* score/src/threaddisabledispatch.c, score/src/threadenabledispatch.c:
New files.
|
|
|
|
|
|
|
|
| |
PR 1781/bsps
* bfin/rtems/bf52x.h: This file defines basic MMR for the Blackfin
52x CPU. The MMR have been taken from the ADSP-BF52x Blackfin
Processor Hardware Reference from Analog Devices. Mentioned
Chapters refer to this Documentation.
|
|
|
|
|
| |
* posix/src/mqueuegetattr.c,
score/inline/rtems/score/schedulerpriority.inl: Remove warnings.
|
|
|
|
| |
* rtems/score/sparc.h: Remove warnings.
|
|
|
|
|
|
| |
PR 1780/cpukit
* rtems/score/cpu.h: Lower alignment requirements for
CPU_PARTITION_ALIGNMENT according to AAPCS.
|
|
|
|
|
| |
* sapi/include/confdefs.h, score/cpu/i386/cpu.c: Fix typos so you
really can define a user scheduler.
|
|
|
|
| |
* score/src/heap.c: Avoid integer overflow.
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1641/cpukit
* sapi/Makefile.am, sapi/preinstall.am, score/Makefile.am,
score/preinstall.am: Add Red Black Tree data structure to score.
* sapi/include/rtems/rbtree.h, sapi/inline/rtems/rbtree.inl,
score/include/rtems/score/rbtree.h, score/inline/rtems/score/rbtree.inl,
score/src/rbtree.c, score/src/rbtreeextract.c,
score/src/rbtreefind.c, score/src/rbtreefindheader.c,
score/src/rbtreeget.c, score/src/rbtreeinsert.c,
score/src/rbtreepeek.c: New files.
|
|
|
|
|
|
|
|
| |
PR 1773/cpukit
* sapi/include/confdefs.h, sapi/src/exinit.c,
score/include/rtems/bspsmp.h, score/src/percpu.c, score/src/thread.c:
Rename rtems_smp_maximum_processor to
rtems_configuration_smp_maximum_processor. Eliminate printk().
|
|
|
|
| |
actually used.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* score/src/threadyieldprocessor.c: Removed. File is no longer
even compiled. It was an oversight to leave it.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* score/include/rtems/score/sysstate.h: Spelling.
|
|
|
|
|
| |
* score/src/threadget.c: Remove conditional since this path can be
tested with and without POSIX enabled.
|
|
|
|
|
|
| |
* score/src/objectinitializeinformation.c: Reverse sense of conditional
and improve comment. Comment was right but brief, conditional was
backwards.
|
|
|
|
|
| |
* score/include/rtems/score/schedulerpriority.h: Enqueue first entry
said enqueue. Caught while running coverage.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* score/include/rtems/score/schedulerpriority.h,
score/src/schedulerpriority.c, score/src/schedulerpriorityextract.c,
score/src/schedulerpriorityupdate.c: Formatting.
|
|
|
|
| |
* score/include/rtems/score/tod.h: Add missing includes.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* sapi/include/confdefs.h,
score/include/rtems/score/schedulerpriority.h: Add comments.
|
|
|
|
|
| |
* sapi/include/confdefs.h,
score/include/rtems/score/schedulerpriority.h: C++ compatibility.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* rtems/powerpc/registers.h: Added FSL_EIS_ATBL, FSL_EIS_ATBL, and
FSL_EIS_SPEFSCR defines.
|
|
|
|
|
| |
* score/src/wkspace.c: Removed NULL pointer check from
_Workspace_Free().
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* rtems/powerpc/registers.h: Added MSR_UCLE, MSR_SPE, MSR_WE, and
MSR_UBLE defines.
|
|
|
|
|
|
| |
* rtems/src/semtranslatereturncode.c,
score/include/rtems/score/coremutex.h: Returns tests to running
state.
|
|
|
|
|
| |
* rtems/src/semtranslatereturncode.c, score/src/coremutexsurrender.c:
Now all conditionals have the correct sense and all tests pass.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* score/include/rtems/score/context.h: Spacing.
|
|
|
|
|
| |
* score/include/rtems/score/basedefs.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
| |
* rtems/score/cpu.h, rtems/score/sparc64.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
| |
* rtems/powerpc/registers.h, rtems/score/cpu.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
| |
* irq.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
| |
* cpu.c, rtems/score/cpu.h, rtems/score/m68k.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
| |
* context_init.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
|
| |
* context_init.c, cpu.c, varvects.h, rtems/score/cpu.h,
rtems/score/m32c.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* cpu.c, rtems/asm.h, rtems/score/cpu.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
| |
* rtems/score/cpu.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
| |
* avr/power.h: Revert previous patch.
|
|
|
|
|
| |
* cpu.c, avr/interrupt.h, avr/power.h, rtems/score/cpu.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
| |
* cpu.c, rtems/score/cpu.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
| |
* cpu.c, irq.c, rtems/score/lm32.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|