summaryrefslogtreecommitdiff
path: root/cpukit/libcsupport/src/sup_fs_deviceio.c (follow)
AgeCommit message (Collapse)Author
2020-04-16Canonicalize config.h includeSebastian Huber
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2020-03-13libio: Robust file descriptor reference countingSebastian Huber
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.
2014-09-08libcsupport: Use RTEMS_DECONST()Sebastian Huber
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns
2014-01-08libcsupport: Refactor rtems_deviceio_errnoDaniel Ramirez
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
2012-12-09libcsupport: Doxygen enhancement task #2Alex Ivanov
http://www.google-melange.com/gci/task/view/google/gci2012/8017203
2012-05-15Filesystem: PR1255: Move offset update to handlersSebastian Huber
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.
2012-05-15Filesystem: Add shared device IO supportSebastian Huber
The device IO file system support in IMFS, devFS, and RFS uses now a shared implementation.