Commit Graph
14760 Commits
Author SHA1 Message Date
Joel Sherrill 115fb761dc 2007-12-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/sleep.c, posix/src/usleep.c: Add copyright header.
	* rtems/src/ratemonreportstatistics.c, rtems/src/timerserver.c:
	Minor cleanup to improve testability and eliminate dead code.
2007-12-14 17:37:12 +00:00
Till Straumann 6315a29c07 2007-12-14 Till Straumann <strauman@slac.stanford.edu>
* custom/mvme3100.cfg: Added; new BSP.
2007-12-14 07:00:10 +00:00
Till Straumann 90f9aade98 2007-12-14 Till Straumann <strauman@slac.stanford.edu>
* custom/mvme3100.cfg: Added; new BSP.
2007-12-14 06:51:55 +00:00
Till Straumann 3563d3287c 2007-12-13 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: use preload.S, vectors_entry.S from shared
	area.
2007-12-14 06:36:26 +00:00
Till Straumann 9c28d47375 This commit was generated by cvs2svn to compensate for changes in r16586,
which included commits to RCS files with non-trunk default branches.
2007-12-14 06:30:15 +00:00
Till Straumann b599faa1bb - imported MVME3100 BSP (from SLAC repository) 2007-12-14 06:30:15 +00:00
Chris Johns 30088aac5b 2007-12-12 Chris Johns <chrisj@rtems.org>
* libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
	Add RTEMS license details.
2007-12-14 06:02:42 +00:00
Chris Johns 3c68c6c8b7 2007-12-12 Chris Johns <chrisj@rtems.org>
* Makefile.am, preinstall.am: Added
	libblock/include/rtems/flashdisk.h to the installed header list.
	* libblock/Makefile.am: Add flashdisk.c to the files to build.
	* libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
	New.
2007-12-14 04:58:04 +00:00
Chris Johns f3bf21f2cf 2007-12-14 Chris Johns <chrisj@rtems.org>
* wrapup/Makefile.am: Add libflash.a to the libbsp library.
	* libchip/Makefile.am, libchip/preinstall.am: Add the flash chip support.
	* libchip/flash, libchip/flash/am29lv160.c,
	libchip/flash/am29lv160.h: New.
2007-12-14 04:54:57 +00:00
Chris Johns 2199d748f5 2007-12-14 Chris Johns <chrisj@rtems.org>
* gdb-init: Add the show-exception.
2007-12-14 04:52:24 +00:00
Joel Sherrill dcdaba216a 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new tests for interrupt disable,
	enable, flash, and is in progress. These are normally inlines but
	also have bodies for non-C code. This test also exercises the odd
	case of calling clock tick from outside an ISR.
	* sp37/.cvsignore, sp37/Makefile.am, sp37/sp37.scn, sp37/system.h: New files.
2007-12-13 22:41:52 +00:00
Joel Sherrill 9c691efcf4 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp07/init.c, sp07/sp07.scn, sp07/task1.c: Add tests for
	using notepad with the current task's ID or SELF
	* sp09/screen02.c, sp09/screen04.c, sp09/sp09.scn: Add
	test missing test cases for clock_get.
2007-12-13 21:45:23 +00:00
Joel Sherrill cdc79843ff 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx01/init.c, psx01/psx01.scn: Add usleep() test.
2007-12-13 18:00:41 +00:00
Joel Sherrill bcf4cbb589 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/preinstall.am, posix/preinstall.am, rtems/Makefile.am,
	rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
	score/Makefile.am, score/preinstall.am: Revert testing patch.
2007-12-13 17:00:38 +00:00
Joel Sherrill 8fe6d53300 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/sched_rr_get_interval.c: Fix warning.
2007-12-13 16:56:37 +00:00
Joel Sherrill 8728969392 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: New test to cover all RTEMS POSIX
	functions that return ENOSYS.
	* psxenosys/.cvsignore, psxenosys/Makefile.am, psxenosys/init.c,
	psxenosys/psxenosys.scn, psxenosys/system.h: New files.
2007-12-13 16:56:21 +00:00
Joel Sherrill fbfb59262d 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/Makefile.am, posix/src/clockgetcpuclockid.c,
	posix/src/clockgetenableattr.c, posix/src/clockgettime.c,
	posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
	posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c,
	posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c,
	posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c,
	posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c,
	posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c,
	posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split
	files into one function per file.
	* posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c,
	posix/src/aio_read.c, posix/src/aio_return.c,
	posix/src/aio_suspend.c, posix/src/aio_write.c,
	posix/src/lio_listio.c, posix/src/sched_getparam.c,
	posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c,
	posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c,
	posix/src/sched_setparam.c, posix/src/sched_setscheduler.c,
	posix/src/sched_yield.c: New files.
	* posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.
2007-12-13 16:52:21 +00:00
Joel Sherrill 8d8daef461 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c,
	posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
	posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
	posix/src/clocksettime.c, posix/src/devctl.c,
	posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c,
	posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am,
	sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate
	POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
2007-12-13 15:45:43 +00:00
Joel Sherrill 75b571311a 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx13/test.c: Fix spelling error.
2007-12-13 14:51:22 +00:00
Joel Sherrill a023333d10 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxtime/test.c: Add tests for adjtime().
2007-12-13 14:46:37 +00:00
Joel Sherrill 5f73d072d8 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/adjtime.c: Clean up and verify against behavior documented
	in GNU/Linux man page provided with Fedora 7.
2007-12-13 14:39:27 +00:00
Joel Sherrill 16e0ba0f8d 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
	automake variables.
