Commit Graph
24290 Commits
Author SHA1 Message Date
Sebastian Huber b81c8a697c 2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1524/filesystem
	* libcsupport/src/rtems_mkdir.c: New file.
	* libcsupport/src/Makefile.am: Reflect change above.
	* libcsupport/include/rtems/libio.h: Added rtems_mkdir().
	* libmisc/fsmount/fsmount.h, libmisc/fsmount/fsmount.c,
	libblock/src/bdpart-mount.c, libnetworking/rtems/mkrootfs.h,
	libnetworking/rtems/mkrootfs.c, libfs/src/pipe/pipe.c: Use
	rtems_mkdir().  Removed rtems_fsmount_create_mount_point() and
	rtems_rootfs_mkdir().
2010-06-08 13:05:11 +00:00
Sebastian Huber eaee27b0b9 2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1524/filesystem
	* libcsupport/src/rtems_mkdir.c: New file.
	* libcsupport/src/Makefile.am: Reflect change above.
	* libcsupport/include/rtems/libio.h: Added rtems_mkdir().
	* libmisc/fsmount/fsmount.h, libmisc/fsmount/fsmount.c,
	libblock/src/bdpart-mount.c, libnetworking/rtems/mkrootfs.h,
	libnetworking/rtems/mkrootfs.c, libfs/src/pipe/pipe.c: Use
	rtems_mkdir().  Removed rtems_fsmount_create_mount_point() and
	rtems_rootfs_mkdir().
2010-06-08 12:59:51 +00:00
Sebastian Huber 241f4c9637 2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libfs/src/imfs/fifoimfs_init.c: New file.
	* libfs/Makefile.am: Reflect change above.
	* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c,
	libfs/src/imfs/imfs_init.c, libfs/src/imfs/imfs_initsupp.c,
	libfs/src/imfs/miniimfs_init.c, libfs/src/pipe/fifo.c,
	libfs/src/pipe/pipe.c, libfs/src/pipe/pipe.h: Pipe support is now
	link-time optional.
	* sapi/include/confdefs.h: Reflect changes above.
2010-06-08 10:25:46 +00:00
Sebastian Huber 5b5772ae31 2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_rmnod.c: Added and use
	IMFS_create_orphan() and IMFS_check_node_remove().
	* libfs/src/imfs/deviceio.c, libfs/src/imfs/imfs_directory.c,
	libfs/src/imfs/imfs_fifo.c: Use IMFS_create_orphan() and
	IMFS_check_node_remove().
	* libfs/src/imfs/imfs_handlers_memfile.c, libfs/src/imfs/memfile.c:
	Use IMFS_rmnod() and IMFS_check_node_remove() instead of
	memfile_rmnod() and memfile_check_rmnod().
2010-06-08 08:50:57 +00:00
Sebastian Huber 78f4d6d72e 2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libfs/src/devfs/devclose.c, libfs/src/devfs/devopen.c,
	libfs/src/imfs/deviceerrno.c, libfs/src/imfs/deviceio.c,
	libfs/src/rfs/rtems-rfs-rtems-dev.c: Changed rtems_deviceio_errno() to
	cope with a status code of RTEMS_SUCCESSFUL.  Removed dependency on
	association framework.
2010-06-08 08:30:04 +00:00
Joel Sherrill 4d39a9015e 2010-06-07 Bharath Suri <bharath.s.jois@gmail.com>
* spfifo01/main.c: New file.
2010-06-08 00:31:53 +00:00
Jennifer Averett 065d65a773 2010-06-07 Bharath Suri <bharath.s.jois@gmail.com>
PR PR1542
	* spfifo01/Makefile.am: New file.
2010-06-07 19:41:36 +00:00
Ralf Corsepius ba021d5c42 2010-06-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/version.m4: Bump RTEMS_API to 4.11.
	Bump _RTEMS_VERSION to 4.10.99.0.
