| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* context.c, cpu.c, rtems/score/cpu.h, rtems/score/sh.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
| |
* cpu.c, rtems/score/mips.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
| |
* rtems/score/cpu.h, rtems/score/sparc.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
|
| |
PR 1733/cpukit
* score/src/isr.c: If target architecture does nto require stack
initialization, then do not perform adjustment.
|
|
|
|
| |
* context_switch.S: Reverse registers.
|
|
|
|
|
| |
* rtems/powerpc/registers.h: Changed Freescale EIS prefix. More
Freescale EIS defines. Added MSR_IS, MSR_DS, and MSR_PMM defines.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* rtems/powerpc/registers.h: Added BOOKE_PIR define.
|
|
|
|
|
| |
* libblock/src/show_bdbuf.c, score/src/objectmp.c,
score/src/threadmp.c: Avoid chain API violations.
|
|
|
|
|
| |
* libblock/src/show_bdbuf.c, score/src/objectmp.c: Avoid chain API
violations.
|
|
|
|
| |
* cpu_asm.S: _Thread_Executing was not used.
|
|
|
|
|
|
|
|
| |
* score/src/watchdognanoseconds.c: New file.
* score/Makefile.am: Reflect change above.
* score/include/rtems/score/watchdog.h, score/src/coretodget.c,
score/src/coretodgetuptime.c: Do not allow NULL as nanoseconds since
last tick handler pointer.
|
|
|
|
|
|
|
| |
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Revert
previous commit due to too many broken linker command files. The
HAVE_INITFINI_ARRAY is defined for nearly all targets by Newlib, but
only few linker command files respect this.
|
|
|
|
|
| |
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Added
support for .preinit_array, .init_array and .fini_array sections.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sapi/include/confdefs.h, score/include/rtems/score/scheduler.h,
score/inline/rtems/score/scheduler.inl,
score/inline/rtems/score/schedulerpriority.inl,
score/src/schedulerpriority.c,
score/src/schedulerprioritythreadschedulerallocate.c,
score/src/schedulerprioritythreadschedulerfree.c,
score/src/schedulerprioritythreadschedulerupdate.c,
score/src/schedulerpriorityyield.c: Added attribute unused. Renamed
types and fields to follow the Score naming conventions.
|
|
|
|
|
|
| |
* score/include/rtems/score/scheduler.h,
score/include/rtems/score/schedulerpriority.h: Whitespace removal.
Moved C++ extern directive.
|
|
|
|
|
|
|
|
|
| |
PR 1711/cpukit
* score/inline/rtems/score/chain.inl, score/src/chain.c: New functions
_Chain_Immutable_head(), _Chain_Immutable_tail(),
_Chain_Immutable_first(), and _Chain_Immutable_last(). The
Chain_Control is now a union to avoid casts. The function
_Chain_Is_empty() takes now a const pointer parameter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libfs/src/dosfs/fat_file.c, libfs/src/imfs/imfs_debug.c,
libfs/src/imfs/imfs_directory.c, libfs/src/imfs/imfs_getchild.c,
posix/src/killinfo.c, score/inline/rtems/score/schedulerpriority.inl,
score/inline/rtems/score/watchdog.inl, score/src/apiext.c,
score/src/chain.c, score/src/coremsgflushsupp.c,
score/src/coremsginsert.c, score/src/objectshrinkinformation.c,
score/src/schedulerpriorityyield.c,
score/src/threadqdequeuepriority.c,
score/src/threadqenqueuepriority.c,
score/src/threadqextractpriority.c, score/src/threadqfirstfifo.c,
score/src/threadqfirstpriority.c, score/src/threadyieldprocessor.c,
score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
score/src/userextthreadstart.c, score/src/userextthreadswitch.c,
score/src/watchdogreportchain.c: Avoid chain API violations.
|