2007-12-12 23:20:41 +00:00
Joel Sherrill 98dee44ba8 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
	rtems/src/tasks.c, rtems/src/taskvariableadd.c,
	rtems/src/taskvariabledelete.c: Add test code for task variables to
	improve coverage.
	* rtems/src/taskvariable_invoke_dtor.c: New file.
2007-12-12 23:19:57 +00:00
Joel Sherrill f446e6d0f2 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp28/init.c: Add test code for task variables to improve coverage.
2007-12-12 23:18:05 +00:00
Joel Sherrill 9202c24e3e 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Add some primitive testing of realloc() which also
	does some positive path testing on the SuperCore heap.
2007-12-12 23:10:48 +00:00
Joel Sherrill 189d35652c 2007-12-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/preinstall.am: Revert debug patch.
2007-12-12 17:23:36 +00:00
Joel Sherrill 5e74ec1f5e 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
	BSP.
2007-12-12 17:16:04 +00:00
Joel Sherrill a70ec6cb9c 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, startup/bspstart.c: Links and runs again.
	* console/console-io.c: New file.
2007-12-12 17:08:20 +00:00
Joel Sherrill 20cdfd4f17 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* libgnat/Makefile.am: Handle POSIX being disabled correctly.
2007-12-12 14:54:42 +00:00
Joel Sherrill 55289c7d53 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/Makefile.am: Only used by ITRON so do not build if ITRON is
	disabled.
2007-12-12 14:22:08 +00:00
Joel Sherrill 8f8d865aa2 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest.in: Update to 4.9.
2007-12-12 14:21:32 +00:00
Chris Johns 06bd7c74b1 2007-12-12 Chris Johns <chrisj@rtems.org>
* Makefile.am: Added libmisc/shell/shellconfig.h to the installed
	header list.
	* libmisc/shell/shell_cmdset.c: Let the Initial command add occur
	in any order rather than before any commands have been added. Also
	made the command's strings be copies rather than references.
	* sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
2007-12-12 10:10:38 +00:00
Till Straumann 0296f51827 2007-12-11 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, irq/irq.c, irq/irq.h, irq/irq_init.c:
	use new exception/irq support from
	libcpu/powerpc/new-exceptions/bspsupport
	rather than borrowing from ../shared/vectors ../shared/irq
2007-12-12 01:16:34 +00:00
Till Straumann 85982c6846 2007-12-11 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: don't normally build-in test code
	(ppc_exc_test.c).
2007-12-12 01:13:29 +00:00
Till Straumann aea55715cd 2007-12-11 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, new-exceptions/bspsupport/README:
	provide new irq_bspsupport.rel which was
	split out of exc_bspsupport.rel to provide finer-grained
	control over what BSPs want to use.
2007-12-12 00:48:54 +00:00
Till Straumann 8d2487fd60 2007-12-11 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/irq.c: enable/disable
	irq at PIC if an initial handler is present/absent
	(reproduce traditional semantics).
2007-12-12 00:47:49 +00:00
Till Straumann 7988f8e8a6 2007-12-11 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: use new irq_bspsupport.rel which was
	split out of exc_bspsupport.rel to provide finer-grained
	control over what BSPs want to use.
2007-12-12 00:36:11 +00:00
Joel Sherrill db27544606 2007-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
	Move Ada support code that is untestable from the Standard RTEMS Test
	Suite into its own directory. All code in score, posix, rtems, and
	sapi should be testable by the Standard RTEMS Test Suites. It was
	buried under POSIX before so this should be a clearer location
	anyway.
	* libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
	libgnat/adasupp.c: New files.
	* posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
2007-12-12 00:15:54 +00:00
Joel Sherrill b21d4f78ed 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
	Reverse file contents.
2007-12-11 23:43:26 +00:00
Joel Sherrill 5c5d438602 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Style.
2007-12-11 23:42:15 +00:00
Joel Sherrill c922ec6c65 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* thumb_isr.c: Style.
2007-12-11 23:03:29 +00:00
Joel Sherrill 1c62f16987 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Temporarily use C implementation of swap u32 for
	thumb mode.
2007-12-11 22:54:18 +00:00
Joel Sherrill 6710d81319 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h, startup/bspstart.c: Fix idle task prototype.
2007-12-11 22:09:30 +00:00
Joel Sherrill 2088669c11 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, timer/timer.c: Fix typos in previous commit
	uncovered by MP build.
2007-12-11 21:53:35 +00:00
Joel Sherrill 4c081a041f 2007-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c: Add RTEMS Shell configuration and static configuration
	of user commands.
2007-12-11 21:33:31 +00:00
Joel Sherrill c748231a9b 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/rtems/config.h: Correct idle task prototype.
2007-12-11 21:29:58 +00:00
Joel Sherrill cf240382a4 * startup/bspclean.c: Revert patch with test code. 2007-12-11 21:29:09 +00:00
Joel Sherrill 814d95887d 2007-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
	libmisc/shell/internal.h, libmisc/shell/shell.c,
	libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
	processing now separated from main command loop. Addition of user
	commands and aliases tested. Monitor registration now explicit.
	* libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
	libmisc/shell/write_file.c: New files.
2007-12-11 19:20:16 +00:00
Joel Sherrill 1383eca6d2 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp21/task1.c: Eliminate copies of the Configuration Table. Use the
	RTEMS provided accessor macros to obtain configuration fields.
2007-12-11 15:51:54 +00:00
Joel Sherrill c52d534512 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* bsp_howto/clock.t, bsp_howto/init.t: Eliminate copies of the
	Configuration Table. Use the RTEMS provided accessor macros to obtain
	configuration fields.
2007-12-11 15:51:35 +00:00