summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2009-10-09 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-10-093-0/+14
| | | | | | | | * cpukit/sapi/include/rtems/io.h: Documentation. * cpukit/sapi/src/ioregisterdriver.c: Call from interrupt context is an error. * cpukit/sapi/src/iounregisterdriver.c: Disable preemption during critical section.
* 2009-10-08 Chris Johns <chrisj@rtems.org>Chris Johns2009-10-081-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-061-53/+22
| | | | | | * sapi/src/ioregisterdriver.c: Reowork so this is a context switch disable critical section not interrupt disable critical section. Hopefully eliminated dead code which showed up in coverage runs.
* 2009-10-04 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-10-052-213/+194
| | | | | | | * sapi/include/rtems/io.h, sapi/src/ioregisterdriver.c: Documenation. rtems_io_lookup_name() is now deprecated. Added rtems_io_driver_io_error(). rtems_io_register_driver() is now thread-safe.
* 2009-09-25 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-09-255-170/+216
| | | | | | | | | | | | | | | | | | * 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-04 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-09-041-1/+1
| | | | | | | | * 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-3/+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-1/+1
| | | | | * sapi/include/rtems/config.h: Changed stack allocator signature to match the one of _Workspace_Allocate().
* 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-191-0/+8
| | | | | | | * 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-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-121-5/+20
| | | | | | | * libcsupport/src/malloc_boundary.c: This is currently non-funcitonal. Do not build it when doing coverage until it works again. * sapi/include/confdefs.h: Address linking errors when building for configuration.
* 2009-08-09 Xi Yang <hiyangxi@gmail.com>Joel Sherrill2009-08-091-0/+1
| | | | | | | | * libcsupport/Makefile.am, posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am, score/Makefile.am, score/include/rtems/score/heap.h: HEAP_BLOCK_USED_OVERHEAD was under by one uint32_t. This showed up in the unlimited and heapwalk tests on ARM targets.
* Revert.Joel Sherrill2009-08-061-1/+0
|
* 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-052-1/+16
| | | | | | | | | * libcsupport/Makefile.am, rtems/Makefile.am, rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am, score/Makefile.am, score/preinstall.am, score/include/rtems/score/heap.h, score/inline/rtems/score/heap.inl: Remove inline version now that it is in a C file. * libcsupport/src/end_profile.c: New file.
* 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-051-1/+1
| | | | * sapi/include/confdefs.h: Fix typo.
* 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-051-1/+3
| | | | | * sapi/include/confdefs.h: Account for memory for POSIX message queue file descriptors.
* 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-051-1/+25
| | | | | | * posix/include/rtems/posix/config.h, posix/src/mqueue.c, sapi/include/confdefs.h: Add configuration of posix message queue file descriptors as separate entity.
* 009-08-05 Chris Johns <chrisj@rtems.org>Chris Johns2009-08-052-20/+83
| | | | | | | | | | | | | | | | | | | | | | | | | * libmisc/dummy/dummy-networking.c: New. * libmisc/dummy/dummy.c, libmisc/Makefile.am: Move trhe networking configuration into a separate file so configuration varations do not cause conflicts. * score/inline/rtems/score/object.inl, score/include/rtems/score/object.h: Remove warnings. * score/inline/rtems/score/object.inl: Add _Chain_First, _Chain_Last, _Chain_Mext, and _Chain_Previous. * sapi/inline/rtems/chain.inl: Add rtems_chain_first, rtems_chain_last, rtems_chain_mext, and rtems_chain_previous. * libblock/include/rtems/diskdevs.h: Remove the bdbuf pool id and block_size_log2. Add media_block_size. * libblock/src/diskdevs.c: Remove size restrictions on block size. Add media block size initialisation. Remove comment to clean up the bdbuf cache. * libblock/src/blkdev.c: Remove references to block_size_log2. Allow any block size. * libblock/include/rtems/bdbuf.h, libblock/src/bdbuf.c: Remove all references to pools and make the cache handle demand driver variable buffer size allocation. Added worker threads support the swapout task. * sapi/include/confdefs.h: Updated the bdbuf configutation.
* 2009-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-041-2/+4
| | | | | * sapi/include/confdefs.h: Account for allocation of user extension data area pointers.
* 2009-07-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-281-0/+8
| | | | | | | * libcsupport/Makefile.am, libcsupport/preinstall.am, sapi/include/confdefs.h: Add configuration and basic device driver ver definition for frame buffer device. * libcsupport/include/rtems/framebuffer.h: New file.
* 2009-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-251-3/+3
| | | | * sapi/src/ioregisterdriver.c: Fix spacing.
* 2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-211-12/+6
| | | | | * sapi/src/debug.c, score/include/rtems/debug.h: Rename _Debug_Is_enabled to rtems_is_debug_enabled.
* 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-031-6/+6
| | | | | | | * 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 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2009-07-031-0/+4
| | | | | | * 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-06-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-06-101-3/+6
| | | | | * sapi/include/confdefs.h: Fix minor error when application has its own initialization task table.
* 2009-05-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-081-1/+1
| | | | | * sapi/include/rtems/config.h: Switch from ssize_t to uintptr_t for work space size since it is larger than a single allocatable object.
* 2009-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de>Chris Johns2009-04-291-1/+1
| | | | | | | | | | | | | | | * sapi/include/confdefs.h, libblock/include/rtems/bdbuf.h: Changed type of rtems_bdbuf_pool_configuration_size to size_t. * libblock/include/rtems/bdbuf.h, libblock/include/rtems/blkdev.h, libblock/include/rtems/diskdevs.h, libblock/src/bdbuf.c, libblock/src/blkdev.c, libblock/src/diskdevs.c: Buffer pool allocation is now cache aligned. The cache functions are currently not available on all platforms so the cache line size is fixed to 32 bytes for now. Changed various integer types which refer to block sizes, numbers and indexes. Fixed logical block indexes in buffer get and read function. It is now possible to delete logical disks. Modified documentation
* 2009-04-28 Chris Johns <chrisj@rtems.org>Chris Johns2009-04-281-0/+9
| | | | | | * sapi/include/confdefs.h: Add a prototype for Init with C linkage and define Init task command line arguments if confdefs.h provides an Init entry point.
* 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-121-1/+1
| | | | | | * sapi/include/rtems/config.h, score/include/rtems/score/thread.h, score/src/threadidlebody.c: Change prototype of IDLE thread to consistently return void * and take a uintptr_t argument.
* 2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-111-5/+5
| | | | | * sapi/src/exinit.c: Eliminate _CPU_Thread_dispatch_pointer and passing address of _Thread_Dispatch to _CPU_Initialize. Clean up comments.
* 2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-111-3/+3
| | | | | * sapi/src/exinit.c: Interrupts are guaranteed to be disabled by boot_card(), do not do it here as well.
* Move extern "C" brace after includes.Ralf Corsepius2009-02-051-2/+2
|
* 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-01-052-10/+12
| | | | | | | | | | | | | | | | | | | | | | | * libcsupport/src/gxx_wrappers.c, posix/include/mqueue.h, posix/include/rtems/posix/semaphore.h, posix/inline/rtems/posix/barrier.inl, posix/inline/rtems/posix/key.inl, posix/inline/rtems/posix/mqueue.inl, posix/inline/rtems/posix/rwlock.inl, posix/inline/rtems/posix/semaphore.inl, posix/inline/rtems/posix/spinlock.inl, posix/inline/rtems/posix/timer.inl, posix/src/condget.c, posix/src/mqueuenametoid.c, posix/src/mutexget.c, posix/src/semaphorenametoid.c, posix/src/semopen.c, sapi/src/itronapi.c, sapi/src/posixapi.c: Make changes necessary for all tests to run on SPARC with 16-bit Ids. This required ensuring that all POSIX and compilering binding code makes a distinction between the public Id type (e.g. pthread_t, etc.) and the RTEMS Object_Id type. All POSIX Object Get routines should not take the POSIX Id type as the argument. Sixteen bit RTEMS Ids should be placed into the 32-bits reserved by the POSIX API type in a uniform manner now. This removed all assumptions that the external Id types in POSIX and ITRON are the same as the internal Object Id type.
* 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-01-051-4/+14
| | | | | | PR 1351/cpukit * sapi/include/confdefs.h: Mask off unlimited object bit before using configured number in calculations.
* 2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-182-2/+13
| | | | | | | | | | * rtems/include/rtems/rtems/regionmp.h, sapi/include/rtems/config.h, sapi/src/exinit.c, score/Makefile.am, score/include/rtems/score/object.h, score/include/rtems/score/objectmp.h, score/src/objectmp.c: Eliminate Object Handler Initialization routine since it was all for MP configurations. * score/src/object.c: Removed.
* 2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-175-65/+31
| | | | | | | | | | | | | * sapi/include/rtems/extension.h, sapi/include/rtems/io.h, sapi/src/exinit.c, sapi/src/extension.c, sapi/src/io.c, score/include/rtems/score/mpci.h, score/include/rtems/score/object.h, score/include/rtems/score/thread.h, score/include/rtems/score/tod.h, score/include/rtems/score/userext.h, score/include/rtems/score/wkspace.h, score/src/coretod.c, score/src/mpci.c, score/src/object.c, score/src/thread.c, score/src/userext.c, score/src/wkspace.c: Convert SAPI manager and SuperCore Handler initialization routines to directly pull parameters from configuration table.
* 2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-171-25/+8
| | | | | | | | | | | | | | | | | * itron/include/rtems/itron/config.h, itron/include/rtems/itron/eventflags.h, itron/include/rtems/itron/fmempool.h, itron/include/rtems/itron/mbox.h, itron/include/rtems/itron/msgbuffer.h, itron/include/rtems/itron/port.h, itron/include/rtems/itron/semaphore.h, itron/include/rtems/itron/task.h, itron/include/rtems/itron/vmempool.h, itron/src/eventflags.c, itron/src/fmempool.c, itron/src/itroninittasks.c, itron/src/itronsem.c, itron/src/mbox.c, itron/src/msgbuffer.c, itron/src/port.c, itron/src/task.c, itron/src/vmempool.c, sapi/src/itronapi.c: Convert ITRON manager initialization routines to directly pull parameters from configuration table.
* 2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-171-27/+11
| | | | | | | | | | | | | | | | | | | | * posix/include/rtems/posix/barrier.h, posix/include/rtems/posix/cond.h, posix/include/rtems/posix/key.h, posix/include/rtems/posix/mqueue.h, posix/include/rtems/posix/mutex.h, posix/include/rtems/posix/psignal.h, posix/include/rtems/posix/pthread.h, posix/include/rtems/posix/ptimer.h, posix/include/rtems/posix/rwlock.h, posix/include/rtems/posix/semaphore.h, posix/include/rtems/posix/spinlock.h, posix/include/rtems/posix/timer.h, posix/src/cond.c, posix/src/key.c, posix/src/mqueue.c, posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c, posix/src/psignal.c, posix/src/pspin.c, posix/src/pthread.c, posix/src/pthreadinitthreads.c, posix/src/ptimer.c, posix/src/semaphore.c, sapi/src/posixapi.c: Convert POSIX manager initialization routines to directly pull parameters from configuration table.
* 2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-171-30/+12
| | | | | | | | | | | | | | | | | | * rtems/Makefile.am, rtems/include/rtems/rtems/attr.h, rtems/include/rtems/rtems/barrier.h, rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/intr.h, rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h, rtems/src/barrier.c, rtems/src/dpmem.c, rtems/src/msg.c, rtems/src/part.c, rtems/src/ratemon.c, rtems/src/region.c, rtems/src/rtemstimer.c, rtems/src/sem.c, rtems/src/tasks.c, sapi/src/rtemsapi.c: Convert manager initialization routines to directly pull parameters from configuration table. Eliminate empty routines sportted. * rtems/src/intr.c: Removed.
* 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-161-6/+2
| | | | | * sapi/include/rtems/config.h: Remove commented out lines. Add macro for rtems_configuration_get_nanoseconds_per_tick().
* 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-157-239/+154
| | | | | | | | | | | | | | | | | | | | | | * itron/include/rtems/itron/itronapi.h, libmisc/capture/capture.c, libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c, libmisc/monitor/mon-itask.c, libmisc/monitor/mon-mpci.c, posix/include/rtems/posix/config.h, posix/include/rtems/posix/posixapi.h, rtems/include/rtems/rtems/config.h, rtems/include/rtems/rtems/rtemsapi.h, rtems/src/taskinitusers.c, sapi/include/confdefs.h, sapi/include/rtems/config.h, sapi/include/rtems/init.h, sapi/src/exinit.c, sapi/src/itronapi.c, sapi/src/posixapi.c, sapi/src/rtemsapi.c, score/src/isr.c, score/src/thread.c, score/src/threadcreateidle.c, score/src/threadstackallocate.c, score/src/threadstackfree.c, score/src/wkspace.c: Eliminate pointers to API configuration tables in the main configuration table. Reference the main configuration table and the API configuration tables directly using the confdefs.h version rather than obtaining a pointer to it. This eliminated some variables, a potential fatal error, some unnecessary default configuration structures. Overall, about a 4.5% reduction in the code size for minimum and hello on the SPARC.
* 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-141-1/+1
| | | | | | | | | | | | | | | | * libcsupport/src/realloc.c, rtems/include/rtems/rtems/region.h, rtems/src/regioncreate.c, rtems/src/regionextend.c, rtems/src/regiongetsegment.c, rtems/src/regiongetsegmentsize.c, rtems/src/regionmp.c, rtems/src/regionresizesegment.c, sapi/include/rtems/config.h, score/include/rtems/score/heap.h, score/include/rtems/score/protectedheap.h, score/src/heap.c, score/src/heapallocate.c, score/src/heapallocatealigned.c, score/src/heapextend.c, score/src/heapresizeblock.c, score/src/heapsizeofuserarea.c, score/src/pheapallocate.c, score/src/pheapallocatealigned.c, score/src/pheapextend.c, score/src/pheapgetblocksize.c, score/src/pheapresizeblock.c: Change sizes of heap/region and allocated objects in heap to intptr_t so they can be larger than a single allocatable object (e.g. size_t).
* 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-011-0/+11
| | | | | | * sapi/include/confdefs.h: Add disable of pipes by default since they use resources which are otherwise not accounted for. Eventually the resources will have to be properly configured.
* 2008-11-24 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-11-241-17/+14
| | | | | | | | | | | | PR 1341/cpukit * sapi/include/confdefs.h: The following macros were missing the _Configure_From_workspace() wrapper on their size estimate: + CONFIGURE_INTERRUPT_STACK_MEMORY + CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API + CONFIGURE_INTERRUPT_VECTOR_TABLE + CONFIGURE_MEMORY_FOR_STATIC_EXTENSIONS In addition, there was a duplicate definition of CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API.
* 2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-11-201-0/+23
| | | | | | PR 1340/cpukit * sapi/inline/rtems/chain.inl: Add rtems_chain_initialize to public chain API.
* 2008-11-13 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-11-131-0/+34
| | | | | | PR 1336/cpukit * sapi/inline/rtems/chain.inl: Add rtems_chain_prepend_unprotected and rtems_chain_append_unprotected.
* 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-10-021-1/+1
| | | | | | | | | | | | | | | | | * libcsupport/src/malloc_statistics_helpers.c, libcsupport/src/realloc.c, rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/support.h, rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c, rtems/src/workspace.c, sapi/include/confdefs.h, score/include/rtems/score/heap.h, score/include/rtems/score/protectedheap.h, score/include/rtems/score/wkspace.h, score/src/heap.c, score/src/heapallocate.c, score/src/heapallocatealigned.c, score/src/heapextend.c, score/src/heapresizeblock.c, score/src/heapsizeofuserarea.c, score/src/pheapgetblocksize.c, score/src/wkspace.c: Change size_t to ssize_t on all Heap, Workspace and Region calls. On 16-bit architectures, size_t can be 16-bits which would limit sizes to 64K.
* 2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-171-4/+12
| | | | | * sapi/include/confdefs.h: Rename STACK_CHECKER_ON to more appropriate CONFIGURE_STACK_CHECKER_ENABLED.
* 2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-171-0/+18
| | | | | | | | | | | | | * libcsupport/src/free.c, libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h, libcsupport/src/malloc_sbrk_helpers.c, libcsupport/src/malloc_statistics_helpers.c, libcsupport/src/malloc_walk.c, libcsupport/src/mallocfreespace.c, libcsupport/src/mallocinfo.c, libcsupport/src/realloc.c, libcsupport/src/rtems_memalign.c, sapi/include/confdefs.h, score/inline/rtems/score/thread.inl: Add support for optionally having a unified work area. In other words, the RTEMS Workspace and C Program Heap are the same pool of memory.
* 2008-09-17 Miao Yan <yanmiaobest@gmail.com>Joel Sherrill2008-09-171-10/+50
| | | | | | | | | | | | | | | | | | | | | | | * Makefile.am, preinstall.am, libcsupport/Makefile.am, libcsupport/include/rtems/libcsupport.h, libcsupport/include/rtems/libio.h, libcsupport/src/base_fs.c, libcsupport/src/libio_init.c, libcsupport/src/newlibc_exit.c, libcsupport/src/newlibc_init.c, libcsupport/src/sync.c, libfs/Makefile.am, libfs/src/imfs/deviceio.c, sapi/include/confdefs.h: Merge GSOC project code to add simple device only filesystem (devfs), optionally completely drop out filesystem, and to clean up disabling newlib reentrancy support. This dropped 17K from the minimum.exe for sparc/sis and arm/rtl22xx_t now has a 15K code space. * libcsupport/src/__usrenv.c, libcsupport/src/newlibc_reent.c, libfs/src/devfs/devclose.c, libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_eval.c, libfs/src/devfs/devfs_init.c, libfs/src/devfs/devfs_mknod.c, libfs/src/devfs/devfs_node_type.c, libfs/src/devfs/devfs_show.c, libfs/src/devfs/devioctl.c, libfs/src/devfs/devopen.c, libfs/src/devfs/devread.c, libfs/src/devfs/devstat.c, libfs/src/devfs/devwrite.c, libfs/src/imfs/deviceerrno.c: New files. * libcsupport/src/newlibc.c: Removed.
* 2008-09-16 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-09-161-2/+2
| | | | | * sapi/include/confdefs.h: Revert previous patch. Does not apply to head.