Commit Graph
5440 Commits
Author SHA1 Message Date
Joel Sherrill cd784cb75d 2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1326/cpukit
	* libi2c/libi2c.c: Use int for return value when negative values
	possible.
2008-09-24 14:31:26 +00:00
Ralf Corsepius 3469329c31 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/lib/ftpfs.c: Use ssize_t for read retval (Fix
	  comparision of unsigned < 0).
2008-09-24 08:51:54 +00:00
Joel Sherrill dba0264924 2008-09-23 Eric Norum <norume@aps.anl.gov>
* libnetworking/lib/rtems_bsdnet_ntp.c: Let TCP/IP stack pick port
	rather than hard coding selection.
2008-09-23 15:21:21 +00:00
Joel Sherrill 23c3f72e4d 2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/rtems/bspIo.h, libcsupport/Makefile.am: Add genchark() for
	polled debug input from the same device as printk().
	* libcsupport/src/getchark.c: New file.
2008-09-22 21:47:04 +00:00
Ralf Corsepius 64600d0173 2008-09-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/include/rtems/rtems/types.h: Do not define rtems_boolean,
	rtems_single, rtems_double unless RTEMS_DEPRECATED_TYPES is given.
2008-09-22 14:12:12 +00:00
Joel Sherrill af70ed5b19 2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/main_mallocinfo.c, libmisc/shell/main_wkspaceinfo.c:
	Include information on whether C Program Heap and RTEMS Workspace are
	separate.
2008-09-19 16:15:21 +00:00
Joel Sherrill 4bbf70bd98 2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/m68k.h: Move set cacr, acr0, acr1 routines here to get
	them out of a BSP.
2008-09-19 15:52:09 +00:00
Joel Sherrill 1d18c33202 2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/Makefile.am: Do not build nfsclient if no networking.
2008-09-18 20:44:47 +00:00
Joel Sherrill ec9e8a9bae 2008-09-18 Miao Yan <yanmiaobest@gmail.com>
* libfs/src/devfs/devclose.c, libfs/src/devfs/devfs_eval.c,
	libfs/src/devfs/devioctl.c, libfs/src/devfs/devopen.c,
	libfs/src/devfs/devread.c, libfs/src/devfs/devwrite.c: Fix warnings.
2008-09-18 13:21:49 +00:00
Joel Sherrill 61852aa0db 2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* Doxyfile.in, rtems/mainpage.h, score/include/rtems/system.h: Move to
	generating Doxygen for more of CPU Kit.
	* rtems/Doxyfile, score/Doxyfile, score/mainpage.h: Removed.
2008-09-17 21:40:48 +00:00
Joel Sherrill 5060d4f970 2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Add generated Doxyfile which can process entire set of
	preinstalled .h files.
	* Doxyfile.in: New file.
2008-09-17 20:25:14 +00:00
Joel Sherrill 4afd6f4078 2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Rename STACK_CHECKER_ON to more appropriate
	CONFIGURE_STACK_CHECKER_ENABLED.
2008-09-17 19:30:36 +00:00
Joel Sherrill 6a14d440bc 2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/devfs/devclose.c, libfs/src/devfs/devfs_init.c,
	libfs/src/devfs/devfs_show.c, libfs/src/devfs/devioctl.c,
	libfs/src/devfs/devopen.c, libfs/src/devfs/devread.c,
	libfs/src/devfs/devwrite.c: Fix warnings.
2008-09-17 19:14:20 +00:00
Joel Sherrill bd5984deb7 2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/free.c, libcsupport/src/malloc.c,
	libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
	libcsupport/src/malloc_sbrk_helpers.c,
	libcsupport/src/malloc_statistics_helpers.c,
	libcsupport/src/malloc_walk.c, libcsupport/src/mallocfreespace.c,
	libcsupport/src/mallocinfo.c, libcsupport/src/realloc.c,
	libcsupport/src/rtems_memalign.c, sapi/include/confdefs.h,
	score/inline/rtems/score/thread.inl: Add support for optionally
	having a unified work area. In other words, the RTEMS Workspace and C
	Program Heap are the same pool of memory.
