summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-032-8/+29
| | | | | * posix/src/sigtimedwait.c: Restructure to improve coverage. Improve comments.
* 2009-07-03 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2009-07-034-6/+35
| | | | | | * 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.
* 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-023-46/+57
| | | | | | | * 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.
* 2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-012-1/+5
| | | | * score/include/rtems/score/tod.h: Correct name of parameter.
* 2009-06-30 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-06-302-11/+17
| | | | | * posix/src/prwlocktimedrdlock.c: Restructure if slightly to make to make it easier to analyze for coverage.
* 2009-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-06-298-20/+26
| | | | | | | | * posix/src/killinfo.c, posix/src/mutexinit.c, posix/src/psignal.c, posix/src/psignalchecksignal.c, posix/src/pthread.c, posix/src/pthreadexit.c, posix/src/pthreadinitthreads.c: Remove includes of <assert.h> where possible. Make other uses conditional on ifdef RTEMS_DEBUG.
* 2009-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-06-2411-174/+265
| | | | | | | | | | | | | | | * posix/Makefile.am, posix/include/rtems/posix/priority.h, posix/include/rtems/posix/pthread.h, posix/inline/rtems/posix/priority.inl, posix/src/killinfo.c, posix/src/pthread.c, posix/src/pthreadcreate.c, posix/src/pthreadsetschedparam.c: Various modifications to improve binary code coverage analysis. Some of these are to mark code as debug only. Some are to break conditional expressions into multiple lines. Some are to move inline methods that are not time critical into subroutines to make them easier to test. Inlining them multiple times means that their logic paths are spread across multiple methods. This explodes the test cases required. * posix/src/psxpriorityisvalid.c, posix/src/psxtransschedparam.c: New files.
* 2009-06-18 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-06-182-16/+17
| | | | | * rtems/src/regionextend.c: Restructure to eliminate dead code being generated.
* 2009-06-18 Chris Johns <chrisj@rtems.org>Chris Johns2009-06-172-20/+45
| | | | | * telnetd/des.c: Split the des_f struct into smaller parts so targets that cannot address large structs can be supported.
* 2009-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-06-172-1/+5
| | | | * score/src/objectshrinkinformation.c: Fix spelling error.
* Changed the H8300 to lower case.Chris Johns2009-06-171-1/+1
|
* 2009-06-18 Chris Johns <chrisj@rtems.org>Chris Johns2009-06-172-1/+6
| | | | | * libmisc/shell/hexdump-odsyntax.c: H8300 has the same size float and double. Fix error in case statement.
* 2009-06-18 Chris Johns <chrisj@rtems.org>Chris Johns2009-06-172-2/+8
| | | | | * score/cpu/mips/rtems/mips/idtcpu.h: Missed another WAIT define. Removed.
* 2009-06-17 Chris Johns <chrisj@rtems.org>Chris Johns2009-06-175-4/+99
| | | | | | | * libmisc/shell/extern-dd.h: Delcare the conv arrays extern to stop PPC link errors. * libmisc/shell/main_time.c, libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add a time command.
* 2009-06-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-06-164-1/+37
| | | | | * include/rtems/bspIo.h, libcsupport/Makefile.am: Add putk(). * libcsupport/src/putk.c: New file.
* 2009-06-15 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-06-152-5/+20
| | | | * posix/src/killinfo.c: Make easier to map coverage data.
* 2009-06-15 Chris Johns <chrisj@rtems.org>Chris Johns2009-06-153-1/+10
| | | | | | | * libmisc/shell/hexdump-odsyntax.c: AVR has the same size float and double. Fix error in case statement. * libmisc/shell/main_dd.c: Remove sys/conf.h header. It is not available if networking is disabled.
* Fixed nested includes.Chris Johns2009-06-141-1/+1
|
* 2009-06-15 Chris Johns <chrisj@rtems.org>Chris Johns2009-06-142-1/+7
| | | | | * score/cpu/mips/rtems/mips/idtcpu.h: Remote WAIT define. Horrible overload.
* 2009-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-06-132-3/+6
| | | | | * score/src/heapwalk.c: Remove include of stdlib.h since abort was not called anymore.
* 2009-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-06-138-15/+9
| | | | | | | | * 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
* 2009-06-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-06-126-10/+18
| | | | | | | | * libblock/src/flashdisk.c, libblock/src/nvdisk.c, libblock/src/ramdisk.c, libfs/src/dosfs/fat.c, libfs/src/dosfs/msdos_format.c: Eliminate using the GNU/Linux specific error numbers EBADRQC and ENOTBLK. Switch to EINVAL and ENOTTY as appropriate.
* 2009-06-12 Chris Johns <chrisj@rtems.org>Chris Johns2009-06-1218-1/+4226
| | | | | | | | | | | | | * libmisc/shell/dd-args.c, libmisc/shell/dd-conv.c, libmisc/shell/dd-conv_tab.c, libmisc/shell/dd-misc.c, libmisc/shell/dd-position.c, libmisc/shell/dd.h, libmisc/shell/extern-dd.h, libmisc/shell/hexdump-conv.c, libmisc/shell/hexdump-display.c, libmisc/shell/hexdump-odsyntax.c, libmisc/shell/hexdump-parse.c, libmisc/shell/hexdump.h, libmisc/shell/hexsyntax.c, libmisc/shell/main_dd.c, libmisc/shell/main_hexdump.c: New. * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add dd and hexdump commands.
* 2009-06-12 Chris Johns <chrisj@rtems.org>Chris Johns2009-06-126-15/+18
| | | | | | | * libblock/include/rtems/flashdisk.h, libblock/include/rtems/nvdisk.h, libblock/src/flashdisk.c, libblock/src/nvdisk.c: Change names to match the RAM disk change. * libcsupport/src/eval.c: Remove some warnings.
* 2009-06-12 Chris Johns <chrisj@rtems.org>Chris Johns2009-06-1256-150/+446
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libblock/src/bdbuf.c: Update comments. * libblock/src/bdpart.c, libblock/src/ide_part_table.c: Get the device from the rdev field of the stat buf. * libcsupport/include/rtems/libio.h: Add a path length to evalpath handler. Add parent locations to rmmod and unlink handlers. * libcsupport/include/rtems/libio_.h: Add a path length to rtems_filesystem_evaluate_path. Add rtems_filesystem_evaluate_relative_path, rtems_filesystem_dirname, and rtems_filesystem_prefix_separators. Remove rtems_filesystem_evaluate_parent. * libcsupport/src/base_fs.c, libcsupport/src/chdir.c, libcsupport/src/chmod.c, libcsupport/src/chown.c, libcsupport/src/chroot.c, libcsupport/src/fchdir.c, libcsupport/src/link.c, libcsupport/src/mount.c, libcsupport/src/open.c, libcsupport/src/privateenv.c, libcsupport/src/readlink.c, libcsupport/src/unmount.c, libcsupport/src/utime.c, libcsupport/src/unmount.c, libcsupport/src/utime.c, libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_eval.c, libfs/src/devfs/devstat.c, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_misc.c, libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_load_tar.c, libfs/src/imfs/ioman.c, libfs/src/pipe/pipe.c, libmisc/fsmount/fsmount.c, libnetworking/lib/ftpfs.c: Add the length parameter to the eval call. * libcsupport/src/eval.c: Add rtems_filesystem_prefix_separators, rtems_filesystem_dirname, rtems_filesystem_evaluate_relative_path. Add the length parameter to the eval call. * libcsupport/src/rmdir.c: Find the parent pathloc then the node pathloc from that node. Remove the call to find the parent given the node pathloc. * libcsupport/src/stat.c: Add the length parameter to the eval call. Set the device into the rdev field. * libcsupport/src/unlink.c: Find the parent pathloc then the node pathloc from that node. Remove the call to find the parent given the node pathloc. * libfs/src/dosfs/fat.c, libfs/src/dosfs/msdos_format.c: Get the disk device number from the stat rdev field. * libfs/src/dosfs/msdos.h: Add the length parameter to the eval call. Add the parent pathloc to the rmnod handler. * libfs/src/dosfs/msdos_dir.c: Add the parent pathloc to the rmnod handler. * libfs/src/dosfs/msdos_eval.c: Add the length parameter to the eval and token call. * libfs/src/imfs/imfs_directory.c: Add the parent pathloc to the rmnod handler. * libfs/src/imfs/imfs_fchmod.c: Do not test the mode flags for only the allowed flags. Add the missing flags spec'ed in the POSIX standard. * libfs/src/imfs/imfs_fsunmount.c, libfs/src/imfs/imfs_rmnod.c, libfs/src/imfs/imfs_unlink.c, libfs/src/imfs/memfile.c: Add the parent node. Currently ignored in the IMFS. * libfs/src/imfs/imfs_stat.c: Return the device number in the rdev field. * libfs/src/imfs/imfs_mknod.c, libfs/src/imfs/imfs_symlink.c : Add the length parameter to the token call. * libfs/src/nfsclient/src/nfs.c: Add the length parameter to the eval call and parent node to the rmnod and unlink command. * libmisc/shell/internal.h: Remove the libc mounter decl to make public. * libmisc/shell/main_mount.c: Add support for hooking external mount support for new file systems. * libmisc/shell/shell.h: Add helper functions for the mount command.
* 2009-06-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-06-112-10/+20
| | | | | | * 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.
* 2009-06-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-06-102-3/+11
| | | | | * sapi/include/confdefs.h: Fix minor error when application has its own initialization task table.