Commit Graph
18544 Commits
Author SHA1 Message Date
Glenn Humphrey 76b839b617 2007-10-26 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* user/rtmon.t: Fix report output.
2007-10-26 21:35:11 +00:00
Glenn Humphrey 43e3429260 2007-10-26 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* cpuuse/task2.c, rtmonuse/rtmonuse.scn, rtmonuse/task1.c: Add new
	cases for untested routines.
2007-10-26 21:31:48 +00:00
Glenn Humphrey b0ac06f8e9 2007-10-26 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
	Cleaned up reports and fixed a bug related the printf format which
	resulted in lack of leading zeroes and misleading magnitude.
	* score/src/timespecdivide.c: Fixed bugs related to zero divide case.
2007-10-26 21:30:59 +00:00
Joel Sherrill 0e87deaa29 2007-10-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
	itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
	itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
	itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
	itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
	itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
	itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
	itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
	posix/src/condinit.c, posix/src/condsignalsupp.c,
	posix/src/condwaitsupp.c, posix/src/keydelete.c,
	posix/src/keygetspecific.c, posix/src/keysetspecific.c,
	posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
	posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
	posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
	posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
	posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
	posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
	posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
	posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
	posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
	posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
	posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
	posix/src/pspindestroy.c, posix/src/pspinlock.c,
	posix/src/pspintrylock.c, posix/src/pspinunlock.c,
	posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
	posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
	posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
	posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
	posix/src/semclose.c, posix/src/semdestroy.c,
	posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
	rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
	rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
	rtems/src/dpmemexternal2internal.c,
	rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
	rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
	rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
	rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
	rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
	rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
	rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
	rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
	rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
	rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
	rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
	rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
	rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
	rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
	rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
	rtems/src/signalsend.c, rtems/src/taskdelete.c,
	rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
	rtems/src/taskrestart.c, rtems/src/taskresume.c,
	rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
	rtems/src/taskstart.c, rtems/src/tasksuspend.c,
	rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
	rtems/src/taskvariableget.c, rtems/src/timercancel.c,
	rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
	rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
	rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
	rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
	score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
	score/src/mpci.c, score/src/objectgetnameasstring.c,
	score/src/threaddelayended.c, score/src/threadqtimeout.c: When
	multiprocessing is disabled, do not even allow the constant
	OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
	a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
	in the generation of binary code which can NOT be reached.
2007-10-26 20:19:02 +00:00
Joel Sherrill 78dabb697c 2007-10-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/Makefile.am, score/include/rtems/score/thread.h,
	score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
	resulted in unnessary code explosion, many uncovered paths when
	looking at binary executable coverage, and only optimized getting
	self. Id translations were still getting pushed to a subroutine call
	to _Objects_Get. Later the non-inlined version can be further
	optimized to get Ids in range for the current API, then self, then
	look at other APIs.
	* score/src/threadget.c: New file.
