Commit Graph
18544 Commits
Author SHA1 Message Date
Ralf Corsepius 52a634e998 2008-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require stdint.h.
2008-12-17 06:39:14 +00:00
Ralf Corsepius 314b835657 2008-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/m68k.h: Don't include rtems/score/types.h,
	rtems/stdint.h.
2008-12-17 06:35:31 +00:00
Ralf Corsepius 654574bd8f 2008-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* GT64260/MVME5500I2C.c: Include <stdint.h> instead of
	<rtems/stdint.h>.
2008-12-17 06:14:10 +00:00
Ralf Corsepius 7ebc58c0dd 2008-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/timespec.h: #include <stdint.h>,
	#include <time.h>. Remove bogus #include <sys/types.h>.
2008-12-17 05:53:04 +00:00
Ralf Corsepius 36225a23f3 #include <stdint.h>, #include <time.h>. Remove bogus #include <sys/types.h>. 2008-12-17 05:52:53 +00:00
Joel Sherrill e47948c218 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/monitor/mon-config.c: Configuration table entry
	work_space_size was not removed.
2008-12-16 23:36:19 +00:00
Joel Sherrill b0f45d8fc1 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/network/i82586.c, libchip/network/smc91111config.h: Eliminate
	all public use of TOD conversion routines.
2008-12-16 21:58:18 +00:00
Joel Sherrill 69e10f3e95 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* spsize/size.c: Eliminate _TOD_Microseconds_per_tick.
2008-12-16 20:56:40 +00:00
Joel Sherrill 27b2c34b98 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* capture/test1.c: Eliminate all public use of TOD conversion routines.
2008-12-16 20:56:14 +00:00
Joel Sherrill e85d043f0c 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/rtems++/rtemsEvent.h, include/rtems++/rtemsMessageQueue.h,
	include/rtems++/rtemsSemaphore.h, include/rtems++/rtemsTimer.h,
	src/rtemsTask.cc: Eliminate all public use of TOD conversion
	routines.
2008-12-16 20:55:45 +00:00
Joel Sherrill 26fb4aadcd 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libblock/src/bdbuf.c, libmisc/capture/capture-cli.c,
	libmisc/capture/capture.c, libmisc/mw-fb/mw_uid.c,
	rtems/include/rtems/rtems/support.h, score/Makefile.am,
	score/include/rtems/score/tod.h, score/src/coretod.c,
	score/src/coretodtickle.c: Eliminate all public use of TOD conversion
	routines. Eliminate _TOD_Microseconds_per_tick and let every place
	use the field directly from the Configuration Table. This required
	moving some methods from macros to bodies.
	* score/src/coretodmsecstoticks.c, score/src/coretodtickspersec.c,
	score/src/coretodusectoticks.c: New files.
2008-12-16 20:53:34 +00:00
Joel Sherrill 57a9e60730 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/rtems++/rtemsTimer.h: Use public API not
	_TOD_Microseconds_per_tick.
2008-12-16 17:44:22 +00:00
Joel Sherrill 3d66dfc1cb 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/__times.c, posix/src/adjtime.c,
	posix/src/clockgetres.c, posix/src/sysconf.c,
	rtems/src/clockgettickspersecond.c, rtems/src/clockgettod.c,
	rtems/src/clockset.c, rtems/src/clocktodvalidate.c,
	score/src/timespecfromticks.c, score/src/timespectoticks.c,
	score/src/ts64toticks.c: More case converted to use configuration
	table entry not _TOD_Microseconds_per_tick.
2008-12-16 17:36:01 +00:00
Joel Sherrill 237f4611d2 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libgnat/adasupp.c: Add helper method so Ada binding does not
	reference _TOD_Microseconds_per_tick.
2008-12-16 15:59:26 +00:00
Joel Sherrill b3a4579e94 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems.adb: Use public API not _TOD_Microseconds_per_tick.
2008-12-16 15:58:56 +00:00
Joel Sherrill bbd7ea22e1 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/rtems++/rtemsEvent.h, include/rtems++/rtemsMessageQueue.h,
	include/rtems++/rtemsSemaphore.h, src/rtemsTask.cc: Use public API
	not _TOD_Microseconds_per_tick.
