summaryrefslogtreecommitdiff
path: root/cpukit/libblock/src/media.c (follow)
AgeCommit message (Collapse)Author
2018-02-07libblock: Use self-contained mutex for mediaSebastian Huber
Update #2843.
2016-11-24libblock: Fix for RTEMS_DEBUGSebastian Huber
2016-04-07libblock: Drop superfluous <stdlib.h> includeSebastian Huber
Drop superfluous <stdlib.h> include from <rtems/diskdevs.h> since this leads to conflicts with the latest Newlib in case this header file is used in the FreeBSD kernel space, e.g. for USB mass storage support.
2015-11-02libblock: Avoid NULL pointer accessSebastian Huber
2015-10-26basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns
2013-08-27libblock: Use unprotected chain extractSebastian Huber
This area is protected by the media mutex.
2013-06-04libblock: Use UTF-8 converter in media managerSebastian Huber
2012-03-13libblock: Use new API for disk mediaSebastian Huber
2012-03-13libblock: Change bdbuf APISebastian Huber
The functions o rtems_bdbuf_get(), o rtems_bdbuf_read(), o rtems_bdbuf_syncdev(), and o rtems_bdbuf_purge_dev(), use now the disk device instead of the device identifier. This makes bdbuf independent of rtems_disk_obtain() and rtems_disk_release(). It is the responsiblity of the file system to obtain the disk device. This also reduces the overhead to get a buffer. The key for the AVL tree uses now the disk device instead of the device identifier. The pointer is interpreted as an unsigned integer. This reduces the memory overhead and makes the comparison operation a bit faster. Removed function rtems_bdbuf_purge_major(). This function was too destructive and could have unpredictable side effects.
2010-08-252010-08-25 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber
CID 114/SECURE_CODING * libblock/src/media.c: Avoid strcpy().
2010-08-132010-08-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber
* libblock/src/media.c: Use unprotected chain extract.
2010-08-132010-08-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber
* libblock/include/rtems/media.h, libblock/src/media-desc.c, libblock/src/media-dev-ident.c, libblock/src/media-path.c, libblock/src/media-server.c, libblock/src/media.c: New files. * Makefile.am, preinstall.am, libblock/Makefile.am: Reflect changes above.