2007-10-26 19:44:10 +00:00
Joel Sherrill 327b002078 2007-10-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* irq/irq.h: Fixed typos.
2007-10-26 15:49:59 +00:00
Thomas Doerfler 933f743544 reenable instruction MMU 2007-10-26 14:37:59 +00:00
Thomas Doerfler 99e65f9c28 *** empty log message *** 2007-10-26 12:12:42 +00:00
Thomas Doerfler 7a4e8e7c8a corrected bug in libchip/i2c/spi-flash-m25p40 2007-10-26 09:54:28 +00:00
Thomas Doerfler c47890cccf *** empty log message *** 2007-10-26 09:51:41 +00:00
Thomas Doerfler 83374f3b27 adding new spi flash driver 2007-10-26 06:07:06 +00:00
Joel Sherrill 78c7192903 2007-10-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am,
	mptests/mp02/node1/Makefile.am, mptests/mp02/node2/Makefile.am,
	mptests/mp03/node1/Makefile.am, mptests/mp03/node2/Makefile.am,
	mptests/mp04/node1/Makefile.am, mptests/mp04/node2/Makefile.am,
	mptests/mp05/node1/Makefile.am, mptests/mp05/node2/Makefile.am,
	mptests/mp06/node1/Makefile.am, mptests/mp06/node2/Makefile.am,
	mptests/mp07/node1/Makefile.am, mptests/mp07/node2/Makefile.am,
	mptests/mp08/node1/Makefile.am, mptests/mp08/node2/Makefile.am,
	mptests/mp09/node1/Makefile.am, mptests/mp09/node2/Makefile.am,
	mptests/mp10/node1/Makefile.am, mptests/mp10/node2/Makefile.am,
	mptests/mp11/node1/Makefile.am, mptests/mp11/node2/Makefile.am,
	mptests/mp12/node1/Makefile.am, mptests/mp12/node2/Makefile.am,
	mptests/mp13/node1/Makefile.am, mptests/mp13/node2/Makefile.am,
	mptests/mp14/node1/Makefile.am, mptests/mp14/node2/Makefile.am,
	samples/base_mp/Makefile.am, samples/base_mp/node1/Makefile.am,
	samples/base_mp/node2/Makefile.am, samples/base_sp/Makefile.am,
	samples/hello/Makefile.am, samples/nsecs/Makefile.am,
	samples/ticker/Makefile.am, sptests/sp01/Makefile.am,
	sptests/sp02/Makefile.am, sptests/sp03/Makefile.am,
	sptests/sp04/Makefile.am, sptests/sp05/Makefile.am,
	sptests/sp06/Makefile.am, sptests/sp07/Makefile.am,
	sptests/sp08/Makefile.am, sptests/sp09/Makefile.am,
	sptests/sp11/Makefile.am, sptests/sp12/Makefile.am,
	sptests/sp13/Makefile.am, sptests/sp14/Makefile.am,
	sptests/sp15/Makefile.am, sptests/sp16/Makefile.am,
	sptests/sp17/Makefile.am, sptests/sp19/Makefile.am,
	sptests/sp20/Makefile.am, sptests/sp22/Makefile.am,
	sptests/sp23/Makefile.am, sptests/sp24/Makefile.am,
	sptests/sp25/Makefile.am, tmtests/tm01/Makefile.am,
	tmtests/tm02/Makefile.am, tmtests/tm03/Makefile.am,
	tmtests/tm04/Makefile.am, tmtests/tm05/Makefile.am,
	tmtests/tm06/Makefile.am, tmtests/tm07/Makefile.am,
	tmtests/tm08/Makefile.am, tmtests/tm09/Makefile.am,
	tmtests/tm10/Makefile.am, tmtests/tm11/Makefile.am,
	tmtests/tm12/Makefile.am, tmtests/tm13/Makefile.am,
	tmtests/tm14/Makefile.am, tmtests/tm15/Makefile.am,
	tmtests/tm16/Makefile.am, tmtests/tm17/Makefile.am,
	tmtests/tm18/Makefile.am, tmtests/tm19/Makefile.am,
	tmtests/tm20/Makefile.am, tmtests/tm21/Makefile.am,
	tmtests/tm22/Makefile.am, tmtests/tm23/Makefile.am,
	tmtests/tm24/Makefile.am, tmtests/tm25/Makefile.am,
	tmtests/tm28/Makefile.am, tmtests/tm29/Makefile.am,
	tmtests/tmck/Makefile.am, tmtests/tmoverhd/Makefile.am: Executables
	should end in .exe just like their C counterparts.
2007-10-25 22:06:13 +00:00
Glenn Humphrey d45b4a9802 2007-10-25 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* rtems.adb, rtems.ads: Added some more missing bindings.
2007-10-25 20:44:31 +00:00
Glenn Humphrey 42f07c5fb7 2007-10-25 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* configure.ac, samples/Makefile.am: Added a test for Clock_Get_Uptime
	* samples/nsecs/.cvsignore, samples/nsecs/Makefile.am,
	samples/nsecs/config.h, samples/nsecs/nsecs.adb,
	samples/nsecs/nsecs.scn, samples/nsecs/sptest.adb,
	samples/nsecs/sptest.ads: New files.
2007-10-25 19:51:06 +00:00
Glenn Humphrey 4ffbc49514 2007-10-25 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* user/barrier.t, user/clock.t, user/concepts.t, user/cpuuse.t,
	user/init.t, user/intr.t, user/io.t, user/mp.t, user/rtmon.t,
	user/sem.t, user/stackchk.t, user/task.t, user/timer.t: Updated the
	Ada documentation to reflect the current binding.
2007-10-25 19:46:41 +00:00
Thomas Doerfler abe0cdb169 added documentation to libi2c 2007-10-25 16:18:38 +00:00
Thomas Doerfler 55a685bddc added SPI support to libi2c
added IRQ support to MPC83xx i2c driver
added mpc83xx spi driver
2007-10-25 16:17:56 +00:00
Joel Sherrill 0a23c71433 2007-10-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/assoc.c: Removed.  Accidentally included routine
	also in another file.  Mistake after splitting.
	* libcsupport/Makefile.am: Reflect file removal.
