Commit Graph

18493 Commits

Author SHA1 Message Date
Joel Sherrill
b181c30607 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, include/bsp.h, startup/setvec.c: Split idle method into
	its own file. Properly note to confdefs.h that this BSP has its own
	idle thread.
	* startup/bspidle.c: New file.
2009-08-19 16:13:01 +00:00
Joel Sherrill
0fed29abc5 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, include/bsp.h, startup/setvec.c: Split idle method into
	its own file. Properly note to confdefs.h that this BSP has its own
	idle thread.
	* startup/bspidle.c: New file.
2009-08-19 16:05:38 +00:00
Joel Sherrill
a1f0ca28c0 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/pthread.c: Address sporadic server edge cases. Do not
	change priority if thread is holding a priority ceiling or
	inheritance mutex. Do not change it if it looks like the thread has
	manually changed its priority. Style cleanup on file with new
	comments added.
2009-08-19 15:18:19 +00:00
Joel Sherrill
4e7ca87212 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxtime/main.c, psxtime/psxtime.scn, psxtime/test.c: Add test case
	for adjusting time (adjtime()) where the time is adjusted by enough
	microseconds that it crosses a second boundary.
2009-08-19 15:13:34 +00:00
Joel Sherrill
712726d3df 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx07/init.c, psx07/psx07.scn, psx07/system.h, psx07/task.c: Update
	test to reflect not allowing poriority changes when mutex is locked.
2009-08-19 14:55:24 +00:00
Joel Sherrill
3a12177645 2009-08-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp63/init.c, sp63/sp63.scn: Add case for math on size requested
	overflowing on _Heap_Allocate_aligned.
2009-08-18 18:46:21 +00:00
Joel Sherrill
3a95c67925 2009-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/heapallocatealigned.c: Remove unused label.
2009-08-18 18:40:14 +00:00
Joel Sherrill
09794266c4 2009-08-18 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* score/src/heapallocatealigned.c: Change break to continue to fix
	issue encountered on ARM. Fix indentation.
2009-08-18 16:15:16 +00:00
Joel Sherrill
7ca51e389d 2009-08-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* s3c2400/clock/clockdrv.c, s3c24xx/clock/clockdrv.c: Add stubs for
	nanoseconds since tick handler.
2009-08-18 15:37:52 +00:00
Joel Sherrill
63b3dff5ec 2009-08-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/timerreset.c: Rework to ease analysis.
2009-08-18 15:35:51 +00:00
Joel Sherrill
7d414c33ae 2009-08-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* spobjgetnext/init.c, spobjgetnext/spobjgetnext.scn: Add error cases
	for various null parameters.
2009-08-18 15:32:49 +00:00
Joel Sherrill
84f27fa8fa 2009-08-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx01/init.c, psx01/psx01.scn: Add test case for nanosleep with NULL
	remaining pointer.
2009-08-18 14:39:33 +00:00
Joel Sherrill
804e5715fd 2009-08-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp16/sp16.scn, sp16/task1.c: Fix typo.
2009-08-18 14:15:50 +00:00
Joel Sherrill
6a41df1565 2009-08-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Mark as a small memory BSP.
2009-08-17 21:18:53 +00:00
Joel Sherrill
118472cf87 2009-08-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* aclocal/check-networking.m4: Disable BSD TCP/IP for small memory
	targets.
2009-08-17 21:18:34 +00:00
Joel Sherrill
4f79a900cb Revert configure.ac change. 2009-08-17 17:44:36 +00:00
Joel Sherrill
49325ef13c 2009-08-17 Santosh G Vattam <vattam.santosh@gmail.com>
* configure.ac, psx05/init.c, psx05/psx05.scn: Add test case for
	initializing a recursize mutex.
2009-08-17 17:43:35 +00:00
Joel Sherrill
58dbfd7c61 2009-08-17 Santosh G Vattam <vattam.santosh@gmail.com>
* sp65/init.c: Remove stray print.
	* sp65/sp65.doc: Add information on second case.
2009-08-17 17:42:21 +00:00
Till Straumann
07ed2f879c 2009-08-17 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c, network/if_tsec_pub.h:
	Fixed bugs in multicast support; added reference-count
	for hash-table entries which allows for the implementation
	of a 'deletion' routine.
	NOTE: mcast support largely untested.
2009-08-17 14:25:28 +00:00
Joel Sherrill
e0d71f7a56 2009-08-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/clockget.c: Restructure to ease coverage analysis of
	deprecated routine.