2008-09-17 18:37:55 +00:00
Joel Sherrill d40da79b04 2008-09-17 Miao Yan <yanmiaobest@gmail.com>
* Makefile.am, preinstall.am, libcsupport/Makefile.am,
	libcsupport/include/rtems/libcsupport.h,
	libcsupport/include/rtems/libio.h, libcsupport/src/base_fs.c,
	libcsupport/src/libio_init.c, libcsupport/src/newlibc_exit.c,
	libcsupport/src/newlibc_init.c, libcsupport/src/sync.c,
	libfs/Makefile.am, libfs/src/imfs/deviceio.c,
	sapi/include/confdefs.h: Merge GSOC project code to add simple device
	only filesystem (devfs), optionally completely drop out filesystem,
	and to clean up disabling newlib reentrancy support. This dropped 17K
	from the minimum.exe for sparc/sis and arm/rtl22xx_t now has a 15K
	code space.
	* libcsupport/src/__usrenv.c, libcsupport/src/newlibc_reent.c,
	libfs/src/devfs/devclose.c, libfs/src/devfs/devfs.h,
	libfs/src/devfs/devfs_eval.c, libfs/src/devfs/devfs_init.c,
	libfs/src/devfs/devfs_mknod.c, libfs/src/devfs/devfs_node_type.c,
	libfs/src/devfs/devfs_show.c, libfs/src/devfs/devioctl.c,
	libfs/src/devfs/devopen.c, libfs/src/devfs/devread.c,
	libfs/src/devfs/devstat.c, libfs/src/devfs/devwrite.c,
	libfs/src/imfs/deviceerrno.c: New files.
	* libcsupport/src/newlibc.c: Removed.
2008-09-17 16:12:04 +00:00
Joel Sherrill 396e32588a 2008-09-16 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Revert previous patch. Does not apply to
	head.
2008-09-16 22:42:45 +00:00
Joel Sherrill c0e00eb722 2008-09-16 Gene Smith <gene.smith@siemens.com>
PR 564/cpukit
	* sapi/include/confdefs.h: Fix incorrect name. Was missed in an earlier
	renaming sweep.
2008-09-16 17:12:07 +00:00
Joel Sherrill 5c8d42b7b2 2008-09-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Move extern of bsp_clicks_per_usec so it is not
	nested inside braces.
2008-09-14 23:17:13 +00:00
Ralf Corsepius a9cb0b0905 2008-09-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/include/rtems/rtems/types.h: Do not define rtems_boolean,
	rtems_single, rtems_double unless RTEMS_DEPRECATED_TYPES is given.
2008-09-11 14:12:52 +00:00
Ralf Corsepius 6162bc2a1d 2008-09-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/types.h: Do not define boolean, single_precision,
	double_precision unless RTEMS_DEPRECATED_TYPES is given.