2007-10-19 14:39:22 +00:00
Joel Sherrill 3f7786669c 2007-10-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/assoc.c: Removed.  Accidentally included routine
	also in another file.  Mistake after splitting.
2007-10-19 14:36:59 +00:00
Glenn Humphrey 29948d482f 2007-10-18 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* rtems.adb, rtems.ads: Added a missing binding.
2007-10-18 21:26:23 +00:00
Glenn Humphrey 4fcb3fc310 2007-10-18 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sptests/sp16/sptest.ads, sptests/sp20/sptest.adb,
	sptests/sp20/sptest.ads: Forgot to update the copyright.
2007-10-18 20:58:51 +00:00
Glenn Humphrey 6a5990e4fd 2007-10-18 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sp09/screen06.c, sp09/screen14.c, sp13/sp13.scn, sp13/task1.c,
	sp16/sp16.scn: Corrected some minor mistakes and regenerated some
	.scn files.
2007-10-18 19:49:46 +00:00
Glenn Humphrey 3d2bf71da0 2007-10-18 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sptests/sp09/sp09.scn, sptests/sp09/sptest.adb,
	sptests/sp13/sp13.scn, sptests/sp13/sptest.adb,
	sptests/sp16/sp16.scn, sptests/sp16/sptest.adb,
	sptests/sp16/sptest.ads, sptests/sp20/sp20.scn,
	sptests/sp20/sptest.adb, sptests/sp20/sptest.ads: Updated tests to
	match the current C tests and regenerated the .scn files.
2007-10-18 19:36:29 +00:00
Ralf Corsepius 2fc47c66d2 Update. 2007-10-17 16:09:27 +00:00
Joel Sherrill d83028566d 2007-10-14 Eric Norum <norume@aps.anl.gov>
* clock/clock.c: Add nanoseconds since tick support.
2007-10-16 17:14:24 +00:00
Ralf Corsepius 57c56dbcea 2007-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
	libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
	Minor updates from FreeBSD.
2007-10-15 07:59:07 +00:00
Ralf Corsepius 807337d281 Adjust to POSIX. Minor updates from FreeBSD. 2007-10-15 07:59:00 +00:00
Ralf Corsepius efe8291f1d Remove 2007-10-12 02:20:32 +00:00
Ralf Corsepius a5c8f118ce Regenerate. 2007-10-12 02:19:42 +00:00
Ralf Corsepius ee54f23c7f gdb-6.7-2 2007-10-12 02:19:02 +00:00
Ralf Corsepius 5c30f679e9 gdb-6.7-2 2007-10-11 14:51:28 +00:00
Ralf Corsepius 053c2f46fc Add A. Modra's makeinfo fixes. 2007-10-11 14:49:10 +00:00
Joel Sherrill 0743eaed1c 2007-10-11 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am, shared/can/occan.c, shared/include/ambapp.h: Add initial
	i2c and update OC-CAN support.
	* shared/i2c/i2cmst.c, shared/include/i2cmst.h: New files.
2007-10-11 12:56:09 +00:00
Joel Sherrill 8a781ad7ee 2007-10-11 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am, preinstall.am: Add initial i2c and update OC-CAN
	support.
2007-10-11 12:56:03 +00:00
Joel Sherrill dd7f59172c 2007-10-11 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am, preinstall.am: Fixes bug in OC-CAN baud rate calculator.
	The BTR1 8-bit value was swapped.
2007-10-11 12:54:50 +00:00
Joel Sherrill b7fa289bf7 2007-10-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/copyrt.h: Update year.
2007-10-11 12:49:27 +00:00
Joel Sherrill c57316a409 2007-10-11 Daniel Hellstrom <daniel@gaisler.com>
* libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
	Fixed check of status when registering driver. Add use of strerror().
