summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2009-07-23 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2009-07-232-1/+5
| | | | * aclocal/enable-itron.m4: Default to not building itron.
* 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-232-4/+17
| | | | | * rtems/src/timerreset.c: Mark an unreachable path that is a sanity check as conditional on RTEMS_DEBUG.
* 2009-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-233-10/+32
| | | | * cpu.c, cpu_asm.S: Unsuccessful attempt to fix.
* 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-232-10/+15
| | | | | * score/src/iterateoverthreads.c: Restructure a bit to make analysis easier.
* 2009-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-2315-86/+164
| | | | | | | | | | | | | * 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.
* 2009-07-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-222-28/+20
| | | | * posix/src/killinfo.c: Clean up. Avoid NULL pointer case.
* 2009-07-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-222-22/+112
| | | | | | * score/inline/rtems/score/states.inl: Add _States_Is_interruptible_by_signal. Add more DOxygen comments and clean up.
* 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-222-2/+7
| | | | | * libmisc/shell/main_help.c: Provide a few more characters for command names.
* 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-223-2/+7
| | | | | * libmisc/shell/main_mdump.c, libmisc/shell/main_mwdump.c: Fine tune printf format.
* 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-222-4/+9
| | | | * rtems/src/regionextend.c: Remove warning.
* 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-223-9/+11
| | | | | | * 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.
* 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-222-1/+5
| | | | * libmisc/shell/main_mount.c: Eliminate warning.
* 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-2215-187/+255
| | | | | | | | | | | | * 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.
* 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-2216-16/+506
| | | | | | | | | | | | | | | | | * 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.
* 2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-225-39/+40
| | | | | | | | * 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.
* 2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-214-15/+26
| | | | | | * rtems/src/eventseize.c, rtems/src/eventsurrender.c, rtems/src/eventtimeout.c: Clean up and minor rework as a side-effect of coverage analysis.
* 2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-213-13/+12
| | | | | * sapi/src/debug.c, score/include/rtems/debug.h: Rename _Debug_Is_enabled to rtems_is_debug_enabled.
* 2009-07-21 Roxana Leontie <roxana.leontie@gmail.com>Joel Sherrill2009-07-214-181/+12
| | | | | | | * 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.
* 2009-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-216-17/+36
| | | | | | | * 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.
* 2009-07-21 Santosh G Vattam <vattam.santosh@gmail.com>Joel Sherrill2009-07-217-39/+81
| | | | | | | | | * 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.
* 2009-07-20 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-202-3/+8
| | | | | * score/src/corebarrierwait.c: Reverse order of tests to increase test coverage.
* 2009-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-202-1/+5
| | | | * rtems/src/ratemongetstatus.c: Fix spacing.
* 2009-07-17 Josh Switnicki <josh.switnicki@utoronto.ca>Joel Sherrill2009-07-173-23/+30
| | | | | | | *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.
* 2009-07-17 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-172-1/+12
| | | | | * posix/src/mutexattrgettype.c: Restructure a bit to make code coverage analysis easier.
* adding lpc24xx BSP partsThomas Doerfler2009-07-173-0/+520
|
* 2009-07-17 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-172-29/+39
| | | | | * score/src/watchdogadjusttochain.c: Correct bug in recent rework. Coverage not impacted.
* removing unneeded filesThomas Doerfler2009-07-173-199/+0
|
* exception handler maintenanceThomas Doerfler2009-07-176-1037/+350
|
* add common implementation to dispatch threads in isrThomas Doerfler2009-07-171-0/+44
|
* make thread dispatching in ISRs generic codeThomas Doerfler2009-07-173-1/+18
|
* 2009-07-10 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-103-3/+23
| | | | | | | * 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.
* 2009-07-09 Josh Switnicki <josh.switnicki@utoronto.ca>Joel Sherrill2009-07-102-3/+9
| | | | | | * cpu_asm.S: Fixed bug in _CPU_Context_Switch. The wrong registers were being used for pointer to running task Context_Control struct.
* 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-092-20/+36
| | | | | * score/src/watchdogadjusttochain.c: Rework to ease code coverage analysis.
* 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-092-47/+51
| | | | | * rtems/src/semcreate.c: Clean up rework to eliminate the goto and fix a bug introduced by rework.
* 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-092-2/+5
| | | | * score/src/heap.c: Remove unneeded include.
* 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-082-61/+62
| | | | | * rtems/src/semcreate.c: Restructure to simplify and improve ability to anlize this routine for coverage.
* 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-082-5/+12
| | | | * score/src/objectgetinfo.c: Clean up and eliminate unreachable code.
* 2009-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-075-6/+13
| | | | | | | * 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.
* 2009-07-07 Chris Johns <chrisj@rtems.org>Joel Sherrill2009-07-072-33/+22
| | | | | * score/src/objectshrinkinformation.c: Rework loop to simplify and remove dead code.
* 2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-072-2/+9
| | | | * ChangeLog, posix/src/mutexsetprioceiling.c: Remove warning.
* 2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-073-16/+43
| | | | | | | * 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.
* 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-062-6/+18
| | | | | * posix/src/mutexget.c: Restructure to improve ability to do coverage analysis.
* 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-062-23/+28
| | | | | * posix/src/psxtransschedparam.c: Restructure to avoid untestable code being generated by switch.
* 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-062-7/+13
| | | | | * score/src/coremsgsubmit.c: Move impossible case inside an RTEMS_DEBUG conditional.
* 2009-07-03 Josh Switnicki <josh.switnicki@utoronto.ca>Joel Sherrill2009-07-066-38/+761
| | | | | | | | | | | | | | | | | * 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.
* Update copyright.Joel Sherrill2009-07-061-1/+1
|
* 2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-066-29/+145
| | | | | | | * 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.
* 2009-07-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-042-11/+16
| | | | | | * 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.
* 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-032-0/+16
| | | | | * score/src/apiext.c: Unreachable API Extension paths marked as either unused or only with certain APIs.
* 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-037-47/+68
| | | | | | | * 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.