2008-09-11 14:10:16 +00:00
Joel Sherrill 7a28ac8880 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, aclocal/canonical-target-name.m4: Readd NIOS2 and TI
	C4x. Accidentally not done on 4.9 branch. :(
	* score/cpu/c4x/.cvsignore, score/cpu/c4x/ChangeLog,
	score/cpu/c4x/Makefile.am, score/cpu/c4x/cpu.c,
	score/cpu/c4x/cpu_asm.S, score/cpu/c4x/irq.c,
	score/cpu/c4x/preinstall.am, score/cpu/c4x/rtems/asm.h,
	score/cpu/c4x/rtems/score/c4x.h, score/cpu/c4x/rtems/score/cpu.h,
	score/cpu/c4x/rtems/score/cpu_asm.h,
	score/cpu/c4x/rtems/score/types.h, score/cpu/c4x/rtems/tic4x/c4xio.h,
	score/cpu/nios2/.cvsignore, score/cpu/nios2/ChangeLog,
	score/cpu/nios2/Makefile.am, score/cpu/nios2/cpu.c,
	score/cpu/nios2/cpu_asm.S, score/cpu/nios2/irq.c,
	score/cpu/nios2/preinstall.am, score/cpu/nios2/rtems/asm.h,
	score/cpu/nios2/rtems/score/cpu.h,
	score/cpu/nios2/rtems/score/cpu_asm.h,
	score/cpu/nios2/rtems/score/nios2.h,
	score/cpu/nios2/rtems/score/types.h: New files.
2008-09-10 15:41:37 +00:00
Joel Sherrill 4ff2c04c1d 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, aclocal/canonical-target-name.m4,
	score/cpu/Makefile.am: Remove TI C4x and NIOS2 ports from 4.9 branch.
	* score/cpu/c4x/.cvsignore, score/cpu/c4x/ChangeLog,
	score/cpu/c4x/Makefile.am, score/cpu/c4x/cpu.c,
	score/cpu/c4x/cpu_asm.S, score/cpu/c4x/irq.c,
	score/cpu/c4x/preinstall.am, score/cpu/c4x/rtems/asm.h,
	score/cpu/c4x/rtems/score/c4x.h, score/cpu/c4x/rtems/score/cpu.h,
	score/cpu/c4x/rtems/score/cpu_asm.h,
	score/cpu/c4x/rtems/score/types.h, score/cpu/c4x/rtems/tic4x/c4xio.h,
	score/cpu/nios2/.cvsignore, score/cpu/nios2/ChangeLog,
	score/cpu/nios2/Makefile.am, score/cpu/nios2/cpu.c,
	score/cpu/nios2/cpu_asm.S, score/cpu/nios2/irq.c,
	score/cpu/nios2/preinstall.am, score/cpu/nios2/rtems/asm.h,
	score/cpu/nios2/rtems/score/cpu.h,
	score/cpu/nios2/rtems/score/cpu_asm.h,
	score/cpu/nios2/rtems/score/nios2.h,
	score/cpu/nios2/rtems/score/types.h: Removed.
2008-09-10 15:35:28 +00:00
Joel Sherrill dad723f431 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Add debug information for
	per task allocations.
	* score/src/objectextendinformation.c: Do not allocate memory for name
	tables because we do not use name tables any longer.
2008-09-08 23:14:23 +00:00
Joel Sherrill 464ec0db13 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/threadinitialize.c: _Stack_Ensure_minimum was being called
	here and in _Thread_Stack_Allocate.
2008-09-08 21:45:29 +00:00
Joel Sherrill a5b6cdda58 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/rtems/libio_.h, libcsupport/src/libio_sockets.c,
	libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h,
	libfs/src/imfs/deviceio.c, libmisc/monitor/mon-monitor.c,
	libmisc/monitor/mon-object.c, libmisc/monitor/mon-symbols.c,
	libmisc/monitor/monitor.h, libmisc/stackchk/internal.h,
	rtems/inline/rtems/rtems/part.inl, score/include/rtems/system.h,
	score/include/rtems/score/bitfield.h, score/src/mpci.c,
	score/src/objectextendinformation.c, score/src/threadmp.c: Remove
	extraneous spaces.
2008-09-08 15:19:34 +00:00
Joel Sherrill df4fcaa0af 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c: Remove extraneous spaces.
2008-09-08 15:19:23 +00:00
Joel Sherrill 7fa919fc75 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Remove extraneous spaces.
2008-09-08 15:19:16 +00:00
Joel Sherrill edb1810e66 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, rtems/score/cpu.h: Remove extraneous spaces.
2008-09-08 15:19:14 +00:00
Ralf Corsepius e985827531 2008-09-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* pppd/auth.c, pppd/ccp.c, pppd/chap.c, pppd/ipcp.c, pppd/lcp.c,
	pppd/options.c, pppd/upap.c: Add missing initializers.
2008-09-08 06:45:53 +00:00
Ralf Corsepius db09424d43 Add missing initializers. 2008-09-08 06:45:43 +00:00
Ralf Corsepius b4dad2815c 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* httpd/webrom.c: Add missing initializers.
2008-09-07 18:07:39 +00:00
Ralf Corsepius 3eb3235171 Add missing initializers. 2008-09-07 18:07:30 +00:00
Ralf Corsepius 37181014d0 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/include/rtems/bdbuf.h, libblock/include/rtems/diskdevs.h,
	libblock/include/rtems/ramdisk.h: Use "#include <..>" to include
	public headers.
2008-09-07 18:06:37 +00:00
Ralf Corsepius 90b2c07205 Use "#include <..>" to include public headers. 2008-09-07 18:06:27 +00:00
Ralf Corsepius 5d3211a7af 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/in_cksum_arm.h:
	Stop using old-style function definitions.
2008-09-07 15:34:38 +00:00
Ralf Corsepius e4c4c42fc8 Stop using old-style function definitions. 2008-09-07 15:34:30 +00:00
Ralf Corsepius 6c283cbfb9 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Merge thumb/Makefile.am.
	* thumb/Makefile.am: Remove (superfluous).
2008-09-07 15:26:01 +00:00
Ralf Corsepius 77ceee29af 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove score/cpu/arm/thumb/Makefile.
2008-09-07 15:25:41 +00:00
Ralf Corsepius f6876442e2 Remove score/cpu/arm/thumb/Makefile. 2008-09-07 15:25:35 +00:00
Ralf Corsepius db507c1665 Merge thumb/Makefile.am. 2008-09-07 15:24:36 +00:00
Ralf Corsepius 03a699d2af Remove (superfluous). 2008-09-07 15:24:24 +00:00
Ralf Corsepius 38eb627b0d 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* itron/include/itronsys/types.h: Eliminate "boolean".
2008-09-07 07:04:47 +00:00
Ralf Corsepius 5b2be34998 Eliminate "boolean". 2008-09-07 07:04:38 +00:00
Ralf Corsepius a268a9c268 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/monitor/mon-prmisc.c: Add missing initializers.
2008-09-07 07:03:01 +00:00
Ralf Corsepius bd5b34e564 Add missing initializers. 2008-09-07 07:02:47 +00:00
Ralf Corsepius b3138479a2 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/include/rtems/ramdisk.h,
	libfs/src/nfsclient/proto/mount_prot.x: Convert to Unix file format.
2008-09-06 04:26:47 +00:00
Ralf Corsepius d7001e476b Convert to Unix file format. 2008-09-06 04:25:51 +00:00
Joel Sherrill 16bd644c3d 2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/include/clockdrv.h: The Shared Memory Driver no longer
	requires the special IOCTL in Clock_control. This was a hack which
	has existed since before the Classic API Timer Manager was
	implemented. All implementations of and references to Clock_control
	were removed.
2008-09-05 22:06:31 +00:00
Joel Sherrill b3836ce3ec 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/corebarrier.c, score/src/corebarrierrelease.c,
	score/src/corebarrierwait.c, score/src/coremsg.c,
	score/src/coremsgbroadcast.c, score/src/coremsgclose.c,
	score/src/coremsgflush.c, score/src/coremsgflushsupp.c,
	score/src/coremsgflushwait.c, score/src/coremsginsert.c,
	score/src/coremsgseize.c, score/src/coremsgsubmit.c,
	score/src/corerwlock.c, score/src/coresem.c,
	score/src/coresemflush.c, score/src/coresemseize.c,
	score/src/coresemsurrender.c, score/src/corespinlock.c,
	score/src/threadblockingoperationcancel.c,
	score/src/threadqenqueue.c: Remove unnecessary include of mpci.h.
2008-09-05 21:54:20 +00:00
Joel Sherrill dd1a460ef8 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/msgmp.c, rtems/src/msgqtranslatereturncode.c,
	rtems/src/semmp.c, rtems/src/semtranslatereturncode.c: Correct
	confusion over SuperCore proxy blocking status and Classic API proxy
	blocking status constants.
2008-09-05 21:39:16 +00:00