Commit Graph
1936 Commits
Author SHA1 Message Date
Joel Sherrill f06e5a86b1 2008-11-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am: Add getrusage().
	* libcsupport/src/getrusage.c: New file.
2008-11-12 15:36:49 +00:00
Joel Sherrill f10fe61bf0 2008-11-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/timespecaddto.c: Fix typo.
2008-11-12 15:11:51 +00:00
Joel Sherrill 2e500def76 2008-11-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/ttyname.c: Change third parameter of ttyname to be
	size_t instead of int.
2008-11-07 16:56:40 +00:00
Joel Sherrill a2ddf1ca8b 2008-11-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* librpc/src/xdr/xdr_float.c: Add M32C, M32R, and Blackfin.
2008-11-05 21:51:45 +00:00
Joel Sherrill d10477877d 2008-11-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/threadhandler.c: M32R uses different name for init.
2008-11-05 21:50:11 +00:00
Joel Sherrill c41f9d6f23 2008-11-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/Makefile.am: Add _execve() so we can use newlib posix support
	directory and eliminate code in RTEMS.
	* posix/src/_execve.c: New file.
2008-11-05 21:48:48 +00:00
Joel Sherrill bc5d8704c9 2008-11-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1333/cpukit
	* libcsupport/include/rtems/termiostypes.h: Typo on type name -- should
	be rtems_device_minor_number.
2008-11-03 15:35:12 +00:00
Joel Sherrill 1fae7b43d7 2008-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1331/networking
	* libmisc/shell/shell.c, telnetd/check_passwd.c, telnetd/telnetd.c,
	telnetd/telnetd.h: Improve comments and explanation of options to
	rtems_telnetd_initialize. Add extra newline to login sequence from
	shell.
2008-10-15 17:37:16 +00:00
Joel Sherrill 05dbc0e0e3 Add PR. 2008-10-14 16:09:25 +00:00
Joel Sherrill 8e37731cd0 2008-10-14 Tim Cussins <timcussins@eml.cc>
* libcsupport/src/free.c: Should print begin field not start field.
2008-10-14 16:08:58 +00:00
Joel Sherrill e2324c081a 2008-10-14 Wei Shen <cquark@gmail.com>
* Makefile.am, preinstall.am, libcsupport/src/mknod.c,
	libcsupport/src/open.c, libcsupport/src/pipe.c, libfs/Makefile.am,
	libfs/preinstall.am, libfs/src/imfs/imfs.h,
	libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_debug.c,
	libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_initsupp.c,
	libfs/src/imfs/imfs_mknod.c, libfs/src/imfs/imfs_stat.c,
	libfs/src/imfs/memfile.c: Initial commit of POSIX pipe support.
	* libfs/src/imfs/imfs_fifo.c, libfs/src/pipe/fifo.c,
	libfs/src/pipe/pipe.c, libfs/src/pipe/pipe.h: New files.
2008-10-14 15:06:25 +00:00
Joel Sherrill c1fe2a115a Fix formatting. 2008-10-14 14:49:00 +00:00
Thomas Doerfler 06c3530efc libnetworking/rtems/rtems_glue.c: Copy nothing if rtems_bsdnet_parse_driver_name() if namep is NULL.
include/rtems/status-checks.h: Added prefix "RTEMS" for all macros. Doxygen style comments.  Cleanup.
2008-10-10 15:56:32 +00:00
Joel Sherrill db41bb6784 2008-10-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/printk.c: Addresses can be larger than integers
	so use long for %p formats.
	* score/inline/rtems/score/address.inl: Offsets can be positive or
	negative, so use int32_t.  Also do math with intptr_t since there
	are cases where the number of bits in an address do not equal the
	number of bits in an integer.
	* score/inline/rtems/score/heap.inl: Offsets can be positive or
	negative, so use int32_t.
2008-10-03 22:27:01 +00:00
Joel Sherrill 5365e6066f 2008-10-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Add m32r.
	* libcsupport/src/newlibc_exit.c: For some odd reason, the fini
	symbol for the m32r in C needs an extra leading _.