2009-08-17 13:31:20 +00:00
Joel Sherrill
400a04a200 2009-08-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libi2c/libi2c.c: Fix warnings.
2009-08-16 15:15:01 +00:00
Joel Sherrill
e958d79b33 2009-08-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* termios01/init.c, termios01/termios01.scn: Add a few error paths to
	complete coverage of termios_XXX_to_YYY() methods.
2009-08-15 22:29:38 +00:00
Joel Sherrill
8e582082e2 2009-08-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/termios_baud2num.c: B134 should return 134 not 135.
2009-08-15 20:59:23 +00:00
Joel Sherrill
4d5b156c2c 2009-08-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add new test to exercise tcgetattr and
	tcsetattr. Does a variety of baud, parity, stop bits, and bits per
	character with the assistance of a special test driver which prints
	the requests.
	* termios01/.cvsignore, termios01/Makefile.am, termios01/init.c,
	termios01/termios01.doc, termios01/termios01.scn,
	termios01/termios_testdriver.c, termios01/termios_testdriver.h: New files.
2009-08-15 17:54:48 +00:00
Joel Sherrill
146301d36b 2009-08-13 Santosh G Vattam <vattam.santosh@gmail.com>
* sp65/init.c, sp65/sp65.doc, sp65/sp65.scn: Add new test case to
	verify that obtaining a priority ceiling mutex when the calling
	task's priority is the same as the priority ceiling is handled
	correctly.
2009-08-14 01:10:23 +00:00
Joel Sherrill
b1c98115f6 2009-08-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, timer/timer.c: Fix warnings and typos.
2009-08-13 19:14:14 +00:00
Joel Sherrill
717391f502 2009-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/malloc_boundary.c: This is currently non-funcitonal.
	Do not build it when doing coverage until it works again.
	* sapi/include/confdefs.h: Address linking errors when building for
	configuration.
2009-08-12 20:53:33 +00:00
Joel Sherrill
4e76c71cd0 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/include/tmacros.h: Eliminate test routines TICKS_PER_SECOND
	and get_ticks_per_second() in favor of new
	rtems_clock_get_ticks_per_second().
2009-08-12 20:50:51 +00:00
Joel Sherrill
1f7ee0275b 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp02/task1.c, sp02/task2.c, sp02/task3.c, sp03/task2.c, sp05/task1.c,
	sp05/task2.c, sp05/task3.c, sp06/task1.c, sp06/task2.c,
	sp09/screen02.c, sp09/screen04.c, sp09/screen06.c, sp09/screen07.c,
	sp09/screen10.c, sp09/screen12.c, sp09/screen13.c, sp09/screen14.c,
	sp11/task1.c, sp11/task2.c, sp12/pridrv.c, sp12/pritask.c,
	sp12/task1.c, sp13/task1.c, sp13/task2.c, sp14/task1.c, sp16/task1.c,
	sp16/task4.c, sp19/fptask.c, sp19/task1.c, sp22/task1.c,
	sp24/task1.c, sp26/task1.c, sp29/init.c, sp30/task1.c, sp31/task1.c,
	sp33/init.c, sp45/init.c, sp46/init.c, sp50/init.c,
	spintrcritical06/init.c, spwatchdog/task1.c: Eliminate test routines
	TICKS_PER_SECOND and get_ticks_per_second() in favor of new
	rtems_clock_get_ticks_per_second().
2009-08-12 20:50:43 +00:00
Joel Sherrill
99f0971146 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* cdtest/main.cc, fileio/init.c, fileio/system.h, pppd/pppdapp.c,
	ticker/system.h, ticker/tasks.c: Eliminate test routines
	TICKS_PER_SECOND and get_ticks_per_second() in favor of new
	rtems_clock_get_ticks_per_second().
2009-08-12 20:50:38 +00:00
Joel Sherrill
c9460e17ed 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxfile01/test.c, psxstat/test.c, psxtime/test.c: Eliminate test
	routines TICKS_PER_SECOND and get_ticks_per_second() in favor of new
	rtems_clock_get_ticks_per_second().
2009-08-12 20:50:35 +00:00
Joel Sherrill
9992cac496 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* mp01/task1.c, mp02/task1.c, mp03/task1.c, mp05/task1.c, mp06/task1.c,
	mp07/task1.c, mp08/task1.c, mp09/recvmsg.c, mp09/sendmsg.c,
	mp09/task1.c, mp10/init.c, mp12/init.c, mp13/init.c, mp13/task1.c,
	mp13/task2.c, mp14/evtask1.c, mp14/init.c: Eliminate test routines
	TICKS_PER_SECOND and get_ticks_per_second() in favor of new
	rtems_clock_get_ticks_per_second().
