Commit Graph

37 Commits

Author SHA1 Message Date
Joel Sherrill
0ebfac198c 2006-03-07 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
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.
2006-03-07 21:26:23 +00:00
Joel Sherrill
b17ff4913c 2005-05-06 Joel Sherrill <joel@OARcorp.com>
* 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-05-06 14:57:43 +00:00
Ralf Corsepius
f6a8433dc6 2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>
* libblock/include/rtems/ramdisk.h: size_t
	rtems_ramdisk_configuration_size.
	* libblock/src/ramdisk.c: Adaptations for 16bit target compliance.
2005-02-17 07:24:46 +00:00
Joel Sherrill
ce92867bea 2005-02-01 Joel Sherrill <joel@OARcorp.com>
* 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.
2005-02-02 00:06:18 +00:00
Ralf Corsepius
08885d631d Fix typo. 2005-01-05 18:17:01 +00:00
Ralf Corsepius
d63a2c27d9 2004-04-17 Ralf Corsepius <ralf_corsepius@rtems.org>
* libblock/src/ide_part_table.c: Use fprintf(stdout,...) instead of
	printf.
2004-04-17 08:19:11 +00:00
Ralf Corsepius
8b961495bb Remove stray white spaces. 2004-04-17 08:15:17 +00:00
Ralf Corsepius
048dcd2b3a Remove stray white spaces. 2004-04-15 14:50:20 +00:00
Ralf Corsepius
2609e83f77 Unused. 2004-03-08 16:26:41 +00:00
Joel Sherrill
120b59eab7 2004-03-05 Joel Sherrill <joel@OARcorp.com>
* libblock/src/bdbuf.c: Initialize pointer to avoid warning.
2004-03-05 18:22:08 +00:00
Joel Sherrill
cb2f32039d 2004-03-05 Joel Sherrill <joel@OARcorp.com>
* libblock/src/bdbuf.c, libblock/src/ramdisk.c,
	libcsupport/src/newlibc.c, libcsupport/src/sync.c,
	libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-symbols.c,
	libmisc/shell/cmds.c, libmisc/shell/shell.c,
	libnetworking/kern/kern_sysctl.c, libnetworking/lib/ftpfs.c,
	libnetworking/lib/tftpDriver.c, libnetworking/libc/gethostbydns.c,
	libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c,
	libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetnamadr.c,
	libnetworking/libc/inet_addr.c, libnetworking/libc/linkaddr.c,
	libnetworking/libc/map_v4v6.c, libnetworking/libc/ns_print.c,
	libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
	libnetworking/libc/rcmd.c, libnetworking/libc/res_debug.c,
	libnetworking/libc/res_mkupdate.c, libnetworking/libc/res_query.c,
	libnetworking/libc/res_send.c, libnetworking/libc/res_update.c,
	libnetworking/net/radix.c, libnetworking/rtems/mkrootfs.c,
	librpc/src/rpc/clnt_perror.c, librpc/src/rpc/svc.c,
	score/macros/rtems/score/chain.inl, score/src/objectidtoname.c: Too
	much was accidentally committed -- revert.
2004-03-05 18:02:41 +00:00
Joel Sherrill
b2b143f402 2004-03-05 Joel Sherrill <joel@OARcorp.com>
* libblock/src/bdbuf.c, libblock/src/ramdisk.c,
	libcsupport/src/newlibc.c, libcsupport/src/sync.c,
	libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-symbols.c,
	libmisc/shell/cmds.c, libmisc/shell/shell.c,
	libnetworking/kern/kern_sysctl.c, libnetworking/lib/ftpfs.c,
	libnetworking/lib/tftpDriver.c, libnetworking/libc/gethostbydns.c,
	libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c,
	libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetnamadr.c,
	libnetworking/libc/inet_addr.c, libnetworking/libc/linkaddr.c,
	libnetworking/libc/map_v4v6.c, libnetworking/libc/ns_print.c,
	libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
	libnetworking/libc/rcmd.c, libnetworking/libc/res_debug.c,
	libnetworking/libc/res_mkupdate.c, libnetworking/libc/res_query.c,
	libnetworking/libc/res_send.c, libnetworking/libc/res_update.c,
	libnetworking/net/radix.c, libnetworking/rtems/mkrootfs.c,
	librpc/src/rpc/clnt_perror.c, librpc/src/rpc/rtems_rpc.c,
	librpc/src/rpc/svc.c, sapi/include/confdefs.h,
	score/macros/rtems/score/chain.inl, score/src/objectidtoname.c:
