summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/sup_fs_deviceio.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Canonicalize config.h includeSebastian Huber2020-04-161-2/+2
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* libio: Robust file descriptor reference countingSebastian Huber2020-03-131-3/+3
| | | | | | | | | | | | There was a race conditon in the reference counting of file descriptors during a close() operation. After the call to the close handler, the rtems_libio_free() function cleared the flags to zero. However, at this point in time there may still exist some holders of the file descriptor. With RTEMS_DEBUG enabled this could lead to failed assertions in rtems_libio_iop_drop(). Change the code to use only atomic read-modify-write operations on the rtems_libio_iop::flags.
* libcsupport: Use RTEMS_DECONST()Sebastian Huber2014-09-081-1/+1
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* libcsupport: Refactor rtems_deviceio_errnoDaniel Ramirez2014-01-081-6/+7
| | | | | | Renames rtems_deviceio_errno to rtems_status_code_to_errno and integrates it into the Classic API Status Handler. This function can now be called by including status.h
* libcsupport: Doxygen enhancement task #2Alex Ivanov2012-12-091-0/+7
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/8017203
* Filesystem: PR1255: Move offset update to handlersSebastian Huber2012-05-151-0/+4
| | | | | | | It is now the responsibility of the read() and write() handler to update the offset field of the IO descriptor (rtems_libio_t). This change makes it possible to protect the IO descriptor from concurrent access by per file locks.
* Filesystem: Add shared device IO supportSebastian Huber2012-05-151-0/+128
The device IO file system support in IMFS, devFS, and RFS uses now a shared implementation.