Commit Graph

21008 Commits

Author SHA1 Message Date
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
Ralf Corsepius
700b9116a8 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add AC_CHECK_SIZEOF(off_t).
	* include/pmacros.h: Add PRIdoff_t.
2010-05-29 05:31:46 +00:00
Ralf Corsepius
668bcccde6 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add AC_CHECK_SIZEOF(off_t).
	* include/pmacros.h: Add PRIdoff_t.
2010-05-29 05:31:45 +00:00
Ralf Corsepius
45215d2075 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Remove PRIdoff_t.
2010-05-29 05:29:33 +00:00
Ralf Corsepius
f88a1a014b 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* irq.c: Change _exception_stack_frame into void*.
2010-05-29 05:19:13 +00:00
Ralf Corsepius
1f868bd64e 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1531/newlib:
	* libmisc/shell/fts.c:
	Add local copy of ALIGN().
2010-05-29 05:17:11 +00:00
Ralf Corsepius
f313543ece 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/if.c:
	Use uintptr_t and void* in _offsetof().
2010-05-29 04:35:29 +00:00
Ralf Corsepius
e04cfeb92a 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/raw_ip.c:
	Cast nam to uintptr_t instead of int.
2010-05-29 04:33:42 +00:00
Ralf Corsepius
7cf4893bca 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/gethostnamadr.c:
	Cast addr to uintptr_t instead of size_t.
2010-05-29 04:32:39 +00:00
Ralf Corsepius
6b2c3f1158 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/xdr_mbuf.c (xdrmbuf_setup):
	Cast addr to uintptr_t instead of size_t.
2010-05-29 04:30:47 +00:00
Ralf Corsepius
ce3386cd78 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/xdr/xdr_mem.c (xdr_memcreate):
	Cast addr to uintptr_t instead of size_t.
2010-05-29 04:27:20 +00:00
Ralf Corsepius
21d9736a2f 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/dirutils.c: Add PRIomode_t, PRIdoff_t.
	* configure.ac: Add AC_CHECK_SIZEOF(mode_t), AC_CHECK_SIZEOF(off_t).
2010-05-29 02:31:09 +00:00
Ralf Corsepius
8f4ceebd82 2010-05-28 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-rtems.c: Use size_t for node_len.
2010-05-28 15:16:39 +00:00
Ralf Corsepius
bd6515bea4 2010-05-28 Ralf Corsépius <ralf.corsepius@rtems.org>
* umon/tfsDriver.c:
	Use size_t instead of int for pathnamelen.
2010-05-28 06:18:27 +00:00
Ralf Corsepius
3b8ab75717 2010-05-28 Ralf Corsépius <ralf.corsepius@rtems.org>
* au1x00/include/au1x00.h: Add prototypes for
	mips_default_isr, assert_sw_irq, negate_sw_irq.
	* au1x00/vectorisrs/vectorisrs.c: Remove prototype of
	mips_default_isr.
2010-05-28 06:09:35 +00:00
Ralf Corsepius
ba344291ad 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/gethostnamadr.c:
	Try to make crazy address arithmetic more portable.
2010-05-27 16:50:01 +00:00
Ralf Corsepius
d5143bacd0 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/xdr_mbuf.c:
	Use void* arithmetic instead of u_long arithmetic.
2010-05-27 16:47:06 +00:00
Ralf Corsepius
f091ce8613 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/raw_ip.c,
	libnetworking/netinet/udp_usrreq.c:
	Cast mbufs to uintptr_t instead of u_long.
2010-05-27 16:45:15 +00:00
Ralf Corsepius
d8b75db608 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/rtems_mii_ioctl.h,
	libnetworking/rtems/rtems_mii_ioctl_kern.c:
	Use uint32_t instead of int as ioctl cmd arg.
2010-05-27 16:38:51 +00:00
Ralf Corsepius
4665f32fc5 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
*  libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c:
	Use size_t instead of int for pathnamelen.
2010-05-27 16:36:02 +00:00
Ralf Corsepius
ef5da325ad 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-rtems.c:
	Use size_t instead of int for pathlen.
	Use %zi to print pathlen.
2010-05-27 16:32:46 +00:00
Ralf Corsepius
fb1b349f94 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio.h:
	Use size_t instead of int for pathnamelen.
2010-05-27 16:30:32 +00:00
Ralf Corsepius
a794000d0f 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio_.h, libcsupport/src/eval.c:
	Use size_t instead of int for pathnamelen.
2010-05-27 16:29:37 +00:00
Ralf Corsepius
cd469f2cc8 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c:
	Use size_t instead of int for pathnamelen.
2010-05-27 16:24:47 +00:00
Ralf Corsepius
9813fb6e1a 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_eval.c:
	Use size_t instead of int for pathnamelen.
2010-05-27 16:23:04 +00:00
Ralf Corsepius
596bead519 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_eval.c:
	Use size_t instead of int for pathlen.
2010-05-27 16:20:44 +00:00
Ralf Corsepius
f74499291b 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/nfs.c:
	Use uint32_t instead of u_int_t for readarg and writearg.
2010-05-27 16:17:44 +00:00
Ralf Corsepius
bf0b23a48e 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/nfs.c: Introduce union nfs_evalpath_arg.
2010-05-27 14:20:10 +00:00
Ralf Corsepius
d422a4d85a 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/clnt_tcp.c, librpc/src/rpc/clnt_udp.c:
	Revert to using u_long instead of rpcprog_t, rpcvers_t
	to stay bug-ward compatible to freebsd.
2010-05-27 12:39:33 +00:00
Ralf Corsepius
9cfe137c76 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/xdr/xdr_mem.c: Cosmetics from freebsd.
2010-05-27 12:37:41 +00:00
Ralf Corsepius
fac48e7d9f Regenerate. 2010-05-27 11:10:45 +00:00
Ralf Corsepius
de811043d4 gcc-core-4.5.0-rtems4.11-20100526.diff. 2010-05-27 11:10:23 +00:00