2004-03-05 17:58:51 +00:00
Ralf Corsepius
c01d95b775 2004-01-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/blkdev.h, include/rtems/ide_part_table.h,
	src/bdbuf.c, src/ide_part_table.c, src/ramdisk.c:
	Switch to using c99 fixed size types instead of RTEMS-types.
2004-01-09 15:40:54 +00:00
Ralf Corsepius
c58791932f 2003-12-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/ata.c: Remove.
2003-12-04 14:19:05 +00:00
Ralf Corsepius
006fa1ef77 2003-11-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: AM_CPPFLAGS += -I$(top_builddir).
	Use AM_CPPFLAGS instead of AM_CFLAGS.
	* src/ata.c: Include config.h.
	* src/bdbuf.c: Ditto.
	* src/blkdev.c: Ditto.
	* src/diskdevs.c: Ditto.
	* src/ide_part_table.c: Ditto.
	* src/ramdisk.c: Ditto.
2003-11-20 12:14:50 +00:00
Joel Sherrill
5b38506c0a 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* include/rtems/ide_part_table.h, src/ata.c, src/ide_part_table.c: URL
	for license changed.
2003-09-04 18:54:04 +00:00
Joel Sherrill
97a95490c8 2003-06-04 Joel Sherrill <joel@OARcorp.com>
* src/ide_part_table.c: Removed warnings.
2003-06-04 20:29:11 +00:00
Joel Sherrill
25d4218362 2002-04-10 Victor V. Vengerov <vvv@oktet.ru>
PR 385/filesystem
	* src/ramdisk.c: The "from" and "to" locations are calculated as
	the start of the block within the ram that data is to be transferred
	from/to for reads and writes respectively.  However, within
	the loops, the "from" and "to" locations are never updated.  The loop
	should have been updated as:
	    from += rd->block_size;
	and
	    to += rd->block_size;
	within the for loops in the ramdisk_read and ramdisk_write routines,
	respectively.
2003-04-16 19:35:02 +00:00
Joel Sherrill
dbe06865bf 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 367/filesystem
	* Makefile.am, include/rtems/ide_part_table.h, src/ata.c,
	src/ide_part_table.c: Some bugs were still present in the DOSFS
	implementation:
	    - FAT12 did not work properly on Big-Endian machines
	    - Some synchronization and error handling problems were present
	    - Some legal codings for EOC were not recognized
2003-03-25 17:01:52 +00:00
Joel Sherrill
635652ecf6 2003-01-27 Eugeny S. Mints <Eugeny.Mints@oktet.ru>
* src/blkdev.c: Per PR331 fix bug which is tripped by writing 512 byte
	blocks to 512 byte aligned positions.
2003-01-27 15:13:12 +00:00
Joel Sherrill
828be6d2f4 2003-01-03 Eugeny S. Mints <Eugeny.Mints@oktet.ru>
* src/ata.c, src/bdbuf.c: Correct invocation of rtems_task_mode()
	so the task's preemption mode setting is properly maintained.
2003-01-03 16:39:46 +00:00
Joel Sherrill
25f37e8618 2002-12-02 Joel Sherrill <joel@OARcorp.com>
* src/bdbuf.c: Added cast to remove warning.
2002-12-02 19:11:40 +00:00
Ralf Corsepius
f1c22e019f 2002-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/diskdevs.c: Include <unistd.h> to remove warning.
2002-11-15 14:18:28 +00:00
Joel Sherrill
ef142d71a5 2002-10-28 Eugeny S. Mints <Eugeny.Mints@oktet.ru>
* Added ATA  support.
	* include/rtems/blkdev.h: Added last IO status.
	* include/rtems/ata.h, include/rtems/ata_internal.h,
	include/rtems/ide_part_table.h, src/ata.c, src/ide_part_table.c: New
	files.
