Commit Graph

21021 Commits

Author SHA1 Message Date
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
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