| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* cpu.c, cpu_asm.S: Unsuccessful attempt to fix.
|
|
|
|
|
| |
* score/src/iterateoverthreads.c: Restructure a bit to make analysis
easier.
|
|
|
|
|
|
| |
* score/inline/rtems/score/states.inl: Add
_States_Is_interruptible_by_signal. Add more DOxygen comments and
clean up.
|
|
|
|
|
| |
* sapi/src/debug.c, score/include/rtems/debug.h: Rename
_Debug_Is_enabled to rtems_is_debug_enabled.
|
|
|
|
|
| |
* score/src/corebarrierwait.c: Reverse order of tests to increase test
coverage.
|
|
|
|
|
|
|
| |
*cpu_asm.S: implemented _CPU_Context_Restore by adding tags to
restore section of context switch.
Fixed bug in _CPU_Context_Switch. The wrong registers were being
used for pointer to running task Context_Control struct.
|
| |
|
|
|
|
|
| |
* score/src/watchdogadjusttochain.c: Correct bug in recent rework.
Coverage not impacted.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* configure.ac, score/src/threadqenqueuepriority.c: Add
RTEMS_DO_NOT_UNROLL_THREADQ_ENQUEUE_PRIORITY to give user ability to
disable the loop in _Thread_queue_Enqueue_priority from being
unrolled. This reduces code size and makes coverage analysis easier.
|
|
|
|
|
|
| |
* cpu_asm.S: Fixed bug in _CPU_Context_Switch. The wrong registers
were being used for pointer to running task Context_Control
struct.
|
|
|
|
|
| |
* score/src/watchdogadjusttochain.c: Rework to ease code coverage
analysis.
|
|
|
|
| |
* score/src/heap.c: Remove unneeded include.
|
|
|
|
| |
* score/src/objectgetinfo.c: Clean up and eliminate unreachable code.
|
|
|
|
|
|
|
| |
* rtems/src/rtemsobjectapimaximumclass.c,
score/include/rtems/score/object.h,
score/src/objectapimaximumclass.c, score/src/objectgetinfo.c: Change
return type of API maximum class methods to unsigned.
|
|
|
|
|
| |
* score/src/objectshrinkinformation.c: Rework loop to simplify and
remove dead code.
|
|
|
|
|
|
|
| |
* posix/src/mutexsetprioceiling.c: Restructure to eliminate code
paths which are unreachable. Also add more comments.
* score/src/coremutexsurrender.c: Mark some code as RTEMS_DEBUG only
since it cannot be hit unless coremutexseize.c is broken.
|
|
|
|
|
| |
* score/src/coremsgsubmit.c: Move impossible case inside an RTEMS_DEBUG
conditional.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cpu.c: Implemented _CPU_Context_Initialize as a C function instead
of a macro. It works with limited functionality. Implemented
_CPU_Thread_Idle_body to use sleep instruction.
* Makefile.am: Changed cpu_asm.c -> cpu_asm.S
* cpu_asm.S: renamed from cpu_asm.c and implemented functions is asm
* rtems/asm.h: Appended "macros.inc" to the end of "asm.h"
* rtems/score/cpu.h:
+ Included "avr/io.h".
+ Added use 16 bit object definition.
+ Modified Context_Control struct to relect the registers
that need to be saved.
+ Implemented _CPU_ISR_Disable, _CPU_ISR_Enable, and _CPU_ISR_Flash.
Added function definitions for _CPU_Context_Initialize and
_CPU_Push.
|
|
|
|
|
| |
* score/src/apiext.c: Unreachable API Extension paths marked as either
unused or only with certain APIs.
|
|
|
|
|
|
|
| |
* itron/src/task.c, posix/src/pthread.c, rtems/src/tasks.c,
sapi/src/exinit.c, score/include/rtems/score/apiext.h,
score/src/apiext.c: No APIs currently implemented use the
predriver_hook so disable it until such time as it is used.
|
|
|
|
|
|
| |
* sapi/src/exinit.c, score/include/rtems/score/objectmp.h,
score/src/objectmp.c: Ensure local node number is set early enough in
MP configurations.
|
|
|
|
|
|
|
| |
* score/include/rtems/score/coremsg.h, score/src/coremsgflushwait.c:
Mark _CORE_message_queue_Flush_waiting_threads with
FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API since there is no way to
reach it via an API.
|
|
|
|
| |
* score/include/rtems/score/tod.h: Correct name of parameter.
|
|
|
|
| |
* score/src/objectshrinkinformation.c: Fix spelling error.
|
|
|
|
|
| |
* score/cpu/mips/rtems/mips/idtcpu.h: Missed another WAIT
define. Removed.
|
| |
|
|
|
|
|
| |
* score/cpu/mips/rtems/mips/idtcpu.h: Remote WAIT define. Horrible
overload.
|
|
|
|
|
| |
* score/src/heapwalk.c: Remove include of stdlib.h since abort was not
called anymore.
|
|
|
|
|
|
|
|
| |
* rtems/include/rtems/rtems/region.h,
rtems/src/rtemsobjectgetclassinfo.c, score/src/heapwalk.c,
score/src/objectgetnameasstring.c, score/src/objectsetname.c,
score/src/timespecdivide.c, score/src/ts64divide.c: Remove include of
stdio.h
|
|
|
|
|
|
| |
* score/src/corespinlockwait.c: Mark timeout code which is not
currently exercised by any API with the
FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API conditional.
|
|
|
|
| |
* score/src/heapwalk.c: Verify addresses are aligned.
|
|
|
|
|
|
|
| |
* score/include/rtems/score/thread.h, score/src/threadinitialize.c,
score/src/threadreset.c, score/src/threadresume.c,
score/src/threadsuspend.c: Nesting count on thread suspension is only
supported from ITRON API so disable if ITRON is disabled.
|
|
|
|
|
|
|
|
| |
* score/include/rtems/score/thread.h, score/src/threadhandler.c: Merge
conditional code from main and init/fini C++ constructors so the body
of this method reads better. Mark thread prototypes which are not
currently exercised by any APIs with
FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API conditional.
|
|
|
|
|
|
|
|
|
| |
PR 1415/cpukit
* rtems/src/semcreate.c, rtems/src/semtranslatereturncode.c,
score/include/rtems/score/coremutex.h,
score/inline/rtems/score/coremutex.inl, score/src/coremutex.c:
Address two paths where a task with a priority above the ceiling
could obtain a priority ceiling mutex.
|
| |
|
|
|
|
|
|
| |
PR 1418/cpukit
* rtems/score/cpu.h: corrected _CPU_ISR_Flash implementation, added
core synchronization after all cli/sti.
|
|
|
|
|
|
| |
PR 1412/cpukit
* score/src/coremutex.c: Add missing braces. Broken with strict mutex
code added.
|
|
|
|
| |
initialization, save and restore code.
|
|
|
|
|
|
|
| |
PR 1411/cpukit
* rtems/src/workspace.c, score/include/rtems/score/protectedheap.h,
score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c: Improve
workspace wrapper methods.
|
|
|
|
|
|
|
| |
* cpukit/libblock/src/bdpart.c, libmisc/shell/main_msdosfmt.c,
libmisc/shell/main_rm.c, libnetworking/libc/gethostnamadr.c,
score/include/rtems/score/bitfield.h,
score/inline/rtems/score/priority.inl: Remove warnings.
|
|
|
|
| |
* score/src/objectgetnext.c: Add checks for NULL pointers.
|
|
|
|
|
| |
* rtems/score/cpu.h: Lower number of priorities and do not inline as
much.
|
|
|
|
|
|
|
|
|
| |
* score/include/rtems/score/heap.h,
score/inline/rtems/score/address.inl,
score/inline/rtems/score/heap.inl,
score/inline/rtems/score/object.inl,
score/inline/rtems/score/priority.inl,
score/inline/rtems/score/tod.inl: Remove warnings.
|
|
|
|
| |
* rtems/score/cpu.h: Remove warnings.
|
|
|
|
|
| |
* score/include/rtems/system.h: Added
RTEMS_COMPILER_DEPRECATED_ATTRIBUTE define.
|
|
|
|
| |
* cpu_asm.S, irq.c, rtems/score/cpu.h: Add lm32 gdb stub support.
|