summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-251-1/+1
| | | | * score/src/coremsginsert.c: Fix typo.
* 2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-251-2/+4
| | | | | Coverity Id 148/STRAY_SEMICOLON * score/src/coremsginsert.c: Slightly modify macro.
* 2010-08-25 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-08-256-47/+242
| | | | | | | | | PR 1672/cpukit * score/include/rtems/score/heap.h, score/src/heap.c, score/src/heapallocate.c, score/src/heapextend.c, score/src/heapfree.c, score/src/heapresizeblock.c, score/src/heapsizeofuserarea.c: Added heap protection in case RTEMS_DEBUG is defined.
* 2010-08-23 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-08-233-0/+132
| | | | | | | | | | | | | | PR 1673/cpukit * score/src/chainappendempty.c, score/src/chaingetempty.c, score/src/chainprependempty.c: New files. * score/Makefile.am: Reflect changes above. * score/include/rtems/score/chain.h: Declare _Chain_Append_with_empty_check(), _Chain_Prepend_with_empty_check(), and _Chain_Get_with_empty_check(). * score/inline/rtems/score/chain.inl: Define _Chain_Append_with_empty_check_unprotected(), _Chain_Prepend_with_empty_check_unprotected(), and _Chain_Get_with_empty_check_unprotected().
* 2010-08-19 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill2010-08-191-1/+1
| | | | | | | | PR 1680/cpukit * score/src/isr.c: Correct initialization of _CPU_Interrupt_stack_high to properly do the alignment. This most likely only would have caused a propblem on CPUs where the stack grows down and have strict alignment.
* 2010-08-09 Bharath Suri <bharath.s.jois@gmail.com>Joel Sherrill2010-08-102-2/+2
| | | | | | | | | | PR 1660/filesystem * libfs/src/pipe/fifo.c, libfs/src/pipe/pipe.h: Changed int pipe_release to void pipe_release. * libfs/src/imfs/imfs_fifo.c: Corresponding change to IMFS_fifo_close since pipe_release does not return any error. * libfs/src/imfs/imfs_initsupp.c: Changes to improve IMFS_determine_bytes_per_block
* 2010-07-30 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill2010-07-3010-12/+12
| | | | | | | | | | | | | PR 1599/cpukit * posix/src/psignalunblockthread.c, posix/src/pthreadkill.c, rtems/src/signalsend.c, score/include/rtems/score/percpu.h, score/inline/rtems/score/thread.inl, score/src/thread.c, score/src/threadchangepriority.c, score/src/threadclearstate.c, score/src/threaddispatch.c, score/src/threadready.c, score/src/threadresume.c, score/src/threadsetstate.c, score/src/threadstartmultitasking.c, score/src/threadsuspend.c, score/src/threadyieldprocessor.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary to more properly reflect the intent.
* 2010-07-29 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill2010-07-298-8/+11
| | | | | | | | | | | | | | | | | | | | | | | PR 1635/cpukit * sapi/src/exinit.c, score/Makefile.am, score/preinstall.am, score/include/rtems/score/bitfield.h, score/include/rtems/score/priority.h, score/include/rtems/score/thread.h, score/inline/rtems/score/priority.inl, score/inline/rtems/score/thread.inl, score/src/threadchangepriority.c, score/src/threadclearstate.c, score/src/threadready.c, score/src/threadresume.c, score/src/threadsetpriority.c, score/src/threadsetstate.c, score/src/threadsettransient.c, score/src/threadsuspend.c: Refactoring of priority handling, to isolate the bitmap implementation of priorities in the supercore so that priority management is a little more modular. This change is in anticipation of scheduler implementations that can select how they manage tracking priority levels / finding the highest priority ready task. Note that most of the changes here are simple renaming, to clarify the use of the bitmap-based priority management. * score/include/rtems/score/prioritybitmap.h, score/inline/rtems/score/prioritybitmap.inl: New files.
* 2010-07-26 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-07-271-8/+11
| | | | | * score/src/threadget.c: Conditionalize a check that can only occur when POSIX is disabled.
* 2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-261-3/+8
| | | | | | | | | | * libcsupport/src/privateenv.c, libmisc/cpuuse/cpuusagereport.c, posix/Makefile.am, posix/include/rtems/posix/key.h, posix/src/keycreate.c, posix/src/keydelete.c, score/src/iterateoverthreads.c: Since removing ITRON, the loop over all APIs for tasks has a path that cannot be reached. Either modify the code or mark tests for NULL as RTEMS_DEBUG. * posix/src/keyfreememory.c: New file.
* 2010-07-15 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2010-07-151-36/+63
| | | | | | PR 1607/cpukit * score/src/coremutexsurrender.c: Clean up and split out helper routines.
* 2010-07-06 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-07-061-39/+0
| | | | | | | * score/src/isrthreaddispatch.c: Removed file. * score/Makefile.am: Reflect change above. * score/include/rtems/score/isr.h: Removed _ISR_Thread_dispatch() declaration.
* 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-296-21/+48
| | | | | | | | | | | | | | | | | | | PR 1573/cpukit * configure.ac, posix/src/killinfo.c, posix/src/psignalclearprocesssignals.c, posix/src/psignalsetprocesssignals.c, posix/src/psignalunblockthread.c, posix/src/pthreadcreate.c, posix/src/pthreadkill.c, posix/src/pthreadsigmask.c, rtems/src/signalsend.c, rtems/src/taskmode.c, score/Makefile.am, score/preinstall.am, score/include/rtems/system.h, score/include/rtems/score/context.h, score/include/rtems/score/isr.h, score/include/rtems/score/thread.h, score/src/isr.c, score/src/isrthreaddispatch.c, score/src/thread.c, score/src/threaddispatch.c, score/src/threadloadenv.c: Add a per cpu data structure which contains the information required by RTEMS for each CPU core. This encapsulates information such as thread executing, heir, idle and dispatch needed. * score/include/rtems/score/percpu.h, score/src/percpu.c: New files.
* 2010-06-24 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill2010-06-241-53/+0
| | | | | | | | PR 1589/cpukit * score/Makefile.am, score/include/rtems/score/thread.h, score/inline/rtems/score/thread.inl: Make _Thread_Evaluate_mode() an inline method. It is only used in one place and relatively simple. * score/src/threadevaluatemode.c: Removed.
* 2010-06-24 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill2010-06-242-76/+10
| | | | | | | | | PR 1590/cpukit * score/Makefile.am, score/include/rtems/score/thread.h, score/src/threadtickletimeslice.c: Remove _Thread_Reset_timeslice and replaces its single use with a call to the functionally equivalent _Thread_Yield_processor(). * score/src/threadresettimeslice.c: Removed.
* 2010-06-21 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-211-6/+9
| | | | | | | PR 1554/cpukit Coverity Id 17 * libi2c/libi2c.c, score/src/objectextendinformation.c: Fix memory leak on error.
* 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-181-2/+0
| | | | * score/src/objectapimaximumclass.c: Remove OBJECTS_ITRON_API.
* 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-181-5/+1
| | | | * score/src/apiext.c: Remove comment referring to ITRON.
* Remove RTEMS_ITRON_API conditional blocks.Ralf Corsepius2010-06-185-24/+0
|
* Remove.Ralf Corsepius2010-06-173-248/+0
|
* 2010-06-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-161-0/+16
| | | | | | | * score/src/objectallocate.c: Add conditionally compiled debug code to printk a message when an object allocation error occurs. This should be helpful in identifying when a ported package required more resources.
* 2010-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-06-075-138/+299
| | | | | | | | | | | | | | | | | | | * score/include/rtems/score/heap.h: Declare _Heap_Get_first_and_last_block(). Removed Heap_Extend_status. Changed return type of _Heap_Extend() to bool. * score/inline/rtems/score/heap.inl: Define _Heap_Set_last_block_size(). * score/src/heap.c: Define and use _Heap_Get_first_and_last_block(). * score/src/heapgetinfo.c: Removed assert statements. Do not count the last block. This ensures that all size values are an integral multiple of the page size which is consistent with the other statistics. * score/src/heapextend.c: Implemented support for scattered heap areas. * score/src/heapwalk.c: Dump also last block. Changes for new first and last block values. * ./score/src/pheapextend.c, rtems/src/regionextend.c: Update for _Heap_Extend() changes.
* 2010-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-04-071-1/+0
| | | | * score/src/wkspace.c: Remove duplicate include.
* Fix.Joel Sherrill2010-03-281-3/+4
|
* 2010-03-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-281-0/+3
| | | | * score/src/isrthreaddispatch.c: Add include of config.h
* 2010-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-121-1/+1
| | | | | | | | | | | | | | | | | | | * ftpd/ftpd.c, httpd/asp.c, httpd/ejparse.c, httpd/emfdb.c, httpd/misc.c, httpd/um.c, httpd/webs.c, httpd/websuemf.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_format.c, libfs/src/dosfs/msdos_misc.c, libfs/src/nfsclient/src/nfs.c, libmisc/capture/capture-cli.c, libmisc/monitor/mon-network.c, libmisc/shell/hexdump-odsyntax.c, libmisc/shell/main_ifconfig.c, libmisc/shell/shell.c, libmisc/shell/shell_makeargs.c, libmisc/uuid/parse.c, libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c, libnetworking/libc/getnetnamadr.c, libnetworking/libc/inet_addr.c, libnetworking/libc/inet_network.c, libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c, libnetworking/libc/res_query.c, libnetworking/rtems/rtems_mii_ioctl.c, score/src/objectgetnameasstring.c: Readdress use of ctype methods per recommendation from D.J. Delorie on the newlib mailing list. We should pass an unsigned char into these methods.
* 2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-111-1/+1
| | | | | | | | | | | | * ftpd/ftpd.c, httpd/uemf.c, httpd/um.c, httpd/webs.c, httpd/websuemf.c, libblock/src/diskdevs.c, libmisc/capture/capture-cli.c, libmisc/monitor/mon-network.c, libmisc/shell/hexdump-odsyntax.c, libmisc/shell/main_ifconfig.c, libmisc/uuid/parse.c, libnetworking/lib/ftpfs.c, libnetworking/libc/gethostbyht.c, libnetworking/libc/getnetnamadr.c, libnetworking/libc/inet_network.c, libnetworking/rtems/rtems_mii_ioctl.c, score/src/objectgetnameasstring.c: Fix warnings for ctype methods.
* 2010-03-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-101-0/+11
| | | | | | * score/include/rtems/score/interr.h, score/src/objectinitializeinformation.c: Add new fatal error for configuring unlimited and maximum of 0.
* User extension API: add const to some params, inline ↵Thomas Doerfler2010-01-261-42/+0
| | | | _User_extensions_Add_API_set
* 2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-01-201-15/+4
| | | | | | Coverity Id 5 * score/src/objectextendinformation.c: Check object_blocks for NULL to determine when to allocate object block table.
* 2010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-01-191-57/+36
| | | | | | | Coverity Id 5 * score/src/objectinitializeinformation.c: Do not modify maximum parameter. Clean up and simplify code. This should help the Coverity path analysis to avoid reporting issues.
* 2009-12-07 Cindy Cicalese <cicalese@mitre.org>Joel Sherrill2009-12-071-1/+2
| | | | | | PR 1477/cpukit * score/src/objectsetname.c: Ensure destination is NULL terminated. String copy was not getting the NULL.
* 2009-12-02 Glenn Humphrey <glenn.humphrey@OARcorp.com>Glenn Humphrey2009-12-023-3/+3
| | | | | | | | | * libcsupport/src/__times.c, libmisc/cpuuse/cpuusagedata.c, libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c, rtems/include/rtems/rtems/types.h, rtems/src/ratemongetstatistics.c, rtems/src/ratemonreportstatistics.c, score/src/threaddispatch.c, score/src/threadinitialize.c, score/src/threadtickletimeslice.c: Updated copyright line.
* 2009-12-02 Glenn Humphrey <glenn.humphrey@OARcorp.com>Glenn Humphrey2009-12-023-5/+5
| | | | | | | | | | | | | * configure.ac, libcsupport/src/__times.c, libmisc/cpuuse/cpuusagedata.c, libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c, rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/types.h, rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c, rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c, score/include/rtems/score/thread.h, score/src/threaddispatch.c, score/src/threadinitialize.c, score/src/threadtickletimeslice.c: Changed the configuration of statistics granularity to use just one define.
* 2009-11-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2009-11-301-1/+6
| | | | | * score/src/threaddelayended.c: Clear only the states that are used to block until someone calls _Thread_Delay_ended().
* Changed base implementation of protected heap allocations to use ↵Thomas Doerfler2009-11-302-45/+12
| | | | _Heap_Allocate_aligned_with_boundary().
* Whitespace removal.Ralf Corsepius2009-11-2943-98/+98
|
* 2009-11-10 Jennifer Averett <jennifer.averett@OARcorp.com>Joel Sherrill2009-11-101-1/+2
| | | | | | PR 1468/cpukit * score/src/timespecdividebyinteger.c: Rework statement to ensure 64-bit multiplication is used.
* 2009-10-29 Till Straumann <strauman@slac.stanford.edu>Till Straumann2009-10-291-0/+7
| | | | | | * score/src/isr.c: Check if CPU defined _CPU_Interrupt_stack_setup() macro hook for setting up the interrupt stack (alignment, reserving space etc.) after the framework allocates it.
* 2009-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-141-3/+0
| | | | * score/src/threadhandler.c: Remove comment mentioning unix port.
* Reflect having introduced Internal_errors_t.Ralf Corsepius2009-10-122-2/+2
|
* 2009-10-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-111-1/+2
| | | | | | * score/inline/rtems/score/thread.inl, score/src/threaddispatch.c: Correct conditionals so _Thread_Enable_dispatch() is always inlined when intended.
* 2009-10-08 Chris Johns <chrisj@rtems.org>Chris Johns2009-10-083-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am, preinstall.am: Added statvfs.h. * libcsupport/Makefile.am: Add statvfs.c. * libcsupport/include/sys/statvfs.h, libcsupport/src/statvfs.c: New. * libcsupport/include/rtems/libio.h: Add a file system handler for the statvfs call. * libfs/src/devfs/devfs_init.c, libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs_init.c, libfs/src/nfsclient/src/nfs.c: Set the statvfs handler to NULL. * include/rtems/fs.h: Add a second node access field for the RFS file system to hold a directory offset while the existing field holds the inode number. This save a rescan of the directory when working with directories. * libblock/include/rtems/bdbuf.h: Added references and user fields to the buffer descriptor. * libblock/src/bdbuf.c: Added dynamic buffer support for different block sizes. Fixed a number of bugs. * libblock/src/blkdev.c: Release the disk device on an error. * libblock/src/diskdevs.c: Set the block size to the media block size during initialisation of the disk device. * libblock/src/flashdisk.c, libblock/src/nvdisk.c, libblock/src/ramdisk.c: Updated the drivers to handle variable block sizes. * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Release any buffers when an error occurs. The FAT buffer layer hangs onto a single buffer while mounted. This should be fixed. * sapi/inline/rtems/chain.inl: Added rtems_chain_set_off_chain, rtems_chain_is_node_off_chain, and rtems_chain_previous. * score/inline/rtems/score/chain.inl: Added _Chain_Set_off_chain, and _Chain_Is_node_off_chain. * libmisc/shell/main_ln.c, libmisc/shell/main_mknod.c, libmisc/shell/mknod-pack_dev.c, libmisc/shell/mknod-pack_dev.h: New shell commands. * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added ln and mknod commands. * libmisc/shell/hexdump-display.c: Fixed the reopen bug which showed up as a free with a bad pointer. * libmisc/shell/main_mount.c: List the user adding file system when listing the available file systems to mount. * libmisc/shell/utils-cp.c: Remove the fixed static copy buffer and use a large dynamic buffer. * score/inline/rtems/score/address.inl, score/src/coremsgsubmit.c, score/src/objectallocate.c, score/src/objectfree.c: Remove warnings.
* Fix thinko in previous change.Ralf Corsepius2009-09-291-1/+1
|
* 2009-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-291-1/+1
| | | | * score/src/heapwalk.c(Heap_Walk_printer): Add missing return type.
* 2009-09-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-09-282-12/+10
| | | | | | * score/src/objectidtoname.c: Remove error which cannot be reached since API that calls this checks the error first. * score/src/objectsetname.c: Adjust handling of length.
* 2009-09-25 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-09-259-65/+78
| | | | | | | | | | | | | | | | | | * sapi/include/rtems/extension.h, sapi/src/extensiondelete.c, sapi/src/extensionident.c, sapi/src/extensioncreate.c, sapi/inline/rtems/extension.inl, score/include/rtems/score/userext.h, score/src/userextthreaddelete.c, score/src/userext.c, score/src/userextthreadcreate.c, score/src/userextremoveset.c, score/src/userextthreadbegin.c, score/src/userextaddset.c, score/src/userextthreadstart.c, score/src/userextthreadswitch.c, score/src/userextthreadrestart.c: Documentation. The types User_extensions_routine and rtems_extension are now deprecated. Removed unused types User_extensions_thread_post_switch_extension and rtems_task_post_switch_extension. Renamed _User_extensions_Add_API_set() in _User_extensions_Add_set(). Renamed _User_extensions_Add_set() in _User_extensions_Add_set_with_table(). * score/src/userextaddapiset.c: Removed file. * score/Makefile.am: Update.
* 2009-09-25 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-09-251-2/+1
| | | | | * score/src/heap.c, score/include/rtems/score/heap.h: Reduced alignment requirement for CPU_ALIGNMENT from four to two.
* 2009-09-16 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-09-161-4/+8
| | | | | * score/src/userextaddapiset.c: Disable code that is only used when ITRON or POSIX is enabled.
* *** empty log message ***Joel Sherrill2009-09-161-60/+51
|