| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* aclocal/enable-itron.m4: Default to not building itron.
|
|
|
|
|
| |
* rtems/src/timerreset.c: Mark an unreachable path that is a sanity
check as conditional on RTEMS_DEBUG.
|
|
|
|
| |
* cpu.c, cpu_asm.S: Unsuccessful attempt to fix.
|
|
|
|
|
| |
* score/src/iterateoverthreads.c: Restructure a bit to make analysis
easier.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libmisc/Makefile.am, libmisc/shell/main_chmod.c,
libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
libmisc/shell/main_mfill.c, libmisc/shell/main_mmove.c,
libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
libmisc/shell/main_sleep.c, libmisc/shell/main_umask.c,
libmisc/shell/shell_script.c, libmisc/stringto/stringto.h,
libmisc/stringto/stringto_template.h: Convert return type from bool
to rtems_status_code and add rtems_string_to_pointer. Perform
associated clean up and changes for return type change.
* libmisc/stringto/stringtopointer.c: New file.
|
|
|
|
| |
* posix/src/killinfo.c: Clean up. Avoid NULL pointer case.
|
|
|
|
|
|
| |
* score/inline/rtems/score/states.inl: Add
_States_Is_interruptible_by_signal. Add more DOxygen comments and
clean up.
|
|
|
|
|
| |
* libmisc/shell/main_help.c: Provide a few more characters for command
names.
|
|
|
|
|
| |
* libmisc/shell/main_mdump.c, libmisc/shell/main_mwdump.c: Fine tune
printf format.
|
|
|
|
| |
* rtems/src/regionextend.c: Remove warning.
|
|
|
|
|
|
| |
* posix/include/semaphore.h, posix/include/rtems/posix/semaphore.h:
Move SEM_FAILED from private file to public file since it is defined
by POSIX.
|
|
|
|
| |
* libmisc/shell/main_mount.c: Eliminate warning.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libmisc/Makefile.am, libmisc/shell/main_chmod.c,
libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
libmisc/shell/main_mfill.c, libmisc/shell/main_mmove.c,
libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
libmisc/shell/main_sleep.c, libmisc/shell/main_umask.c,
libmisc/shell/shell.h, libmisc/shell/shell_script.c,
libmisc/stringto/stringto_template.h: Convert all shell code to use
stringto.h mehods with better error checking.
* libmisc/shell/str2int.c: Removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, preinstall.am, libmisc/Makefile.am, wrapup/Makefile.am:
Add the stringto family of string to number converters. These are
error checking wrappers for the strtoXXX methods and do their best to
return false if the conversion failed. The error checking required
for this is tedious and error prone. Hence better to have in a family
of helper routines.
* libmisc/stringto/stringto.h, libmisc/stringto/stringto_template.h,
libmisc/stringto/stringtodouble.c, libmisc/stringto/stringtofloat.c,
libmisc/stringto/stringtoint.c, libmisc/stringto/stringtolong.c,
libmisc/stringto/stringtolonglong.c,
libmisc/stringto/stringtounsignedchar.c,
libmisc/stringto/stringtounsignedint.c,
libmisc/stringto/stringtounsignedlong.c,
libmisc/stringto/stringtounsignedlonglong.c: New files.
|
|
|
|
|
|
|
|
| |
* posix/include/rtems/posix/key.h, posix/src/keycreate.c,
posix/src/keydelete.c, posix/src/keyrundestructors.c: Restructure a
bit to make it easier to do coverage analysis. Eliminate is_active
member of control structure because it was redundant with very the
key object was open or closed.
|
|
|
|
|
|
| |
* rtems/src/eventseize.c, rtems/src/eventsurrender.c,
rtems/src/eventtimeout.c: Clean up and minor rework as a side-effect
of coverage analysis.
|
|
|
|
|
| |
* sapi/src/debug.c, score/include/rtems/debug.h: Rename
_Debug_Is_enabled to rtems_is_debug_enabled.
|
|
|
|
|
|
|
| |
* libmisc/Makefile.am, libmisc/mw-fb/mw_fb.h: mw_fb.h eliminated the
ufb_* calls and replaced some of the ioctl structures and numbers
with the linux framebuffer equivalents
* libmisc/mw-fb/mw_fb.c: Removed.
|
|
|
|
|
|
|
| |
* posix/include/rtems/posix/cancel.h, posix/src/cancel.c,
posix/src/canceleval.c, posix/src/setcancelstate.c,
posix/src/setcanceltype.c: Fix a minor bug in the previous
modification which resulted in psxcancel failing.
|
|
|
|
|
|
|
|
|
| |
* posix/Makefile.am, posix/include/rtems/posix/cancel.h,
posix/src/cancel.c, posix/src/setcancelstate.c,
posix/src/setcanceltype.c: Add
_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch method to
avoid duplication of code and ease coverage analysis.
* posix/src/canceleval.c: New file.
|
|
|
|
|
| |
* score/src/corebarrierwait.c: Reverse order of tests to increase test
coverage.
|
|
|
|
| |
* rtems/src/ratemongetstatus.c: Fix spacing.
|
|
|
|
|
|
|
| |
*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.
|
|
|
|
|
| |
* posix/src/mutexattrgettype.c: Restructure a bit to make code coverage
analysis easier.
|
| |
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* rtems/src/semcreate.c: Clean up rework to eliminate the goto and fix
a bug introduced by rework.
|
|
|
|
| |
* score/src/heap.c: Remove unneeded include.
|
|
|
|
|
| |
* rtems/src/semcreate.c: Restructure to simplify and improve ability to
anlize this routine for coverage.
|
|
|
|
| |
* 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.
|
|
|
|
| |
* ChangeLog, posix/src/mutexsetprioceiling.c: Remove warning.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* posix/src/mutexget.c: Restructure to improve ability to do coverage
analysis.
|
|
|
|
|
| |
* posix/src/psxtransschedparam.c: Restructure to avoid untestable code
being generated by switch.
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
| |
* posix/Makefile.am, posix/src/mutex.c, posix/src/mutexinit.c: Add
initial support for the pthread mutex type attribute added by UNIX98.
It can be normal, recursive, errorcheck or default.
* posix/src/mutexattrgettype.c, posix/src/mutexattrsettype.c: New files.
|
|
|
|
|
|
| |
* rtems/src/taskinitusers.c: Restructure to eliminate dead check --
loop will not be executed when 0 tasks. Also improved comments and
eliminated a local variable.
|
|
|
|
|
| |
* 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.
|