2008-12-16 15:58:50 +00:00
Joel Sherrill 2b9968add9 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/rtems/config.h: Remove commented out lines. Add macro
	for rtems_configuration_get_nanoseconds_per_tick().
2008-12-16 15:39:49 +00:00
Ralf Corsepius cf53d16b6a Regenerate. 2008-12-16 05:48:59 +00:00
Ralf Corsepius 0c094d1ea8 Update to newlib-1.16.0.cvs.20081216. 2008-12-16 05:47:53 +00:00
Ralf Corsepius 35feceaea2 Rebase against upstream newlib. 2008-12-16 05:46:37 +00:00
Joel Sherrill 71d0488b6c 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* bootcard.c: Eliminate pointers to API configuration tables in the
	main configuration table. Reference the main configuration table and
	the API configuration tables directly using the confdefs.h version
	rather than obtaining a pointer to it. This eliminated some
	variables, a potential fatal error, some unnecessary default
	configuration structures. Overall, about a 4.5% reduction in the code
	size for minimum and hello on the SPARC.
2008-12-15 19:22:36 +00:00
Joel Sherrill 19d2b5a469 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/init.t: Eliminate pointers to API configuration tables in the
	main configuration table. Reference the main configuration table and
	the API configuration tables directly using the confdefs.h version
	rather than obtaining a pointer to it. This eliminated some
	variables, a potential fatal error, some unnecessary default
	configuration structures. Overall, about a 4.5% reduction in the code
	size for minimum and hello on the SPARC.
2008-12-15 19:22:26 +00:00
Joel Sherrill bb9c80df45 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, spfatal06/testcase.h,
	spfatal07/testcase.h, spfatal08/testcase.h, spfatal09/testcase.h,
	spsize/size.c: Eliminate pointers to API configuration tables in the
	main configuration table. Reference the main configuration table and
	the API configuration tables directly using the confdefs.h version
	rather than obtaining a pointer to it. This eliminated some
	variables, a potential fatal error, some unnecessary default
	configuration structures. Overall, about a 4.5% reduction in the code
	size for minimum and hello on the SPARC.
	* spfatal10/.cvsignore, spfatal10/Makefile.am, spfatal10/spfatal10.scn,
	spfatal10/testcase.h: Removed.
2008-12-15 19:21:10 +00:00
Joel Sherrill aac75d3b9b 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/rtems/itron/itronapi.h, libmisc/capture/capture.c,
	libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
	libmisc/monitor/mon-itask.c, libmisc/monitor/mon-mpci.c,
	posix/include/rtems/posix/config.h,
	posix/include/rtems/posix/posixapi.h,
	rtems/include/rtems/rtems/config.h,
	rtems/include/rtems/rtems/rtemsapi.h, rtems/src/taskinitusers.c,
	sapi/include/confdefs.h, sapi/include/rtems/config.h,
	sapi/include/rtems/init.h, sapi/src/exinit.c, sapi/src/itronapi.c,
	sapi/src/posixapi.c, sapi/src/rtemsapi.c, score/src/isr.c,
	score/src/thread.c, score/src/threadcreateidle.c,
	score/src/threadstackallocate.c, score/src/threadstackfree.c,
	score/src/wkspace.c: Eliminate pointers to API configuration tables
	in the main configuration table. Reference the main configuration
	table and the API configuration tables directly using the confdefs.h
	version rather than obtaining a pointer to it. This eliminated some
	variables, a potential fatal error, some unnecessary default
	configuration structures. Overall, about a 4.5% reduction in the code
	size for minimum and hello on the SPARC.