2008-10-03 19:42:30 +00:00
Joel Sherrill 7059d8fc62 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/cpu/Makefile.am: Add new M32R port. It is just a beginning but
	the BSP is functional enough to initialize and shutdown RTEMS.
2008-10-02 21:56:06 +00:00
Joel Sherrill 640e9128fa 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Revert trash committed. Shell builds with m32c now.
2008-10-02 21:47:29 +00:00
Joel Sherrill 0c34b17650 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, score/cpu/Makefile.am: Initial addition of M32C port.
	This is still a work in process but most tests do run on simulator.
2008-10-02 21:33:09 +00:00
Joel Sherrill 9a79f1b42c 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/utils-cp.c: Do not put a 64K buffer on the stack.
2008-10-02 21:31:54 +00:00
Joel Sherrill 12a0a52518 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/priority.inl: Use simple integer as loop
	counter.
2008-10-02 21:03:44 +00:00
Joel Sherrill 2cc1b43b57 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/monitor/mon-monitor.c, rtems/include/rtems/rtems/types.h: Do
	not have fp context type when no hardware or software floating point
	is available.
2008-10-02 21:00:37 +00:00
Joel Sherrill 4c09f4b3fe 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/malloc_statistics_helpers.c,
	libcsupport/src/realloc.c, rtems/include/rtems/rtems/region.h,
	rtems/include/rtems/rtems/support.h,
	rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
	rtems/src/workspace.c, sapi/include/confdefs.h,
	score/include/rtems/score/heap.h,
	score/include/rtems/score/protectedheap.h,
	score/include/rtems/score/wkspace.h, score/src/heap.c,
	score/src/heapallocate.c, score/src/heapallocatealigned.c,
	score/src/heapextend.c, score/src/heapresizeblock.c,
	score/src/heapsizeofuserarea.c, score/src/pheapgetblocksize.c,
	score/src/wkspace.c: Change size_t to ssize_t on all Heap, Workspace
	and Region calls. On 16-bit architectures, size_t can be 16-bits
	which would limit sizes to 64K.
2008-10-02 20:56:55 +00:00
Joel Sherrill b079fe33e4 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/main_cp.c, libmisc/shell/main_ls.c,
	libmisc/shell/main_mv.c, libmisc/shell/main_netstats.c,
	libmisc/shell/main_rm.c, libmisc/shell/shell_script.c: Newlib >
	1.16.0 requires __need_getopt_newlib to be defined to get visibility
	on the reentrancy extensions.
2008-10-02 20:16:16 +00:00
Joel Sherrill caf0e53e8f 2008-10-01 Gene Smith <gene.smith@siemens.com>
PR 1328/cpukit
	* libmisc/shell/main_mdump.c, libmisc/shell/main_mwdump.c: Fix printing
	of more than 256 bytes.
2008-10-01 20:02:34 +00:00
Thomas Doerfler 1196226358 Added definitions for asynchronous read and write IO commands. 2008-09-30 10:00:50 +00:00
Joel Sherrill 7cb4694311 2008-09-26 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1316/cpukit
	* score/src/coremsgbroadcast.c: Give error when message is too large
	like when sending a message. This was the documented behavior.
2008-09-26 19:24:27 +00:00
Eric Norum ac337bc053 Final resolution of this "small" por t number change. 2008-09-26 15:03:29 +00:00
Joel Sherrill ddf4529e03 2008-09-25 Eric Norum <norume@aps.anl.gov>
* libnetworking/lib/rtems_bsdnet_ntp.c: Revert previous patch.
2008-09-25 19:54:42 +00:00
Joel Sherrill 0655f79d8e 2008-09-25 Eric Norum <norume@aps.anl.gov>
* libnetworking/lib/rtems_bsdnet_ntp.c: Revert previous patch.
2008-09-25 19:54:26 +00:00
Joel Sherrill f40ddad254 2008-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/imfs/deviceio.c: Eliminate duplicate implementation.
2008-09-25 14:17:53 +00:00
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 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
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
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