2010-06-07 19:33:53 +00:00
Jennifer Averett cfde647908 2010-06-07 Bharath Suri <bharath.s.jois@gmail.com>
PR PR1542
	* Makefile.am, configure.ac: Coverage improvement: fifo_open.
	* spfifo01/spfifo01.doc, spfifo01/spfifo01.scn, spfifo01/test.c,
	spfifo02/Makefile.am, spfifo02/main.c, spfifo02/spfifo02.doc,
	spfifo02/spfifo02.scn, spfifo02/test.c, spfifo03/Makefile.am,
	spfifo03/main.c, spfifo03/spfifo03.doc, spfifo03/spfifo03.scn,
	spfifo03/test.c, spfifo04/Makefile.am, spfifo04/main.c,
	spfifo04/spfifo04.doc, spfifo04/spfifo04.scn, spfifo04/test.c: New
	files.
2010-06-07 19:09:28 +00:00
Joel Sherrill fab27e479a 2010-06-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/tcflow.c, libcsupport/src/tcflush.c: Add switches
	to detect bad input.
	* libcsupport/src/tcsetpgrp.c: Fix typo.
2010-06-07 18:37:16 +00:00
Joel Sherrill 9f5f6f533c 2010-06-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* termios01/init.c, termios01/termios01.scn, termios02/init.c,
	termios02/termios02.scn: Add tests for cfigetspeed(), cfogetspeed(),
	cfisetspeed(), cfosetspeed(), ctermid(), tcflow(), tcflush(),
	tcsendbreak(), tcsetpgrp(), and tcgetpgrp(). Some of these methods
	are minimal implementations so the tests will have to grow as the
	methods grow.
2010-06-07 18:33:09 +00:00
Sebastian Huber 7d01d244d7 2010-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/libio_.h: Declare
	rtems_filesystem_mount_table_control.
	* libcsupport/include/rtems/libio.h: Removed
	rtems_filesystem_table_first(), rtems_filesystem_table_next() and
	rtems_filesystem_table_node_t declarations.  Declare
	rtems_per_filesystem_routine, rtems_filesystem_iterate() and
	rtems_filesystem_get_mount_handler().
	* libcsupport/src/mount.c: Added rtems_filesystem_mounts_first() and
	rtems_filesystem_mounts_next().  Simplify mount().  Removed
	rtems_filesystem_mount_table_control_init.  Use
	rtems_filesystem_get_mount_handler().
	* libcsupport/src/mount-mgr.c: Removed rtems_filesystem_mounts_first() and
	rtems_filesystem_mounts_next().  Added rtems_filesystem_iterate() and
	rtems_filesystem_get_mount_handler().  Use rtems_libio_lock() and
	rtems_libio_unlock();
	* sapi/include/confdefs.h, libmisc/shell/main_mount.c: Update for
	mount API changes.
2010-06-07 15:35:24 +00:00
Jennifer Averett 452fdc106b 2010-06-07 Bharath Suri <bharath.s.jois@gmail.com>
* libcsupport/include/rtems/libio_.h: Removed macros
	rtems_filesystem_is_separator
	rtems_filesystem_get_start_loc
	rtems_filesystem_get_sym_start_loc
	and added them as files under libcsupport/src/

	* libcsupport/src/: Added new files
	libcsupport/src/sup_fs_get_start_loc.c
	libcsupport/src/sup_fs_get_sym_start_loc.c
	libcsupport/src/sup_fs_is_separator.c

	* libcsupport/Makefile.am: Changes to accommodate new
	files under libcsupport/src/
2010-06-07 15:07:39 +00:00
Jennifer Averett b79a45e9c0 2010-06-05 Bharath Suri <bharath.s.jois@gmail.com>
* libcsupport/include/rtems/libio_.h: Removed macros
	rtems_filesystem_is_separator
	rtems_filesystem_get_start_loc
	rtems_filesystem_get_sym_start_loc
	and added them as files under libcsupport/src/

	* libcsupport/src/: Added new files
	libcsupport/src/sup_fs_get_start_loc.c
	libcsupport/src/sup_fs_get_sym_start_loc.c
	libcsupport/src/sup_fs_is_separator.c

	* libcsupport/Makefile.am: Changes to accommodate new
	files under libcsupport/src/