2008-12-15 19:21:01 +00:00
Joel Sherrill 197170b01c 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/types.h: Fix incorrect type name.
2008-12-15 19:09:49 +00:00
Joel Sherrill 64f1df3259 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Change sizes of heap/region and allocated objects
	in heap to intptr_t so they can be larger than a single allocatable
	object (e.g. size_t).
2008-12-15 14:50:25 +00:00
Joel Sherrill d32daa6a8a 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx05/init.c: Add parameter to call to sched_get_priority_max().
2008-12-14 23:56:21 +00:00
Joel Sherrill 41eb1e4090 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/realloc.c, rtems/include/rtems/rtems/region.h,
	rtems/src/regioncreate.c, rtems/src/regionextend.c,
	rtems/src/regiongetsegment.c, rtems/src/regiongetsegmentsize.c,
	rtems/src/regionmp.c, rtems/src/regionresizesegment.c,
	sapi/include/rtems/config.h, score/include/rtems/score/heap.h,
	score/include/rtems/score/protectedheap.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/pheapallocate.c,
	score/src/pheapallocatealigned.c, score/src/pheapextend.c,
	score/src/pheapgetblocksize.c, score/src/pheapresizeblock.c: Change
	sizes of heap/region and allocated objects in heap to intptr_t so
	they can be larger than a single allocatable object (e.g. size_t).
2008-12-14 22:48:54 +00:00
Joel Sherrill 1a0e1a7163 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/conf.t, user/region.t: Change sizes of heap/region and allocated
	objects in heap to intptr_t so they can be larger than a single
	allocatable object (e.g. size_t).
2008-12-14 22:48:33 +00:00
Joel Sherrill de48cb67a2 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* unlimited/init.c: Run all tests successfully with maxixum number of
	priorities as 16 instead of 256. This was done by temporarily
	modifying the score priority.h maximum. This allowed testing of all
	API code to ensure that it worked properly with a reduced number of
	priorities. Most modifications were to switch from hard-coded maximum
	to using the API provided methods to determine maximum number of
	priority levels.
2008-12-14 19:13:56 +00:00
Joel Sherrill 5abf63d983 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx05/init.c, psx07/init.c, psx09/init.c, psx11/init.c, psx12/init.c:
	Run all tests successfully with maxixum number of priorities as 16
	instead of 256. This was done by temporarily modifying the score
	priority.h maximum. This allowed testing of all API code to ensure
	that it worked properly with a reduced number of priorities. Most
	modifications were to switch from hard-coded maximum to using the API
	provided methods to determine maximum number of priority levels.
2008-12-14 18:41:18 +00:00
Joel Sherrill 11ef7b6a46 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* itrontask04/init.c: Run all tests successfully with maxixum number of
	priorities as 16 instead of 256. This was done by temporarily
	modifying the score priority.h maximum. This allowed testing of all
	API code to ensure that it worked properly with a reduced number of
	priorities. Most modifications were to switch from hard-coded maximum
	to using the API provided methods to determine maximum number of
	priority levels.
2008-12-14 18:39:44 +00:00
Joel Sherrill 4389287a39 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm01/task1.c, tm02/task1.c, tm03/task1.c, tm04/task1.c, tm05/task1.c,
	tm06/task1.c, tm07/task1.c, tm08/task1.c, tm09/task1.c, tm10/task1.c,
	tm11/task1.c, tm12/task1.c, tm13/task1.c, tm14/task1.c, tm16/task1.c,
	tm17/task1.c, tm18/task1.c, tm19/task1.c, tm20/task1.c, tm21/task1.c,
	tm23/task1.c, tm24/task1.c, tm25/task1.c, tm26/task1.c, tm27/task1.c,
	tm28/task1.c, tm29/task1.c, tmoverhd/testtask.c: Run all tests
	successfully with maxixum number of priorities as 16 instead of 256.
	This was done by temporarily modifying the score priority.h maximum.
	This allowed testing of all API code to ensure that it worked
	properly with a reduced number of priorities. Most modifications were
	to switch from hard-coded maximum to using the API provided methods
	to determine maximum number of priority levels.
