summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * libblock/src/ide_part_table.c: Fixed NULL pointer access.Thomas Doerfler2009-03-191-3/+3
|
* 2008-12-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Ralf Corsepius2008-12-091-1/+1
| | | | | * libblock/src/bdbuf.c: Fix typo having crept in during boolean->bool transition.
* Use "#include <..>" to include public headers.Ralf Corsepius2008-09-073-7/+7
|
* Convert to Unix file format.Ralf Corsepius2008-09-061-56/+56
|
* Convert to using "bool".Ralf Corsepius2008-09-016-134/+135
|
* 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-09-011-0/+4
| | | | * libblock/src/nvdisk-sram.c: Add missing HAVE_CONFIG_H.
* s/rtems_boolean/bool/g.Ralf Corsepius2008-08-254-7/+7
|
* 2008-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-08-216-36/+36
| | | | | | * libblock/include/rtems/bdbuf.h, libblock/include/rtems/diskdevs.h, libblock/src/bdbuf.c, libblock/src/blkdev.c, libblock/src/diskdevs.c, libblock/src/ramdisk.c: Eliminate sign mismatch warnings.
* Remove bool, true, false.Ralf Corsepius2008-08-211-7/+0
|
* 2008-08-2008 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-08-201-7/+0
| | | | | * libblock/src/nvdisk.c: Remove bool, true, false (unused, clashes with C99/POSIX).
* 2008-08-06 Chris Johns <chrisj@rtems.org>Chris Johns2008-08-061-2/+2
| | | | | * libblock/src/bdbuf.c: PR1272. Fixed similar possible issues in the new bdbuf code.
* 2008-08-06 Brett Swimley <brett.swimley@aedbozeman.com>Chris Johns2008-08-061-0/+1
| | | | | * libblock/src/diskdevs.c: PR1192. Update the disktap pointer after the realloc.
* 2008-08-06 Till Straumann <strauman@slac.stanford.edu>Chris Johns2008-08-061-1/+1
| | | | | * libblock/src/diskdevs.c: PR1269. Delete the semaphore rather than release it.
* 2008-08-02 Chris Johns (chrisj@rtems.org>Chris Johns2008-08-025-37/+60
| | | | | | | | | | | | | * libblock/include/rtems/blkdev.h: Remove count and start from rtems_blkdev_request. Add RTEMS_BLKDEV_START_BLOCK macro. * libblock/src/bdbuf.c: Add read ahead blocks always consecutive comment. Change count to bufnum and remove start references. Sort the transfer list so blocks are consecutive where possible. * libblock/src/blkdev.c, libblock/src/nvdisk.c, libblock/src/ramdisk.c: Change count to bufnum and remove start references.
* Add missing prototypes.Ralf Corsepius2008-08-012-3/+3
|
* 2008-07-29 Chris Johns <chrisj@rtems.org>Chris Johns2008-07-291-2/+2
| | | | * libblock/src/nvdisk.c: Fix block compile bug.
* 2008-07-29 Chris Johns <chrisj@rtems.org>Chris Johns2008-07-292-552/+578
| | | | | * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c: Update the comments.
* 2008-07-29 Chris Johns <chrisj@rtems.org>Chris Johns2008-07-2914-1952/+2601
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libblock/Makefile.am: Removed src/show_bdbuf.c. * libblock/src/show_bdbuf.c: Removed. * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c: Rewritten the bdbuf code. Remove pre-emption disable, score access, fixed many bugs and increased performance. * libblock/include/rtems/blkdev.h: Added RTEMS_BLKDEV_CAPABILITIES block device request. Cleaned up comments. Added block and user fields to the sg buffer request. Move to rtems_* namespace. * libblock/include/rtems/diskdevs.h, cpukit/libblock/src/diskdevs.c: Move to rtems_* namespace. Add a capabilities field for drivers. Change rtems_disk_lookup to rtems_disk_obtain to match the release call. You do not lookup and release a disk, you obtain and release a disk. * libblock/include/rtems/ide_part_table.h, libblock/include/rtems/ramdisk.h, libblock/src/ide_part_table.c: Move to rtems_* namespace. * libblock/include/rtems/nvdisk.h: Formatting change. * libblock/src/blkdev.c: Move to rtems_* namespace. Change rtems_disk_lookup to rtems_disk_obtain * libblock/src/flashdisk.c: Move to rtems_* namespace. Use the new support for the block number in the scatter/grather request struct. This allows non-continuous buffer requests for those drivers that can support increasing performance. * libblock/src/nvdisk.c: Move to rtems_* namespace. Removed warnings. Added better error checking. Fixed some comments. * libblock/src/ramdisk.c: Move to rtems_* namespace. Added some trace functions to help debugging upper layers. Use the new support for the block number in the scatter/grather request struct. This allows non-continuous buffer requests for those drivers that can support increasing performance. * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Use new chains API. Removed temporary hack and changed set_errno_and_return_minus_one to rtems_set_errno_and_return_minus_one. Move fat_buf_access from header and stopped it being inlined. Updated to libblock changes. * libfs/src/dosfs/fat_fat_operations.c, libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c, libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c, libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_initsupp.c, libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Use new chains API. Removed temporary hack and changed set_errno_and_return_minus_one to rtems_set_errno_and_return_minus_one. Updated to libblock changes. * libmisc/Makefile.am: Add new ls and rm command files. * libmisc/shell/cmp-ls.c, libmisc/shell/extern-ls.h, libmisc/shell/filemode.c, libmisc/shell/print-ls.c, libmisc/shell/pwcache.c, libmisc/shell/utils-ls.c, libmisc/shell/vis.c, shell/vis.h: New. * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c, libmisc/shell/utils-cp.c: Fixed the usage call bug. * libmisc/shell/main_blksync.c: Updated to the new block IO ioctl command. * libmisc/shell/main_ls.c, libmisc/shell/main_rm.c: Updated to BSD commands with more features. * score/src/coremutex.c: Fix the strick order mutex code. * libmisc/shell/shell.c: Change shell tasks mode to be timeslice and no ASR. * sapi/include/confdefs.h: Change ata_driver_task_priority to rtems_ata_driver_task_priority. Add the new BD buf cache parameters with defaults. * score/src/interr.c: Do not return if the CPU halt call returns.
* 2008-07-03 Chris Johns <chrisj@rtems.org>Chris Johns2008-07-031-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cpukit/libcsupport/include/chain.h: Removed. Use the SAPI interface that is supported. * cpukit/libcsupport/Makefile.am, cpukit/libcsupport/preinstall.am: Remove chain.h header references. * cpukit/sapi/include/rtems/chain.h, cpukit/sapi/inline/rtems/chain.inl: New. A supported chains interface. * cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to include the new chains interface. * cpukit/libfs/src/imfs/imfs.h, cpukit/libfs/src/imfs/imfs_creat.c, cpukit/libfs/src/imfs/imfs_debug.c, cpukit/libfs/src/imfs/imfs_directory.c, cpukit/libfs/src/imfs/imfs_fsunmount.c, cpukit/libfs/src/imfs/imfs_getchild.c, cpukit/libfs/src/imfs/imfs_load_tar.c, cpukit/libfs/src/imfs/imfs_rmnod.c, cpukit/libfs/src/imfs/memfile.c, cpukit/libfs/src/nfsclient/src/nfs.c, cpukit/libcsupport/include/rtems/libio.h, cpukit/libcsupport/src/malloc_deferred.c, cpukit/libcsupport/src/mount.c, cpukit/libcsupport/src/privateenv.c, cpukit/libcsupport/src/unmount.c: Change to the new chains interface. * cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
* Added const qualifier to various pointers and data tables toThomas Doerfler2008-05-272-3/+3
| | | | | | reduce size of data area. IMFS: Fixed creation of symbolic links to avoid a compiler warning. DOSFS: Use LibBlock instead of read() to read the boot record.
* 2008-05-01 Chris Johns <chrisj@rtems.org>Chris Johns2008-05-015-2/+1186
| | | | | | | | | * libblock/include/rtems/nvdisk-sram.h, libblock/include/rtems/nvdisk.h, libblock/src/nvdisk-sram.c, libblock/src/nvdisk.c: New. A Non-volatile memory disk drive. * Makefile.am, preinstall.am, libblock/Makefile.am: Updated for the NV disk driver.
* 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c, libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c, libmisc/capture/capture.c, libmisc/monitor/mon-manager.c, libmisc/stackchk/check.c, posix/src/condinit.c, posix/src/keycreate.c, posix/src/mqueuecreatesupp.c, posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c, posix/src/mqueueopen.c, posix/src/mqueueunlink.c, posix/src/mutexinit.c, posix/src/pbarrierinit.c, posix/src/prwlockinit.c, posix/src/pspininit.c, posix/src/pthreadcreate.c, posix/src/pthreadexit.c, posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c, posix/src/timercreate.c, rtems/src/barrierident.c, rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c, rtems/src/ratemonident.c, rtems/src/regionident.c, rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c, sapi/src/extensionident.c, score/Makefile.am, score/include/rtems/score/object.h, score/inline/rtems/score/object.inl, score/src/apimutexallocate.c, score/src/objectextendinformation.c, score/src/objectgetnameasstring.c, score/src/objectmp.c, score/src/objectnametoid.c: Convert the Objects_Name type from a simple type to a union of an unsigned 32 bit integer and a pointer. This should help eliminate weird casts between u32 and pointers in various places. The APIs now have to explicitly call _u32 or _string versions of helper routines. This should also simplify things and eliminate the need for ugly casts in some cases. * score/src/objectclearname.c, score/src/objectcomparenameraw.c, score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c, score/src/objectcopynamestring.c: Removed.
* 2008-01-05 Chris Johns <chrisj@rtems.org>Chris Johns2008-01-052-251/+379
| | | | | | | | | | | | | | * configure.ac: Fix typo in the strict order mutex CPU OPTs test. * libmisc/shell/shell.c: Handle '#' comment characters correctly. * libblock/include/rtems/flashdisk.h: Add docmentation about the control fields. Add more control fields to handle the flash when full. * libblock/src/flashdisk.c: Fix the descriptor erase test so it detects a descriptor is erased. Add support for unavailable blocks the user can configure. Print the used list as a diag. Fix the bug when a page is detected as failed and present on more than one queue. Add a count to the queues so queue length can be used to manage compaction.
* 2007-12-22 Chris Johns <chrisj@rtems.org>Chris Johns2007-12-221-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: fixed bug that always enabled strict order mutexes. * score/inline/rtems/score/coremutex.inl: Fixed coding standard. * score/src/coremutex.c: Add the holder's thread to the lock_mutex list if the mutex is initialised locked. * libnetworking/rtems/rtems_glue.c: Changed semaphore error message to show the error is an rtems-net error. * libmisc/monitor/mon-network.c: Removed warnings. * telnetd/icmds.c: Changed shell_* to rtems_shell_*. * score/Makefile.am: Fixed typo that stopped 'make tags' working. * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c, libmisc/shell/extern-cp.h, libmisc/shell/fts.c, libmisc/shell/fts.h, libmisc/shell/main_cp.c, libmisc/shell/utils-cp.c, libmisc/shell/verr.c, libmisc/shell/verrx.c, libmisc/shell/vwarn.c, libmisc/shell/vwarnx.c, libmisc/shell/warn.c, libmisc/shell/warnx.c: New. Ported from BSD. * libmisc/shell/shellconfig.h: Add the cp command. * libmisc/Makefile.am: Add the new files to the shell. * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting support. * libblock/src/flashdisk.c: Fixed disk drive count size setting bug.
* 2007-12-12 Chris Johns <chrisj@rtems.org>Chris Johns2007-12-142-0/+8
| | | | | * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c: Add RTEMS license details.
* 2007-12-12 Chris Johns <chrisj@rtems.org>Chris Johns2007-12-143-4/+2810
| | | | | | | | * Makefile.am, preinstall.am: Added libblock/include/rtems/flashdisk.h to the installed header list. * libblock/Makefile.am: Add flashdisk.c to the files to build. * libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c: New.
* 2007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-05-081-0/+5
| | | | * libblock/src/show_bdbuf.c: Add HAVE_CONFIG_H magic.
* 2007-01-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-01-301-11/+11
| | | | * libblock/src/show_bdbuf.c: Use inttypes.h macros.
* 2007-01-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-01-271-904/+904
| | | | * libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
* mproved gen5200 MSCAN driverThomas Doerfler2007-01-214-69/+982
| | | | fixed synchronization bug between ata.c and bdbuf.c
* 2006-11-21 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2006-11-211-1/+0
| | | | | * libblock/Makefile.am: Don't include preinstall.am. * libblock/preinstall.am: Remove.
* Remove (unused).Ralf Corsepius2006-11-211-7/+0
|
* applied patches for PR1117/1118/1119/1120Thomas Doerfler2006-07-092-5/+9
|
* 2006-03-07 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>Joel Sherrill2006-03-071-76/+342
| | | | | | | PR 852/filesystem * libblock/src/bdbuf.c: Increase performance of MSDOS file accesses by using a simple read-ahead and write-combining scheme. Improvement is dramatic.
* New.Ralf Corsepius2006-01-121-0/+7
|
* Remove all-local.Ralf Corsepius2006-01-121-2/+1
|
* 2005-07-05 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-07-051-1/+7
| | | | * libblock/include/rtems/ide_part_table.h: Add C++ guards.
* 2005-05-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-05-061-2/+2
| | | | | | | | * libblock/src/blkdev.c, libfs/src/dosfs/fat_file.c, libfs/src/dosfs/fat_file.h, libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_initsupp.c, libfs/src/dosfs/msdos_misc.c: Removed warnings.
* 2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-171-1/+1
| | | | | * libblock/include/rtems/diskdevs.h: Use uint32_t for ictrl req argument (16bit target compliance).
* 2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-172-3/+4
| | | | | | * libblock/include/rtems/ramdisk.h: size_t rtems_ramdisk_configuration_size. * libblock/src/ramdisk.c: Adaptations for 16bit target compliance.
* 2005-02-08 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-081-43/+2
| | | | | | | * configure.ac: Add new header guard to cpuopts.h. * Makefile.am: Add libfs, libblock, ftpd header install rules. * libfs/Makefile.am, libblock/Makefile.am, ftpd/Makefile.am: Remove header install rules.
* 2005-02-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-02-023-10/+11
| | | | | | | | * libblock/include/rtems/bdbuf.h, libblock/include/rtems/ide_part_table.h, libblock/src/blkdev.c, libcsupport/include/rtems/termiostypes.h, libcsupport/src/termios.c, posix/macros/rtems/posix/cond.inl, posix/macros/rtems/posix/mutex.inl : Remove warnings.
* New header guard.Ralf Corsepius2005-01-285-10/+10
|
* 2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-281-2/+0
| | | | | | | * itron/Makefile.am, libblock/Makefile.am, libcsupport/Makefile.am, libfs/Makefile.am, libmisc/Makefile.am, posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am: Remove AM_CPPFLAGS += -I$(top_builddir).
* 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-071-1/+1
| | | | | | | | * httpd/Makefile.am, itron/Makefile.am, libblock/Makefile.am, libcsupport/Makefile.am, libfs/Makefile.am, libmisc/Makefile.am, libnetworking/Makefile.am, librpc/Makefile.am, posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am, score/Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
* Fix typo.Ralf Corsepius2005-01-051-1/+1
|
* 2005-01-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-011-9/+2
| | | | | | | | | * automake/compile.am, httpd/Makefile.am, itron/Makefile.am, libblock/Makefile.am, libcsupport/Makefile.am, libfs/Makefile.am, libmisc/Makefile.am, libnetworking/Makefile.am, librpc/Makefile.am, posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am, score/Makefile.am, wrapup/Makefile.am: Remove build-variant support.
* 2004-11-22 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2004-11-225-13/+28
| | | | | | | | | * libblock/include/rtems/bdbuf.h, libblock/include/rtems/blkdev.h, libblock/include/rtems/diskdevs.h, libblock/include/rtems/ide_part_table.h, libblock/include/rtems/ramdisk.h: Add doxygen preamble.
* 2004-04-17 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-04-171-1/+1
| | | | | * libblock/src/ide_part_table.c: Use fprintf(stdout,...) instead of printf.
* Remove stray white spaces.Ralf Corsepius2004-04-179-103/+103
|