2010-06-07 14:57:31 +00:00
Ralf Corsepius b834bde0a2 Remove. 2010-06-07 12:10:37 +00:00
Ralf Corsepius 1f85410e45 Regenerate. 2010-06-07 09:43:31 +00:00
Ralf Corsepius b4256c8b3c post-branching cleanup. 2010-06-07 09:40:27 +00:00
Ralf Corsepius 77787df4ab Remove. 2010-06-07 09:40:03 +00:00
Sebastian Huber b2a0214d43 2010-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/include/rtems/score/heap.h: Declare
	_Heap_Get_first_and_last_block().  Removed Heap_Extend_status.
	Changed return type of _Heap_Extend() to bool.
	* score/inline/rtems/score/heap.inl: Define
	_Heap_Set_last_block_size().
	* score/src/heap.c: Define and use _Heap_Get_first_and_last_block().
	* score/src/heapgetinfo.c: Removed assert statements.  Do not count
	the last block.  This ensures that all size values are an integral
	multiple of the page size which is consistent with the other
	statistics.
	* score/src/heapextend.c: Implemented support for scattered heap
	areas.
	* score/src/heapwalk.c: Dump also last block.  Changes for new first
	and last block values.
	* ./score/src/pheapextend.c, rtems/src/regionextend.c: Update for
	_Heap_Extend() changes.
2010-06-07 09:35:01 +00:00
Sebastian Huber b0e81c9689 2010-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* heapwalk/init.c, malloctest/init.c: Update for heap extend changes.
2010-06-07 09:33:32 +00:00
Sebastian Huber e66b4e9694 2010-06-07 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* sp09/screen12.c: Update for heap extend changes.
2010-06-07 09:33:16 +00:00
Joel Sherrill 3d2e856292 2010-06-03 Joel Sherrill <joel.sherrilL@OARcorp.com>
* libchip/network/if_dc.c: Fix warning.
2010-06-03 21:00:23 +00:00
Thomas Doerfler ac1f8fa4c8 fix bug in mount table 2010-06-03 20:17:43 +00:00
Chris Johns 46969dfbb3 2010-06-03 Chris Johns <chrisj@rtems.org>
* sapi/include/confdefs.h: PR 1543. Make default file system when
        nothing is defined IMFS not miniIMFS.
2010-06-03 06:46:51 +00:00
Joel Sherrill d7efb8209d 2010-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/.cvsignore: Add semaphore_attributes.pdf.
2010-06-02 12:22:20 +00:00
Chris Johns 4067f7f5e8 2010-06-02 Chris Johns <chrisj@rtems.org>
* iostream/init.cc: Remove the hack.
2010-06-02 04:38:49 +00:00
Ralf Corsepius 8502b165b8 2010-06-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bsp.h: Add prototypes for BSP_disconnect_clock_handler,
	BSP_connect_clock_handler.
2010-06-02 03:34:37 +00:00
Chris Johns 042a44210a 2010-06-02 Chris Johns <chrisj@rtems.org>
* psxfile01/test.c, psxmount/test.c, psxreaddir/test.c,
        psxstat/test.c: Update to the new mount API.
2010-06-02 00:50:37 +00:00
Chris Johns 558a5f48fc 2010-06-02 Chris Johns <chrisj@rtems.org>
* fileio/init.c: Update to new mount API.
        * iostream/init.cc: Hack to work around confdefs.h in C++.
        * iostream/system.h: Add comment about base miniIMFS.
2010-06-02 00:47:15 +00:00
Chris Johns dfce6724fe 2010-06-01 Chris Johns <chrisj@rtems.org>
* libcsupport/include/rtems/libio.h: Make the struct name the same
        as the typedef.
        * sapi/include/confdefs.h: Fixes for use in C++.
