Commit Graph

15874 Commits

Author SHA1 Message Date
Joel Sherrill
c8f8ffdd08 2008-01-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add sp40 to test some cases of dynamic
	driver registration.
	* sp40/.cvsignore, sp40/Makefile.am, sp40/init.c, sp40/sp40.scn,
	sp40/system.h: New files.
2008-01-08 18:27:29 +00:00
Joel Sherrill
bc2b8df658 2008-01-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/Makefile.am: Add missing file.
2008-01-08 17:33:00 +00:00
Jennifer Averett
b1ebcb6cc8 Revert accidental commit of test code. 2008-01-07 18:10:57 +00:00
Joel Sherrill
0e97a7fa5b 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/monitor/mon-manager.c: Style. Eliminate tabs.
2008-01-07 17:53:11 +00:00
Joel Sherrill
694bd9f68e 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am: Add new files.
	* libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
	* libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
	* libmisc/shell/shellconfig.h: Add wkspace command.
	* libmisc/shell/main_wkspaceinfo.c,
	libmisc/shell/print_heapinfo.c: New files.
2008-01-07 17:46:25 +00:00
Joel Sherrill
c961c06bbe 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/isr.inl: Fix spacing.
	* score/src/apimutexallocate.c: Fix spacing.
	* score/src/coremsgseize.c: Check for message pending instead of
	message pending count to avoid dead code from inlined chain routine.
	It checks if the chain is empty so is redundant to count == 0.
2008-01-07 15:33:33 +00:00
Joel Sherrill
a87bbe9bb7 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
	up.
2008-01-07 15:31:18 +00:00
Joel Sherrill
580004a27c 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/pthreadcreate.c: Add commit.
	* posix/src/pthreadinitthreads.c: Fix line length.
2008-01-07 15:30:21 +00:00
Joel Sherrill
1ccbd63a6a 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
2008-01-07 15:29:14 +00:00
Joel Sherrill
52e70cf409 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/threadget.c: Use _Objects_Is_api_valid rather than open
	coding it.
2008-01-07 15:28:31 +00:00
Joel Sherrill
14a64dc59e 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen07.c, sp09/screen12.c, sp09/screen14.c, sp09/sp09.scn
	Add test cases for:
	  + message queue create requesting too many message buffers
	    for the available memory
	  + region extend with address inside existing heap
	  + timer server initiate too large a stack, create error
	* sp12/pritask.c, sp12/sp12.scn: Add test cases for:
	  + task set priority while holding resource
2008-01-07 15:26:46 +00:00
Joel Sherrill
cd30436141 Convert to UNIX CR/LF. 2008-01-07 15:10:31 +00:00
Joel Sherrill
fa9889742a 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Added sp38 and sp39.
	* sp38/.cvsignore, sp38/Makefile.am, sp38/init.c, sp38/sp38.scn,
	sp38/system.h, sp39/.cvsignore, sp39/Makefile.am, sp39/init.c,
	sp39/sp39.scn, sp39/system.h: New files.
2008-01-07 15:07:47 +00:00
Chris Johns
a61cc6c28f 2008-01-05 Chris Johns <chrisj@rtems.org>
* libchip/flash/am29lv160.c: Update the blank check error message
	to say there is an error.
2008-01-05 06:59:11 +00:00
Chris Johns
a5de1ef5fc 2008-01-05 Chris Johns <chrisj@rtems.org>
* configure.ac: Fix typo in the strict order mutex CPU OPTs test.
	* libmisc/shell/shell.c: Handle '#' comment characters correctly.
	* libblock/include/rtems/flashdisk.h: Add docmentation about the
	control fields. Add more control fields to handle the flash when
	full.
	* libblock/src/flashdisk.c: Fix the descriptor erase test so it
	detects a descriptor is erased. Add support for unavailable blocks
	the user can configure. Print the used list as a diag. Fix the bug
	when a page is detected as failed and present on more than one
	queue. Add a count to the queues so queue length can be used to
	manage compaction.
2008-01-05 06:57:17 +00:00
Till Straumann
74ee68dd00 2008-01-03 Till Straumann <strauman@slac.stanford.edu>
* bsp_specs: added crtend.o back to the endfiles. Otherwise,
	C++ static constructors are not executed because the
	call to __do_global_ctors_aux() is emitted into the .init
	section by this endfile (yes, the endfile contributes to .init).