2009-08-12 20:50:29 +00:00
Joel Sherrill
de7adafc8c 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/task1.c, stackchk/task1.c: Eliminate test routines
	TICKS_PER_SECOND and get_ticks_per_second() in favor of new
	rtems_clock_get_ticks_per_second().
2009-08-12 20:50:26 +00:00
Joel Sherrill
6d1e9b8bf9 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* itrontask01/task1.c, itrontask02/dormant.c, itrontask03/task1.c,
	itrontask03/task2.c, itrontask03/task3.c, itrontask04/task3.c:
	Eliminate test routines TICKS_PER_SECOND and get_ticks_per_second()
	in favor of new rtems_clock_get_ticks_per_second().
2009-08-12 20:50:24 +00:00
Joel Sherrill
6620c1852d 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* src/irq-legacy.c: Spacing, tabs, and proper format for license
	notice.
2009-08-12 19:53:30 +00:00
Joel Sherrill
07e6793035 2009-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/Makefile.am: Obsolete coverage file.
	* libcsupport/src/end_profile.c: Removed.
2009-08-12 17:12:29 +00:00
Joel Sherrill
3390ba8832 2009-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/Makefile.am, libcsupport/preinstall.am,
	posix/Makefile.am, posix/preinstall.am, rtems/Makefile.am,
	rtems/preinstall.am, score/Makefile.am, score/preinstall.am: Revert
	modifications accidentally committed.
2009-08-12 14:20:20 +00:00
Joel Sherrill
160a0e0b97 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp65/init.c: Add semi-colon to end of rtems_semaphore_create call.
	Change attributes to priority ceiling. Use directive_failed, not
	assert. Configure a semaphore not a region.
2009-08-12 13:11:21 +00:00
Joel Sherrill
79a0a6a9da 2009-08-12 Santosh G Vattam <vattam.santosh@gmail.com>
* ChangeLog, Makefile.am, configure.ac: Add new test for some core
	mutex cases.
	* sp65/.cvsignore, sp65/Makefile.am, sp65/init.c, sp65/sp65.doc,
	sp65/sp65.scn: New files.
2009-08-12 13:09:36 +00:00
Ralf Corsepius
e59930a91b Set default osname fedora-11. 2009-08-12 03:49:04 +00:00
Joel Sherrill
877de9773c 2009-08-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/debug.h: Fix typo.
2009-08-11 19:00:45 +00:00
Joel Sherrill
8d4434eb6d 2009-08-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical01/init.c, spintrcritical06/init.c: Use 1 millisecond
	per tick.
2009-08-11 18:49:59 +00:00
Joel Sherrill
c8ce082564 2009-08-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, sp62/init.c, sp64/init.c: Add new test and
	adjust existing for alignment. New test ensures coverage begin and
	end marker methods are exercised so they do not get considered
	unexecuted.
	* spcoverage/.cvsignore, spcoverage/Makefile.am, spcoverage/init.c,
	spcoverage/spcoverage.doc, spcoverage/spcoverage.scn: New files.
2009-08-11 17:53:09 +00:00
Joel Sherrill
cdfe85a7f3 2009-08-11 Josh Switnicki <josh.switnicki@utoronto.ca>
* cpu.c, cpu_asm.S, rtems/score/cpu.h: Fix bug in
	_CPU_Context_Initialize.
2009-08-11 17:03:01 +00:00
Joel Sherrill
79d490aa58 2009-08-10 Roxana Leontie <roxana.leontie@gmail.com>
* fb/fb.c: function calls renamed; defined references to the extern
	functions
	* fb/fb.h: Removed.
	* Makefile.am: Reflect removal.
	* preinstall.am: Regenerated.
2009-08-10 19:26:27 +00:00
Joel Sherrill
7c11edfd82 2009-08-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to exercise legacy
	rtems_clock_get().
	* spclockget/.cvsignore, spclockget/Makefile.am, spclockget/init.c,
	spclockget/spclockget.doc, spclockget/spclockget.scn: New files.
2009-08-10 17:04:50 +00:00
Joel Sherrill
439aade0f8 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/network/elnk.c: Convert calls to legacy routine
	rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
2009-08-10 16:53:30 +00:00
Joel Sherrill
33e7fc3e8a 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/console.c: Convert calls to legacy routine rtems_clock_get(
	RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
2009-08-10 16:52:54 +00:00
Joel Sherrill
cdd352ef07 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/flash/spansionFlash.c: Convert calls to legacy routine
	rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
2009-08-10 16:52:34 +00:00
Joel Sherrill
f0266e1693 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/__times.c, libfs/src/nfsclient/src/nfsTest.c,
	libfs/src/nfsclient/src/rpcio.c: Convert calls to legacy routine
	rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
2009-08-10 16:10:37 +00:00