summaryrefslogtreecommitdiffstats
path: root/cpukit (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-09-242009-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill4-27/+9
* libcsupport/src/getpagesize.c, posix/Makefile.am: Eliminate one copy of getpagesize() and make it return an int. * posix/src/getpagesize.c: Removed.
2009-09-202009-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill3-1/+28
* posix/Makefile.am: Add getpagesize(). Now required by GNU Ada. * posix/src/getpagesize.c: New file.
2009-09-18 * rtems/score/cpu.h: Fix for inline asm in _CPU_Fatal_halt().Thomas Doerfler5-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-162009-09-16 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-4/+13
* score/src/userextaddapiset.c: Disable code that is only used when ITRON or POSIX is enabled.
2009-09-16*** empty log message ***Joel Sherrill1-60/+51
2009-09-152009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+5
* libmisc/shell/utils-cp.c: Include <utime.h> instead of <sys/utime.h> for better POSIX compilance.
2009-09-15Include <utime.h> instead of <sys/utime.h> for better POSIX compilance.Ralf Corsepius1-1/+1
2009-09-152009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+5
* libcsupport/src/malloc_p.h: Rely upon uintmax_t and PRIuMAX being provided.
2009-09-15Rely upon uintmax_t and PRIuMAX being provided.Ralf Corsepius1-9/+0
2009-09-152009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-2/+2
* libcsupport/src/libio_init.c, libcsupport/src/libio.c: Reflect rtems_libio_number_iops being uint32_t.
2009-09-15Reflect rtems_libio_number_iops being uint32_t.Ralf Corsepius2-4/+4
2009-09-152009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+5
* libcsupport/src/libio_init.c: Reflect rtems_libio_number_iops being uint32_t.
2009-09-152009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+5
* libcsupport/src/libio_init.c: Remove extern uint32_t rtems_libio_number_iops.
2009-09-15Remove extern uint32_t rtems_libio_number_iops.Ralf Corsepius1-1/+0
2009-09-152009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-7/+17
* libcsupport/src/fcntl.c, libcsupport/src/malloc_boundary.c, libcsupport/src/newlibc_reent.c, libcsupport/src/printk_plugin.c, libcsupport/src/stat.c, libcsupport/src/tcflow.c, libcsupport/src/tcflush.c, libcsupport/src/tcsendbreak.c, libcsupport/src/tcsetpgrp.c, libcsupport/src/unlink.c, libcsupport/src/unmount.c, libcsupport/src/write_r.c: Add __attribute__((unused)) to function arguments.
2009-09-15Add __attribute__((unused)) to function arguments.Ralf Corsepius12-14/+22
2009-09-152009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+15
* libcsupport/src/__brk.c, libcsupport/src/__gettod.c, libcsupport/src/__sbrk.c, libcsupport/src/__times.c, libcsupport/src/_calloc_r.c, libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c, libcsupport/src/_realloc_r.c libcsupport/src/_rename_r.c, libcsupport/src/assocnamebad.c libcsupport/src/close.c, libcsupport/src/envlock.c libcsupport/src/fstat.c, libcsupport/src/getgroups.c libcsupport/src/getpid.c, libcsupport/src/isatty_r.c libcsupport/src/link.c, libcsupport/src/lseek.c libcsupport/src/open.c, libcsupport/src/read.c libcsupport/src/setpgid.c: Add __attribute__((unused)) to function arguments.
2009-09-15Add __attribute__((unused)) to function arguments.Ralf Corsepius21-24/+28
2009-09-152009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius3-10/+13
PR 1441/cpukit * libcsupport/src/tcgetprgrp.c: Remove. * libcsupport/src/tcgetpgrp.c: New (Renamed from libcsupport/src/tcgetprgrp.c). * libcsupport/Makefile.am: Add libcsupport/src/tcgetpgrp.c. Remove libcsupport/src/tcgetprgrp.c.
2009-09-152009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+6
* libcsupport/src/getpwent.c: Ansify.
2009-09-142009-09-14 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill4-290/+7
* score/src/heapalignupuptr.c, score/src/heapallocatealigned.c: Removed files. * score/Makefile.am: Update.
2009-09-142009-09-14 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill13-96/+148
* 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-142009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-4/+13
* posix/src/nanosleep.c: Disable EINTR case when POSIX is disabled because it cannot happen.
2009-09-132009-09-13 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-11/+22
* score/inline/rtems/score/coremsg.inl: Fix compilation issue when notifications are not enabled.
2009-09-13Typo.Joel Sherrill1-1/+1
2009-09-132009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill4-25/+43
* 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-132009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill3-23/+34
* 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-132009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-1/+5
* score/include/rtems/score/tod.h: Fix typo.
2009-09-132009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-0/+11
* rtems/include/rtems/rtems/config.h: Add rtems_configuration_get_maximum_semaphores().
2009-09-132009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill3-4/+9
* posix/Makefile.am, posix/src/clockgetres.c: Add clockgetres.c to set of clock and delayt methods built when POSIX threads are disabled. Ensure it builds when POSIX is disabled.
2009-09-132009-09-13 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-1/+5
* score/src/coremsgbroadcast.c: Fix typo.
2009-09-132009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-1/+4
* score/src/coremsgsubmit.c: Remove extra #else.
2009-09-132009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill7-69/+112
* 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-122009-09-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-1/+5
* score/src/coremsgseize.c: Fix typo.
2009-09-112009-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill8-171/+225
* 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-112009-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill5-18/+49
* 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-112009-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill11-24/+63
* 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-112009-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-8/+5
* libmisc/capture/capture.c: Use public API to obtain object name.
2009-09-112009-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-1/+6
* rtems/score/cpu.h: Make heap alignment 4 which is greater than CPU_ALIGNMENT but minimum for heap.
2009-09-092009-09-09 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill9-376/+404
* 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-062009-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius4-2/+9
* libcsupport/src/issetugid.c: New (relocated from libnetworking). * libnetworking/rtems/issetugid.c: Remove. * libnetworking/Makefile.am: Reflect changes above. * libcsupport/Makefile.am: Reflect changes above.
2009-09-062009-09-06 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill36-976/+1504
* 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-042009-09-04 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill5-87/+69
* 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-282009-08-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill5-8/+8
* 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-262009-08-26 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2-9/+14
* score/inline/rtems/score/address.inl: Added const qualifier to parameters. Added cast to _Addresses_Subtract() fix a warning.
2009-08-262009-08-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-1/+5
* libfs/src/devfs/devfs.h: Fix spelling error.
2009-08-262009-08-26 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2-1/+6
* sapi/include/rtems/config.h: Changed stack allocator signature to match the one of _Workspace_Allocate().
2009-08-262009-08-24 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill18-988/+717
* 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.
2009-08-252009-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-24/+37
* libfs/src/devfs/devfs_eval.c: Fix bug where use of strncmp() resulted in a partial match being considered a full name match. On ERC32, looking for /dev/console would match /dev/console_b first.
2009-08-24Define M68K_FP_STATE_SIZE also if used in assembler files.Thomas Doerfler2-7/+14