2002-10-28 14:00:43 +00:00
Joel Sherrill
87da638980 2002-09-07 Joel Sherrill <joel@OARcorp.com>
* src/bdbuf.c: Previous fix for PR282 regressed mutex changes.
2002-09-07 22:53:58 +00:00
Joel Sherrill
662814d232 2002-09-06 Alexander M. Kukuta <kam@oktet.ru>
* src/bdbuf.c: Per PR282, correct problem in function
	rtems_bdbuf_read() where device ioctl() is called with the
	logical device number used instead of corresponding physical
	device number.
2002-09-06 12:01:30 +00:00
Ralf Corsepius
c321496181 2002-07-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Merge src/Makefile.am.
	* src/Makefile.am: Remove.
	* configure.ac: Remove src/Makefile.am
2002-07-31 05:48:15 +00:00
Ralf Corsepius
4ca9353487 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-07-22 13:39:14 +00:00
Ralf Corsepius
ac7c680924 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/Makefile.am: Eliminate LIBNAME. Cosmetical cleanups.
2002-07-22 09:21:31 +00:00
Joel Sherrill
2e2bfa0c70 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* Mega patch merge to change the format of the object IDs to
	loosen the dependency between the SCORE and the various APIs.
	There was considerable work to simplify the object name management
        and it appears that the name_table field is no longer needed.
	This patch also includes the addition of the internal mutex
	which is currently only used to protect some types of allocation
	and deallocation.  This significantly can reduce context
	switch latency under certain circumstances.  In particular,
	some heap/region operations were O(n) and had dispatching
	disabled.  This should help enormously.  With this merge,
	the patch is not as clean as it should be.  In particular,
	the documentation has not been modified to reflect the new object
	ID layout, the IDs in the test screens are not updated, and
	_Objects_Get_information needs to be a real routine not inlined.
	As part of this patch a lot of MP code for thread/proxy blocking
	was made conditional and cleaned up.
	* src/bdbuf.c:  Modified as part of above.
2002-07-01 22:37:58 +00:00
Ralf Corsepius
996a0385ef 2002-06-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/Makefile.am: Don't preinstall libblock.a.
2002-06-26 15:24:02 +00:00
Ralf Corsepius
6e183f18cd 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* Makefile.am: Include $(top_srcdir)/../automake/*.am.
	Use ../aclocal.
	* src/Makefile.am: Include $(top_srcdir)/../automake/*.am.
2002-06-17 09:10:09 +00:00
Joel Sherrill
279ec4e8b5 2002-05-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Move from c/src/libblock to c/src/exec/libblock
	* configure.ac: Reflect move.
	* Makefile.am: Ditto.
	* include/Makefile.am: Ditto.
	* src/Makefile.am: Ditto.
2002-05-28 17:21:09 +00:00
Joel Sherrill
228587bbf4 2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/ramdisk.c: include <string.h>.
	* src/blkdev.c: include <string.h>.
2002-04-08 18:29:02 +00:00
Joel Sherrill
ae5a0ce158 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:49:53 +00:00
Joel Sherrill
df6348bb27 2002-03-21 Alexander Kukuta <kam@oktet.ru>
* src/bdbuf.c (avl_insert, avl_remove): Reimplemented from scratch
          to avoid using GPLed sources in RTEMS core.
        * src/bdbuf.c, include/rtems/bdbuf.h: Remove "binary tree"
          implementation which was used for debugging only.
2002-03-21 14:05:57 +00:00
Joel Sherrill
e51bd967cd 2002-02-28 Joel Sherrill <joel@OARcorp.com>
* Submitted by Victor V. Vengerov <vvv@oktet.ru> and merged
	into the RTEMS source.
	* ChangeLog, Makefile.am, README, configure.ac, include/Makefile.am,
	include/rtems/bdbuf.h, include/rtems/blkdev.h, include/rtems/diskdevs.h,
	include/rtems/ramdisk.h, include/rtems/.cvsignore, include/.cvsignore,
	src/Makefile.am, src/bdbuf.c, src/blkdev.c, src/diskdevs.c,
	src/ramdisk.c, src/.cvsignore, .cvsignore: New files.
2002-02-28 20:39:54 +00:00