summaryrefslogtreecommitdiffstats
path: root/cpukit/score (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2009-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-141-3/+0
| | | | * score/src/threadhandler.c: Remove comment mentioning unix port.
* Remove unix subdir.Ralf Corsepius2009-10-141-1/+1
|
* Remove (Abandoned)Ralf Corsepius2009-10-149-2936/+0
|
* Reflect having introduced Internal_errors_t.Ralf Corsepius2009-10-123-8/+8
|
* Introduce Internal_errors_t.Ralf Corsepius2009-10-121-2/+9
|
* 2009-10-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-112-2/+4
| | | | | | * score/inline/rtems/score/thread.inl, score/src/threaddispatch.c: Correct conditionals so _Thread_Enable_dispatch() is always inlined when intended.
* 2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-101-3/+10
| | | | | | | * score/inline/rtems/score/object.inl: _Objects_Get_local_object() is only called from places where the index is known to be valid. _Objects_Set_local_object() already assumed this. Eliminates unreachable code.
* 2009-10-08 Chris Johns <chrisj@rtems.org>Chris Johns2009-10-085-8/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-012-0/+7
| | | | * rtems/score/arm.h: Recognize ARMv7A.
* 2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-012-0/+7
| | | | * rtems/score/arm.h: Recognize ARMv6J as needed by arm1136 variants.
* 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-27 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-272-1/+6
| | | | | * rtems/score/cpu.h: Define CPU_STRUCTURE_ALIGNMENT to be on a 4 byte boundary.
* 2009-09-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-261-1/+11
| | | | | | * libmisc/capture/capture.c, posix/src/pthread.c, rtems/src/tasks.c, score/include/rtems/score/userext.h: Eliminate use of deprecated rtems_extension. Re-add prototype for _User_extensions_Add_API_set.
* 2009-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-09-251-1/+1
| | | | * score/Makefile.am: Re-add file accidentally deleted by Sebastian.
* 2009-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-09-251-1/+17
| | | | | | * score/inline/rtems/score/thread.inl: Restore the BSP context -- do not save the current. This routine is also marked as not returning which saves the exit path code.
* 2009-09-25 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-09-2511-293/+276
| | | | | | | | | | | | | | | | | | * 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-252-11/+8
| | | | | * score/src/heap.c, score/include/rtems/score/heap.h: Reduced alignment requirement for CPU_ALIGNMENT from four to two.
* 2009-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-09-252-1/+6
| | | | | * rtems/score/cpu.h: Add no return atrribute to _CPU_Context_restore() since it is used for restarting self.
* * rtems/score/cpu.h: Fix for inline asm in _CPU_Fatal_halt().Thomas Doerfler2009-09-185-43/+23
| | | | | * rtems/asm.h: Added macro to define ARM functions. * cpu_asm.S, arm_exc_handler_low.S: Use macro from above.
* 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
|
* 2009-09-14 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-09-143-290/+1
| | | | | | * score/src/heapalignupuptr.c, score/src/heapallocatealigned.c: Removed files. * score/Makefile.am: Update.
* 2009-09-14 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-09-141-13/+3
| | | | | | | | | | | | | | | | | | * score/src/wkspace.c: Removed work space area consistency checks. * libblock/include/rtems/ide_part_table.h: Functions are now deprecated. * libcsupport/include/rtems/libcsupport.h, libcsupport/src/calloc.c, libcsupport/src/malloc_boundary.c, libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_report_statistics_plugin.c, libcsupport/src/malloc_statistics_helpers.c, libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c, rtems/inline/rtems/rtems/region.inl: Update for heap API changes. 2009-09-14 Christian Mauderer <christian.mauderer@embedded-brains.de> * libcsupport/src/vprintk.c: Fixed warnings. Print nothing in case the pointer to the string is NULL.
* 2009-09-13 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-09-131-11/+17
| | | | | * score/inline/rtems/score/coremsg.inl: Fix compilation issue when notifications are not enabled.
* 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-133-25/+37
| | | | | | * score/include/rtems/score/thread.h, score/src/threadinitialize.c, score/src/threadstackfree.c: Disable capability for API to let user provide thread stack when no API configured includes this capability.
* 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-132-23/+28
| | | | | | * score/include/rtems/score/coresem.h, score/src/coresemseize.c: Disable body of _CORE_semaphore_Seize() if it is not used because all APIs using it are disabled.
* 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-131-1/+1
| | | | * score/include/rtems/score/tod.h: Fix typo.
* 2009-09-13 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-09-131-1/+1
| | | | * score/src/coremsgbroadcast.c: Fix typo.
* 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-131-1/+0
| | | | * score/src/coremsgsubmit.c: Remove extra #else.
* 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-136-69/+103
| | | | | | | | | * score/inline/rtems/score/coremsg.inl, score/src/coremsg.c, score/src/coremsgbroadcast.c, score/src/coremsginsert.c, score/src/coremsgseize.c, score/src/coremsgsubmit.c: Add wrappers for accessing message priority. Since these are empty when priority-based message queues are disabled, this eliminates some of the conditionals.
* 2009-09-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-121-1/+1
| | | | * score/src/coremsgseize.c: Fix typo.
* 2009-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-09-117-171/+216
| | | | | | | | | * score/include/rtems/score/coremsg.h, score/inline/rtems/score/coremsg.inl, score/src/coremsg.c, score/src/coremsginsert.c, score/src/coremsgseize.c, score/src/coremsgsubmit.c, score/src/objectnametoidstring.c: Disable the Core Message Queue features of notification, priority messages, and blocking sends when no API requires them.
* 2009-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-09-114-18/+42
| | | | | | | * score/include/rtems/score/thread.h, score/src/threadhandler.c, score/src/threadinitialize.c, score/src/threadtickletimeslice.c: Disable thread protocol and scheduling capabilities not exercised when POSIX or ITRON API is disabled.
* 2009-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-09-1110-24/+52
| | | | | | | | | | | * score/include/rtems/score/object.h, score/inline/rtems/score/object.inl, score/src/objectgetnameasstring.c, score/src/objectidtoname.c, score/src/objectinitializeinformation.c, score/src/objectnamespaceremove.c, score/src/objectnametoidstring.c, score/src/objectsetname.c, score/src/thread.c, score/src/threadcreateidle.c: Disable object string name support when POSIX is not enabled.
* 2009-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-112-1/+6
| | | | | * rtems/score/cpu.h: Make heap alignment 4 which is greater than CPU_ALIGNMENT but minimum for heap.
* 2009-09-09 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-09-097-375/+387
| | | | | | | | | * score/include/rtems/score/heap.h, score/inline/rtems/score/heap.inl, score/src/heapallocate.c, score/src/heap.c, score/src/heapextend.c, score/src/heapresizeblock.c, score/src/heapwalk.c: Documenation. Simplified block resize. Improved heap walk. Changed heap layout to avoid a special case for _Heap_Is_used() and _Heap_Is_free(). * libmisc/stackchk/check.c: Update for heap API changes.
* 2009-09-06 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-09-0626-946/+1452
| | | | | | | | | | | | | | | | | | | | | | | | | * libcsupport/src/free.c, libmisc/stackchk/check.c, rtems/include/rtems/rtems/region.h, rtems/src/regioncreate.c, rtems/src/regionextend.c, rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c, rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c, score/src/pheapallocate.c, score/src/pheapallocatealigned.c, score/src/pheapextend.c, score/src/pheapfree.c, score/src/pheapgetblocksize.c, score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c, score/src/pheapgetsize.c, score/src/pheapinit.c, score/src/pheapresizeblock.c, score/src/pheapwalk.c: Update for heap API changes. * score/include/rtems/score/apimutex.h, score/include/rtems/score/object.h: Documentation. * score/include/rtems/score/heap.h, score/include/rtems/score/protectedheap.h, score/inline/rtems/score/heap.inl, score/src/heap.c, score/src/heapallocate.c, score/src/heapallocatealigned.c, score/src/heapextend.c, score/src/heapfree.c, score/src/heapgetfreeinfo.c, score/src/heapgetinfo.c, score/src/heapresizeblock.c, score/src/heapsizeofuserarea.c, score/src/heapwalk.c: Overall cleanup. Added boundary constraint to allocation function. More changes follow.
* 2009-09-04 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-09-042-85/+59
| | | | | | | | * rtems/src/taskmode.c, sapi/src/exshutdown.c, score/include/rtems/score/sysstate.h, score/inline/rtems/score/sysstate.inl: Added _System_state_Is_shutdown(). Removed direct uses of _System_state_Current. Documentation.
* 2009-08-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-281-2/+0
| | | | | | * libcsupport/src/malloc_initialize.c, sapi/src/exinit.c, score/src/threadstartmultitasking.c: Fix spacing. * libmisc/stackchk/check.c: Move variable into compiler specific conditional.
* 2009-08-26 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-08-261-9/+9
| | | | | * score/inline/rtems/score/address.inl: Added const qualifier to parameters. Added cast to _Addresses_Subtract() fix a warning.
* 2009-08-24 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-08-2614-985/+701
| | | | | | | | | | | | | * libmisc/stackchk/check.c, rtems/src/regionreturnsegment.c, rtems/src/regiongetsegmentsize.c, src/heapalignupuptr.c, src/heapallocatealigned.c, src/heapallocate.c, src/heap.c, src/heapextend.c, src/heapfree.c, src/heapgetfreeinfo.c, src/heapgetinfo.c, src/heapresizeblock.c, src/heapsizeofuserarea.c, src/heapwalk.c, src/pheapgetblocksize.c, inline/rtems/score/heap.inl, include/rtems/score/heap.h: Overall cleanup. Changed all types for addresses, sizes, offsets and alignments to uintptr_t. Reformatted. Added variables for clarity. Renamed various objects. Enabled _HAssert() for all instances. More changes follow.
* Define M68K_FP_STATE_SIZE also if used in assembler files.Thomas Doerfler2009-08-242-7/+14
|
* 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-193-64/+10
| | | | | | | * sapi/include/confdefs.h, score/Makefile.am, score/include/rtems/score/thread.h: Only instantiate _Thread_Idle_body() if it is going ot be used. * score/src/threadidlebody.c: Removed.
* 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-192-1/+7
| | | | | * rtems/score/cpu.h: Mark _CPU_Context_restore() as noreturn so the compiler will not generate code thinking it returns.
* 2009-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-181-1/+0
| | | | * score/src/heapallocatealigned.c: Remove unused label.
* 2009-08-18 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-08-181-11/+12
| | | | | * score/src/heapallocatealigned.c: Change break to continue to fix issue encountered on ARM. Fix indentation.
* 2009-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-122-16/+1
| | | | | | | * libcsupport/Makefile.am, libcsupport/preinstall.am, posix/Makefile.am, posix/preinstall.am, rtems/Makefile.am, rtems/preinstall.am, score/Makefile.am, score/preinstall.am: Revert modifications accidentally committed.
* 2009-08-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-111-1/+1
| | | | * score/include/rtems/debug.h: Fix typo.