2008-01-04 07:16:03 +00:00
Till Straumann
42fce5d39b 2008-01-03 Till Straumann <strauman@slac.stanford.edu>
* score/src/threadhandler.c, sapi/src/exshutdown.c:
	cannot call _fini via atexit() from rtems_shutdown_executive()
	because at the point where rtems_shutdown_executive is called
	the C-library is already dead.
	Instead, register an atexit(_fini) after calling _init().
2008-01-04 06:38:06 +00:00
Joel Sherrill
4779963688 2007-12-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/Makefile.am: _rename_r is required by newlib 1.16.0.
	Hopefully this implementation is OK.
	* libcsupport/src/_rename_r.c: New file.
2007-12-28 18:55:31 +00:00
Chris Johns
107f4d3446 2007-12-22 Chris Johns <chrisj@rtems.org>
* nfsclient/src/nfs.c, nfsclient/src/rpcio.c: Adjust the length of
	the hello message. Just one line but still a little too long.
2007-12-22 08:29:36 +00:00
Chris Johns
e85eb70bc7 2007-12-14 Chris Johns <chrisj@rtems.org>
* gdb-init: Make the first hb temporary.
	* network/network.c: Add support for reading the MAC address from
	the FEC if set by the boot monitor. dBug does not do this unless
	the network is used which is a shame.
2007-12-22 08:28:57 +00:00
Chris Johns
1ff9922df0 2007-12-22 Chris Johns <chrisj@rtems.org>
* configure.ac: fixed bug that always enabled strict order
	mutexes.
	* score/inline/rtems/score/coremutex.inl: Fixed coding standard.
	* score/src/coremutex.c: Add the holder's thread to the lock_mutex
	list if the mutex is initialised locked.
	* libnetworking/rtems/rtems_glue.c: Changed semaphore error
	message to show the error is an rtems-net error.
	* libmisc/monitor/mon-network.c: Removed warnings.
	* telnetd/icmds.c: Changed shell_* to rtems_shell_*.
	* score/Makefile.am: Fixed typo that stopped 'make tags' working.
	* libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
	libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
	libmisc/shell/fts.h, libmisc/shell/main_cp.c,
	libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
	libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
	libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
	libmisc/shell/warnx.c: New. Ported from BSD.
	* libmisc/shell/shellconfig.h: Add the cp command.
	* libmisc/Makefile.am: Add the new files to the shell.
	* libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
	support.
	* libblock/src/flashdisk.c: Fixed disk drive count size setting
	bug.
2007-12-22 08:27:18 +00:00
Joel Sherrill
e709ff4ae6 2007-12-21 Xi Yang <hiyangxi@gmail.com>
* rtems/src/semtranslatereturncode.c: Add support for proper stacking
	of priority inheritance on mutexes as well as enforce proper order of
	release.
2007-12-21 15:58:30 +00:00
Joel Sherrill
e2ba62d1ea 2007-12-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, score/include/rtems/score/coremutex.h,
	score/inline/rtems/score/coremutex.inl: Add the ability to disable
	inlining coremutex seize. This reduces the code size and also
	improves the process of coverage analysis.
	* score/src/coremutexseizeintr.c: New file.
2007-12-21 15:57:22 +00:00
Joel Sherrill
03c6ff399e 2007-12-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp36/strict_order_mut.c: New file.
2007-12-21 15:50:52 +00:00
Joel Sherrill
e8f4303a4c 2007-12-21 Xi Yang <hiyangxi@gmail.com>
* Makefile.am, configure.ac: Add support for proper stacking of
	priority inheritance on mutexes as well as enforce proper order of
	release.
	* sp36/.cvsignore, sp36/Makefile.am, sp36/sp36.doc,
	sp36/sp36.scn: New files.
2007-12-21 15:50:33 +00:00
Joel Sherrill
fd84982c00 2007-12-21 Xi Yang <hiyangxi@gmail.com>
* configure.ac, score/include/rtems/score/coremutex.h,
	score/include/rtems/score/thread.h,
	score/inline/rtems/score/coremutex.inl,
	score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
	support for proper stacking of priority inheritance on mutexes as
	well as enforce proper order of release.