2010-06-02 00:43:13 +00:00
Ralf Corsepius d9120e5665 2010-06-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/print-ls.c: Remove (long) cast of st_ino.
2010-06-01 10:46:16 +00:00
Ralf Corsepius 8f67ada48a 2010-06-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio.h, libcsupport/src/mount-mgr.c:
	Add missing 'const'.
2010-06-01 10:42:52 +00:00
Ralf Corsepius 0b701e6341 2010-06-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/xdr_mbuf.c: Warning removal.
2010-06-01 10:41:40 +00:00
Ralf Corsepius 7a7da5a70f Fix ChangeLog. 2010-06-01 10:39:22 +00:00
Joel Sherrill aa61d53307 2010-05-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/rtems/libio.h: Remove if 0 section. Formatting.
2010-05-31 20:18:04 +00:00
Joel Sherrill 3923700ef4 2010-05-31 Joel Sherrill <joel.sherrilL@OARcorp.com>
* shared/start/start.S: Pass 0/NULL for argc/argv.
2010-05-31 14:21:34 +00:00
Chris Johns 14724574d9 2010-05-31 Chris Johns <chrisj@rtems.org>
* libcsupport/Makefile.am: Add mount-mgr.c.
        * libcsupport/src/mount-mgr.c: New.
        * include/rtems/fs.h: Added rtems_filesystem_location_mount.
        * libcsupport/include/rtems/libio.h, libcsupport/src/mount.c: New
        mount interface. It is similar to Linux.
        * libcsupport/include/rtems/libio_.h: Remove the
        init_fs_mount_table call.
        * libcsupport/src/base_fs.c: Remove init_fs_mount_table_call. Use
        the new mount call. Remove setting the root node in the global
        pathloc. Mount does this now.
        * libcsupport/src/privateenv.c: Remove the hack to set the root
        mount table entry in the environment.
        * libcsupport/src/unmount.cL Free the target string.
        * libblock/src/bdpart-mount.c: New mount API.

        * libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_init.c,
        libfs/src/dosfs/dosfs.h, libfs/src/dosfs/msdos.h,
        libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs.h,
        libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_init.c,
        libfs/src/imfs/miniimfs_init.c,
        libfs/src/nfsclient/src/librtemsNfs.h,
        libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs.h,
        libnetworking/lib/ftpfs.c, libnetworking/rtems/ftpfs.h,
        libnetworking/rtems/tftp.h: New mount_h API.

        * libfs/src/devfs/devfs_eval.c: Local include of extern ops.
        * libfs/src/nfsclient/src/nfs.c: New mount API. Removed the mount
        me call and fixed the initialisation to happen when mounting.

        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Remove mount
        filesystem files.

        * libmisc/fsmount/fsmount.c, libmisc/fsmount/fsmount.h: Updated to
        the new mount table values.

        * libmisc/shell/main_mount_ftp.c,
        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_rfs.c,
        libmisc/shell/main_mount_tftp.c: Removed.

        * libmisc/shell/main_mount.c: Use the new mount API. Also access
        the file system table for the file system types.

        * libnetworking/lib/tftpDriver.c: Updated to the new mount
        API. Fixed to allow mounting from any mount point. Also can now
        have more than file system mounted.

        * sapi/include/confdefs.h: Add file system configuration support.