2008-12-14 18:38:45 +00:00
Joel Sherrill a986c0757a 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp07/init.c, sp12/init.c, sp12/pridrv.c, sp12/pritask.c,
	sp12/system.h, sp16/system.h, sp25/system.h, sp26/task1.c,
	sp28/init.c, sp29/init.c, sp35/priinv.c, sp42/init.c: Run all tests
	successfully with maxixum number of priorities as 16 instead of 256.
	This was done by temporarily modifying the score priority.h maximum.
	This allowed testing of all API code to ensure that it worked
	properly with a reduced number of priorities. Most modifications were
	to switch from hard-coded maximum to using the API provided methods
	to determine maximum number of priority levels.
2008-12-14 18:36:00 +00:00
Joel Sherrill a6608123c0 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/src/chg_pri.c, itron/src/cre_tsk.c, itron/src/rot_rdq.c,
	posix/Makefile.am, posix/include/rtems/posix/mutex.h,
	posix/include/rtems/posix/priority.h, posix/src/mutex.c,
	score/include/rtems/score/priority.h: Run all tests successfully with
	maxixum number of priorities as 16 instead of 256. This was done by
	temporarily modifying the score priority.h maximum. This allowed
	testing of all API code to ensure that it worked properly with a
	reduced number of priorities. Most modifications were to switch from
	hard-coded maximum to using the SuperCore variable based upon
	configured number.
	* posix/src/mutexdefaultattributes.c: Removed.
2008-12-14 18:31:43 +00:00
Joel Sherrill 8f879c6754 2008-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/region.t: Malloc Family is not implemented in termios of Region
	Manager after 4.7. Correct documentation.
2008-12-12 14:44:27 +00:00
Joel Sherrill 0e35de90f1 2008-12-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
* bsp_howto/console.t: Remove size constraints on image. Fix a
	sentence.
2008-12-12 14:03:14 +00:00
Ralf Corsepius 45f3285d25 Fix broken info. 2008-12-12 10:04:07 +00:00
Ralf Corsepius 0d0dc2bde6 Regenerate. 2008-12-12 05:12:13 +00:00
Ralf Corsepius 569d4bd215 Re-base against upstream newlib. 2008-12-12 04:55:10 +00:00
Ralf Corsepius 94522086be Regenerate. 2008-12-12 04:54:29 +00:00
Ralf Corsepius 0f7b590732 newlib-1.16.0.cvs.20081212 2008-12-12 04:48:36 +00:00
Joel Sherrill dc09259b10 2008-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/address.inl: Make offset arguments intptr_t
	not int32_t.
2008-12-11 21:10:52 +00:00
Joel Sherrill 78aa0609b4 2008-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, cpu_asm.c: Remove warnings -- even if code is just temporary.
2008-12-11 21:10:26 +00:00
Ralf Corsepius 8e445f5c8c 2008-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/cpu.c: Add missing prototype.
2008-12-11 17:33:34 +00:00
Ralf Corsepius e2f587cea1 Add missing prototype. 2008-12-11 17:33:27 +00:00
Ralf Corsepius ee45afc3ce 2008-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/if_arp.h, libnetworking/net/route.h:
	Include <sys/socket.h> to make header self contained.
2008-12-11 17:28:42 +00:00
Ralf Corsepius fc2f722ac9 Include <sys/socket.h> to make header self contained. 2008-12-11 17:28:33 +00:00
Joel Sherrill 850bad68cc 2008-12-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrrill <joel.sherrill@oarcorp.com>

	* bsp_howto/Makefile.am, bsp_howto/console.t: Sebastian improved
	 documentation for termios device drivers.
	* bsp_howto/TERMIOSFlow.eps, bsp_howto/TERMIOSFlow.png: New files.
	Joel added Termios Flow figure from RTEMS Open Class material.
2008-12-11 15:51:13 +00:00
Ralf Corsepius 0cbc1501c4 2008-12-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* clock_driver_stub.c: Remove (unused).
2008-12-11 10:59:38 +00:00