2007-12-21 15:50:09 +00:00
Joel Sherrill
cd2255151a 2007-12-21 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1268/cpukit
	* libcsupport/include/rtems/assoc.h: There is no
	rtems_assoc_ptr_by_value method.
2007-12-21 15:22:40 +00:00
Ralf Corsepius
21bc352675 Fix typo. 2007-12-21 05:10:54 +00:00
Ralf Corsepius
b98648062f Make gettimeofday() POSIX-compliant. 2007-12-21 05:10:31 +00:00
Ralf Corsepius
fbb5097c1b Make sync() POSIX-compliant. 2007-12-21 05:10:09 +00:00
Ralf Corsepius
468cd3736c 2007-12-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* src/sync.c: Make sync() POSIX-compliant.
	* libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
2007-12-21 05:09:15 +00:00
Joel Sherrill
60256e86db 2007-12-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/killinfo.c: Clean up and eliminate some dead code paths.
2007-12-20 22:39:34 +00:00
Joel Sherrill
2cbb5fc46f 2007-12-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/include/rtems/posix/timer.h: Include rtems/score/object.h.
2007-12-20 22:39:08 +00:00
Joel Sherrill
47751810c3 2007-12-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Use correct register name.
2007-12-20 22:38:07 +00:00
Joel Sherrill
fe88171c49 2007-12-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxsignal01/.cvsignore, psxualarm/.cvsignore: New files.
2007-12-20 21:53:04 +00:00
Joel Sherrill
b5c6ecf707 2007-12-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp07/task1.c, sp34/changepri.c, sp35/priinv.c: Add rtems_task_self()
	directive instead of violating RTEMS internals.
2007-12-20 21:52:24 +00:00
Joel Sherrill
23a0607ef1 2007-12-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
	rtems_task_self() directive.
	* rtems/src/taskself.c: New file.
2007-12-20 21:51:23 +00:00
Joel Sherrill
6bd316209b 2007-12-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Add test cases suggested by Sergei Organov
	<s.organov@javad.com>.
2007-12-20 20:58:11 +00:00
Jennifer Averett
0b78bc4d01 2007-12-20 Jennifer Averett <jennifer.averett@OARcorp.com>
* posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
	and resolved copyright information.
	* posix/src/kill_r.c: New file.
2007-12-20 19:32:03 +00:00
Jennifer Averett
c3a8293b75 2007-12-20 Jennifer Averett <jennifer.averett@OARcorp.com>
* Makefile.am, configure.ac: Added test for ualarm
	* psxualarm/Makefile.am, psxualarm/init.c, psxualarm/psxualarm.scn,
	psxualarm/system.h: New files.
2007-12-20 18:19:15 +00:00
Jennifer Averett
090edf3901 2007-12-20 Jennifer Averett <jennifer.averett@OARcorp.com>
* posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
2007-12-20 18:11:24 +00:00
Ralf Corsepius
07c40af537 New. 2007-12-20 16:14:58 +00:00
Ralf Corsepius
ab56160b4b Regenerate. 2007-12-20 16:13:08 +00:00
Ralf Corsepius
d8536e840b Add %{?_smp_mflags}. 2007-12-20 16:12:09 +00:00
Ralf Corsepius
c55ed1d294 Prepare upgrade to newlib-1.16.0. 2007-12-20 16:11:34 +00:00
Joel Sherrill
b1bf5a9be0 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Revert. Requires info not available at
	preprocessing time.
2007-12-19 21:05:39 +00:00
Joel Sherrill
e287d94667 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Catch the error when the user lowers the
	maximum number of drivers below the number of statically configured
	ones.
2007-12-19 20:57:27 +00:00
Joel Sherrill
30cd539354 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/src/extension.c, sapi/src/extensioncreate.c,
	sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
	Manager clean up. Update object id switches to new pattern. Catch
	some NULL parameter errors.
2007-12-19 20:55:55 +00:00
Joel Sherrill
79542d7a8b 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp07/init.c, sp07/system.h, sp07/tdelete.c, sp07/sp07.scn:
	Add test cases for User Extension Manager to improve code coverage.
	* sp21/task1.c: Fix spelling error.
2007-12-19 20:51:51 +00:00
Jennifer Averett
030fee5b02 2007-12-19 Jennifer Averett <jennifer.averett@OARcorp.com>
* posix/src/psignalunblockthread.c: Remove source that
2007-12-19 19:13:54 +00:00