2010-05-31 14:03:41 +00:00
Chris Johns 55d883dc2e 2010-05-31 Chris Johns <chrisj@rtems.org>
* shared/umon/tfsDriver.c: Updated to the new mount API.
2010-05-31 14:01:31 +00:00
Chris Johns 29e92b090c 2010-05-31 Chris Johns <chrisj@rtems.org>
* libcsupport/Makefile.am: Add mount-mgr.c.
        * libcsupport/src/mount-mgr.c: New.
        * include/rtems/fs.h: Added rtems_filesystem_location_mount.
        * libcsupport/include/rtems/libio.h, libcsupport/src/mount.c: New
        mount interface. It is similar to Linux.
        * libcsupport/include/rtems/libio_.h: Remove the
        init_fs_mount_table call.
        * libcsupport/src/base_fs.c: Remove init_fs_mount_table_call. Use
        the new mount call. Remove setting the root node in the global
        pathloc. Mount does this now.
        * libcsupport/src/privateenv.c: Remove the hack to set the root
        mount table entry in the environment.
        * libcsupport/src/unmount.cL Free the target string.
        * libblock/src/bdpart-mount.c: New mount API.

        * libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_init.c,
        libfs/src/dosfs/dosfs.h, libfs/src/dosfs/msdos.h,
        libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs.h,
        libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_init.c,
        libfs/src/imfs/miniimfs_init.c,
        libfs/src/nfsclient/src/librtemsNfs.h,
        libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs.h,
        libnetworking/lib/ftpfs.c, libnetworking/rtems/ftpfs.h,
        libnetworking/rtems/tftp.h: New mount_h API.

        * libfs/src/devfs/devfs_eval.c: Local include of extern ops.
        * libfs/src/nfsclient/src/nfs.c: New mount API. Removed the mount
        me call and fixed the initialisation to happen when mounting.

        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Remove mount
        filesystem files.

        * libmisc/fsmount/fsmount.c, libmisc/fsmount/fsmount.h: Updated to
        the new mount table values.

        * libmisc/shell/main_mount_ftp.c,
        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_rfs.c,
        libmisc/shell/main_mount_tftp.c: Removed.

        * libmisc/shell/main_mount.c: Use the new mount API. Also access
        the file system table for the file system types.

        * libnetworking/lib/tftpDriver.c: Updated to the new mount
        API. Fixed to allow mounting from any mount point. Also can now
        have more than file system mounted.

        * sapi/include/confdefs.h: Add file system configuration support.
2010-05-31 13:56:37 +00:00
Joel Sherrill eea48e2f82 2010-05-31 Joel Sherrill <joel.sherrilL@OARcorp.com>
* start/start.S: Pass 0/NULL for argc/argv.
2010-05-31 13:52:07 +00:00
Ralf Corsepius c48572d96b 2010-05-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/greth.c: Misc. hacks to allow compilation on
	16bit targets.
2010-05-31 13:27:07 +00:00
Ralf Corsepius 2d76aa85de 2010-05-31 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1531/newlib
	* libchip/network/i82586.c:
	Add local copy of ALIGN().
2010-05-31 12:22:38 +00:00
Ralf Corsepius 85936516ee 2010-05-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/cs8900.c:
	Misc. changes to make code 16bit-target compliant.
2010-05-31 12:21:43 +00:00
Ralf Corsepius bfa3a3e326 2010-05-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/i82586.c:
	Use int32_t instead of int for 16bit-target compliance.
2010-05-31 12:20:17 +00:00
Ralf Corsepius 87347dd1b5 2010-05-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/open_eth.c:
	Misc. changes to make code 16bit-target compliant.
2010-05-31 12:16:43 +00:00
Joel Sherrill 7905137ae8 2010-05-30 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am: Fix typo in path.
2010-05-30 18:02:21 +00:00
Joel Sherrill 42ce03520b 2010-05-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/src/no_cache.c: New file.
2010-05-30 15:46:17 +00:00
Ralf Corsepius 8b3894731b 2010-05-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/rpcio.c: Warning removal.
2010-05-30 10:18:41 +00:00
Joel Sherrill d53b814018 2010-05-29 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1537/libcpu
	* shared/cache/cache.c: Removed.
2010-05-29 23:28:46 +00:00
Joel Sherrill 3b19e814a9 2010-05-29 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1538/libcpu
	* Makefile.am: Use shared stub implementation of cache.c (no_cache.c).
	* shared/cache/cache.c: Removed.
2010-05-29 23:27:32 +00:00