summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2009-10-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-131-0/+3
| | | | | | * libblock/include/rtems/bdbuf.h: Use size_t for swapout_workers. * libblock/src/bdpart.c: Add __attribute__((unused)) to suppress warnings.
* Use size_t for sizes.Ralf Corsepius2009-10-131-2/+2
|
* Add __attribute__((unused)) to suppress warnings.Ralf Corsepius2009-10-131-3/+3
|
* Use size_t for swapout_workers.Ralf Corsepius2009-10-131-1/+1
|
* 2009-10-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-132-3/+10
| | | | | * libblock/src/bdbuf.c: Fix broken printf formats. Use size_t for sizes.
* * libblock/include/rtems/diskdevs.h: Added driver data pointer to IOThomas Doerfler2009-10-139-79/+159
| | | | | | | | | control function. The IO control handler takes now the disk device as first parameter instead of the physical device number. * cpukit/libblock/include/rtems/blkdev.h, libblock/src/bdbuf.c, libblock/src/blkdev.c, libblock/src/diskdevs.c, libblock/src/nvdisk.c, libblock/src/flashdisk.c, libblock/src/ramdisk.c: Update for block device API change.
* Reflect having introduced rtems_error_code_t.Ralf Corsepius2009-10-121-2/+2
|
* Introduce rtems_error_code_t.Ralf Corsepius2009-10-121-2/+6
| | | | Minor portability code-massaging.
* 2009-10-12 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-121-0/+7
| | | | | | | * score/include/rtems/score/interr.h: Introduce Internal_errors_t. * score/src/interr.c, score/include/rtems/score/userext.h, score/src/userextthreadbegin.c: Reflect having introduced Internal_errors_t.
* 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-113-2/+8
| | | | | * posix/src/alarm.c: If 0 seconds do not insert timer. * rtems/src/regionextend.c: Eliminate warning. Use default else.
* 2009-10-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-113-2/+10
| | | | | | * 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-104-9/+14
| | | | | | | * posix/include/rtems/posix/threadsup.h, posix/src/cancel.c, posix/src/canceleval.c: Make psxcancel run again. _POSIX_Thread_Exit() can be called on running thread or another thread when it is cancelled.
* 2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-107-72/+55
| | | | | | | | * posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c, posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c, posix/src/semtimedwait.c: Switch from switch to if's because only one value needed to be tested. This shrinks the code and makes it easier to do coverage analysis on.
* 2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-102-3/+17
| | | | | | | * 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-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-102-2/+6
| | | | * rtems/src/timerserver.c: Indentation.
* 2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-108-25/+39
| | | | | | | | | * rtems/src/regiondelete.c, rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c, rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c, rtems/src/regionresizesegment.c, rtems/src/regionreturnsegment.c: Avoid initializing status code. This generates dead code on some targets. Add default case to eliminate unitialized variable warning.
* 2009-10-09 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-10-094-0/+22
| | | | | | | | * 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-09 Chris Johns <chrisj@rtems.org>Chris Johns2009-10-082-1/+6
| | | | | * libmisc/shell/main_mknod.c: Fixed build problem with networking disabled.
* 2009-10-08 Chris Johns <chrisj@rtems.org>Chris Johns2009-10-0836-297/+1873
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-062-53/+28
| | | | | | * 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-053-213/+201
| | | | | | | * 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-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-044-17/+18
| | | | | | | | * rtems/src/ratemonreportstatistics.c: owner field is always set so safe to use. Reformat. * rtems/src/regionresizesegment.c: Always evaluate the blocked queue if the resize succeeded. * rtems/src/tasksetnote.c: Spacing.
* 2009-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-045-38/+44
| | | | | | | * posix/include/rtems/posix/psignal.h: Add extern for ualarm timer. * posix/src/alarm.c, posix/src/ualarm.c: Change from switch to if since many enumerated values have no action. * posix/src/psignal.c: Initialize ualarm and alarm timers.
* 2009-10-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-022-1/+6
| | | | | * libmisc/monitor/mon-driver.c: Fix warning if defined(RTEMS_USE_16_BIT_OBJECT).
* 2009-10-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-022-0/+9
| | | | | * libmisc/monitor/mon-prmisc.c: Fix warning if defined(RTEMS_USE_16_BIT_OBJECT).
* 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.
* 2009-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-011-0/+6
| | | | | | PR 1445/bsps * include/rtems/pci.h: Make pci_[read|write]_config* static inline, again.
* Make pci_[read|write]_config* static inline, again.Ralf Corsepius2009-10-011-6/+6
|
* 2009-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-012-1/+5
| | | | * include/rtems/pci.h: Add another missing prototype.
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-302-1/+5
| | | | * include/rtems/pci.h: Add missing prototype.
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-301-0/+8
| | | | | | | | * libcsupport/src/fstat.c, libcsupport/src/fcntl.c, libcsupport/src/calloc.c, libcsupport/src/isatty_r.c, libcsupport/src/issetugid.c, libcsupport/src/lseek.c, libcsupport/src/read.c, libcsupport/src/getpid.c: Rework autoconf defines.
* Rework autoconf defines.Ralf Corsepius2009-09-308-7/+9
|
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-302-10/+8
| | | | | * libcsupport/src/_rename_r.c: Rework autoconf defines. Remove unused includes.
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-302-14/+12
| | | | | * libcsupport/src/__gettod.c: Rework autoconf defines. Eliminate RTEMS_UNIX.
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-301-0/+2
| | | | | * libcsupport/src/_calloc_r.c, libcsupport/src/_realloc_r.c: Rework autoconf defines.
* Rework autoconf defines.Ralf Corsepius2009-09-304-4/+4
|
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-301-0/+2
| | | | | * libcsupport/src/open.c, libcsupport/src/close.c: Rework autoconf defines.
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-301-0/+1
| | | | * libcsupport/src/tcflow.c: Remove unused includes.
* Remove unused includes.Ralf Corsepius2009-09-301-8/+1
|
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-301-0/+1
| | | | * libcsupport/src/__sbrk.c: Eliminate RTEMS_UNIX.
* Eliminate RTEMS_UNIX.Ralf Corsepius2009-09-301-2/+1
|
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-301-0/+2
| | | | | * libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c: Rework autoconf defines.
* Rework autoconf defines.Ralf Corsepius2009-09-302-2/+2
|
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-301-0/+2
| | | | | * libcsupport/src/malloc_boundary.c: Comment out checkMallocArena (unused).
* Comment out checkMallocArena (unused).Ralf Corsepius2009-09-301-2/+5
|
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-302-2/+4
| | | | * libcsupport/src/__assert.c: Rework autoconf defines.
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-302-2/+3
| | | | | * libcsupport/src/__brk.c: Eliminate RTEMS_UNIX. Remove unused includes.