2007-10-11 12:46:50 +00:00
Ralf Corsepius df16b8bf09 gdb-6.7 2007-10-11 08:31:50 +00:00
Ralf Corsepius 777d259b34 New. 2007-10-11 08:28:07 +00:00
Ralf Corsepius 6f1919e56b Regenerate. 2007-10-11 03:18:10 +00:00
Ralf Corsepius d6a7e4fe9f Regenerate. 2007-10-11 03:09:36 +00:00
Ralf Corsepius 090d3432ca New. 2007-10-11 03:04:26 +00:00
Ralf Corsepius 0e6d50c41b Update to gcc-4.2.2-2. 2007-10-11 03:02:46 +00:00
Ralf Corsepius 59b4f427e5 Add 4.2.2. 2007-10-11 02:53:12 +00:00
Glenn Humphrey 67e024bc44 2007-10-10 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sp09/init.c, sp09/sp09.scn: Removed an obsolete test that was
	commented out and updated the .scn file.
2007-10-10 21:01:45 +00:00
Glenn Humphrey ba3e1a4faf 2007-10-10 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* configure.ac, samples/base_sp/base_sp.scn, samples/base_sp/config.h,
	samples/base_sp/sptest.adb, samples/hello/config.h,
	samples/ticker/config.h, samples/ticker/ticker.scn,
	sptests/Makefile.am, sptests/sp01/sp01.scn, sptests/sp02/config.h,
	sptests/sp02/sp02.scn, sptests/sp03/config.h, sptests/sp03/sp03.scn,
	sptests/sp04/sp04.scn, sptests/sp04/sptest.adb,
	sptests/sp05/config.h, sptests/sp05/sp05.scn, sptests/sp06/config.h,
	sptests/sp07/config.h, sptests/sp07/sp07.scn,
	sptests/sp07/sptest.adb, sptests/sp07/sptest.ads,
	sptests/sp08/config.h, sptests/sp08/sp08.scn,
	sptests/sp09/Makefile.am, sptests/sp09/config.h,
	sptests/sp09/sp09.scn, sptests/sp09/sptest.adb,
	sptests/sp09/sptest.ads, sptests/sp11/config.h,
	sptests/sp11/sp11.scn, sptests/sp12/config.h, sptests/sp12/sp12.scn,
	sptests/sp13/config.h, sptests/sp13/sp13.scn,
	sptests/sp13/sptest.adb, sptests/sp14/config.h,
	sptests/sp14/sp14.scn, sptests/sp15/config.h, sptests/sp15/sp15.scn,
	sptests/sp16/config.h, sptests/sp16/sp16.scn,
	sptests/sp16/sptest.adb, sptests/sp17/config.h,
	sptests/sp19/config.h, sptests/sp19/sp19.scn, sptests/sp20/config.h,
	sptests/sp20/sp20.scn, sptests/sp22/config.h, sptests/sp22/sp22.scn,
	sptests/sp23/config.h, sptests/sp23/sp23.scn, sptests/sp24/config.h,
	sptests/sp24/sp24.scn, sptests/sp25/config.h, sptests/sp25/sp25.scn,
	support/init.c, support/test_support.adb, support/test_support.ads,
	tmtests/tm09/config.h, tmtests/tm20/tmtest.adb,
	tmtests/tmoverhd/dummy_rtems.adb, tmtests/tmoverhd/dummy_rtems.ads,
	tmtests/tmoverhd/tmtest.adb, tmtests/tmoverhd/tmtest.ads: Updated
	tests so that they would all compile and run without errors. Some
	tests that are no longer valid using the current binding were
	removed. Also updated the .scn files to reflect the current test
	output.
	* sptests/sp21/.cvsignore, sptests/sp21/Makefile.am,
	sptests/sp21/config.h, sptests/sp21/sp21.adb, sptests/sp21/sp21.scn,
	sptests/sp21/sptest.adb, sptests/sp21/sptest.ads,
	sptests/spsize/.cvsignore, sptests/spsize/Makefile.am,
	sptests/spsize/spsize.adb, sptests/spsize/sptest.adb,
	sptests/spsize/sptest.ads: Removed.
2007-10-10 20:58:48 +00:00
Glenn Humphrey d14963bf94 2007-10-10 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* rtems.adb, rtems.ads: Cleaned up binding and removed bindings for
	things that are not reasonable to do in Ada.
2007-10-10 20:46:33 +00:00
Ralf Corsepius 5a9f3725d7 update to gdb-6.6.90. 2007-10-10 06:52:31 +00:00
Joel Sherrill c9274ae19a 2007-10-05 Ray Xu <xr@trasin.net>
* lpc22xx/clock/clockdrv.c, lpc22xx/irq/irq.c, lpc22xx/irq/irq.h: Now
	runs in Skyeye.
2007-10-05 18:57:52 +00:00
Ralf Corsepius 9aab34cd3d Regenerate. 2007-10-04 16:08:35 +00:00