Commit Graph

13558 Commits

Author SHA1 Message Date
Ralf Corsepius
ff0841958d Don't include rtems/posix/time.h 2007-04-13 03:19:11 +00:00
Ralf Corsepius
84d1cc30e8 2007-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/nanosleep.c: Include rtems/score/timespec.h instead of
	  rtems/posix/time.h.
2007-04-13 03:13:23 +00:00
Ralf Corsepius
7a5e8fb6ce 2007-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/object.h: Use size_t for byte sizes.
2007-04-13 03:10:03 +00:00
Joel Sherrill
abee2fde21 2007-04-12 Joel Sherrill <joel@OARcorp.com>
* itron/src/rsm_tsk.c: Correct error returned.
2007-04-12 19:42:34 +00:00
Ralf Corsepius
93c158a0de 2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove "*cpp:". Remove qrtems_debug.
2007-04-12 05:20:39 +00:00
Ralf Corsepius
e3fe18d088 2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove qrtems_debug.
2007-04-12 05:17:50 +00:00
Ralf Corsepius
46898a6b55 2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove qrtems_debug.
	Remove *cpp:.
2007-04-12 05:15:13 +00:00
Ralf Corsepius
58d4947df1 changes 2007-04-12 04:41:27 +00:00
Ralf Corsepius
f2ba1ad1db Cosmetics. 2007-04-12 04:13:10 +00:00
Ralf Corsepius
2679eb9d04 2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove qrtems_debug.
2007-04-12 04:09:22 +00:00
Ralf Corsepius
71c4d680e1 2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove qrtems_debug.
2007-04-12 03:22:58 +00:00
Ralf Corsepius
80c6ce9ed5 2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove qrtems_debug.
2007-04-12 03:07:36 +00:00
Ralf Corsepius
2948f70ad5 2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove qrtems_debug.
2007-04-12 02:50:11 +00:00
Ralf Corsepius
bff4b94644 2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove qrtems_debug.
2007-04-12 02:15:52 +00:00
Joel Sherrill
3f37d12402 Formatting. 2007-04-10 11:28:00 +00:00
Ralf Corsepius
db65cf7843 2007-04-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove lib: (Now supposed to be in GCC).
2007-04-10 06:31:26 +00:00
Ralf Corsepius
8095e0c154 2007-04-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Use old_link for -qrtems (Prevents *.link from killing
	endianness).
2007-04-10 05:11:36 +00:00
Ralf Corsepius
9a9668aeb8 2007-04-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Use nostdlib instead of nostdlibs (bogus).
	* bsp_specs: Use old_link for -qrtems (Prevents *.link from killing
	endianness).
2007-04-09 16:09:49 +00:00
Ralf Corsepius
faa5687d67 2007-04-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Use nostdlib instead of nostdlibs (bogus).
2007-04-09 16:07:57 +00:00
Ralf Corsepius
f7d92471a8 2007-04-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Use old_link for -qrtems (Prevents *.link from killing
	endianness).
2007-04-09 16:00:24 +00:00
Thomas Doerfler
d59cae9773 adapted BSP "motorola_powerpc" to support MVME24xx 2007-04-09 14:30:49 +00:00
Ralf Corsepius
2fb30358d7 2007-04-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove --oformat=...
	Use old_link for -qrtems (Prevents *.link from killing endianness).
2007-04-09 11:30:40 +00:00
Ralf Corsepius
befa0042cd 2007-04-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
	(Fixes "relocation truncated to fit: R_MIPS_GPREL16" agains
	impure_ptr bug).
	Fix abuse of _REENT_INIT().
2007-04-09 11:23:12 +00:00
Ralf Corsepius
382c020085 Add mips .sdata handling from GCC-4.2 2007-04-09 09:55:02 +00:00
Ralf Corsepius
0e944ec312 Bump GCC_RPMREL. 2007-04-09 09:54:02 +00:00
Ralf Corsepius
bf740cf4b9 Upgrade to gcc-core-4.1.2-rtems4.8-20070405.diff 2007-04-09 09:53:46 +00:00
Ralf Corsepius
35439f37a0 2007-04-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove lib (Now expected to exist in GCC).
2007-04-06 05:47:04 +00:00
Ralf Corsepius
a4819530f4 2007-04-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove lib (Now expected to exist in GCC).
2007-04-06 05:38:27 +00:00
Joel Sherrill
63f786e7c8 2007-04-05 Joel Sherrill <joel@OARcorp.com>
* itron/src/itrontime.c: Fix typo.
	* score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
	* score/src/iterateoverthreads.c: Safely take NULL as argument.
	* score/src/threaddispatch.c: Formatting.
2007-04-05 22:13:08 +00:00
Joel Sherrill
afc0a39cce 2007-04-05 Joel Sherrill <joel@OARcorp.com>
* posix/Makefile.am: Fix formatting.
2007-04-05 22:11:32 +00:00
Joel Sherrill
dba34ed39b 2007-04-05 Joel Sherrill <joel@OARcorp.com>
* spsize/size.c: _TOD_Seconds_since_epoch eliminated as a variable.
2007-04-05 22:09:46 +00:00
Joel Sherrill
75ef2d52da 2007-04-05 Joel Sherrill <joel@OARcorp.com>
* clock/clock.c: Removed. File is unused in current source.
2007-04-05 21:46:28 +00:00
Joel Sherrill
412dbff629 2007-04-05 Joel Sherrill <joel@OARcorp.com>
* posix/Makefile.am, posix/include/rtems/posix/time.h,
	posix/src/adjtime.c, posix/src/alarm.c, posix/src/clockgetres.c,
	posix/src/condtimedwait.c, posix/src/mqueuetimedreceive.c,
	posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c,
	posix/src/nanosleep.c, posix/src/posixtimespecabsolutetimeout.c,
	posix/src/pthread.c, posix/src/pthreadcreate.c,
	posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c,
	posix/src/sched.c, posix/src/semtimedwait.c,
	posix/src/sigtimedwait.c, posix/src/ualarm.c,
	rtems/src/clocktodtoseconds.c, score/Makefile.am,
	score/preinstall.am, score/include/rtems/score/tod.h,
	score/inline/rtems/score/tod.inl, score/src/coretod.c,
	score/src/coretodget.c, score/src/coretodgetuptime.c,
	score/src/coretodset.c, score/src/coretodtickle.c: Provide timespec
	manipulation routines in the SuperCore. Use them everywhere possible.
	This lead to significant cleanup in the API routines and eliminated
	some of the same code from the POSIX API. At this point, the
	SuperCore keeps time in POSIX timespec format properly from 1970. You
	just cannot set it before 1988 in keeping with RTEMS traditional
	behavior.
	* score/include/rtems/score/timespec.h, score/src/timespecaddto.c,
	score/src/timespecfromticks.c, score/src/timespecisvalid.c,
	score/src/timespeclessthan.c, score/src/timespecsubtract.c,
	score/src/timespectoticks.c: New files.
	* posix/src/posixintervaltotimespec.c,
	posix/src/posixtimespecsubtract.c,
	posix/src/posixtimespectointerval.c: Removed.
2007-04-05 21:17:27 +00:00
Joel Sherrill
8ff5e59dd4 2007-04-05 Joel Sherrill <joel@OARcorp.com>
* nsecs/init.c: Provide timespec manipulation routines in the
	SuperCore. Use them everywhere possible. Perhaps they should be part
	of the public API so this test and others can use them without
	peeking into the bowels.
2007-04-05 21:15:40 +00:00
Joel Sherrill
68e2f0746e 2007-04-05 Joel Sherrill <joel@OARcorp.com>
* psx01/init.c, psx01/psx01.scn: Adjust test to account for nanosleep()
	behavior more closely matching GNU/Linux.
2007-04-05 21:14:24 +00:00
Joel Sherrill
d51ecd6369 2007-04-05 Joel Sherrill <joel@OARcorp.com>
* user/example.texi: Change all obsoleted CONFIGURE_TEST_NEEDS_XXX
	configuration constants to CONFIGURE_APPLICATION_NEEDS_XXX.
2007-04-05 15:27:18 +00:00
Joel Sherrill
540de0e566 2007-04-05 Joel Sherrill <joel@OARcorp.com>
* user/task.t: Add rtems_iterate_over_all_threads.
2007-04-05 15:24:32 +00:00
Joel Sherrill
ed902c2423 2007-04-05 Joel Sherrill <joel@OARcorp.com>
* mptests/mp01/config.h, samples/base_sp/config.h,
	samples/hello/config.h, samples/ticker/config.h,
	sptests/sp01/config.h, sptests/sp02/config.h, sptests/sp03/config.h,
	sptests/sp04/config.h, sptests/sp05/config.h, sptests/sp06/config.h,
	sptests/sp07/config.h, sptests/sp08/config.h, sptests/sp09/config.h,
	sptests/sp11/config.h, sptests/sp12/config.h, sptests/sp13/config.h,
	sptests/sp14/config.h, sptests/sp15/config.h, sptests/sp16/config.h,
	sptests/sp17/config.h, sptests/sp19/config.h, sptests/sp20/config.h,
	sptests/sp21/config.h, sptests/sp22/config.h, sptests/sp23/config.h,
	sptests/sp24/config.h, sptests/sp25/config.h, tmtests/tm01/config.h,
	tmtests/tm02/config.h, tmtests/tm03/config.h, tmtests/tm04/config.h,
	tmtests/tm05/config.h, tmtests/tm06/config.h, tmtests/tm07/config.h,
	tmtests/tm08/config.h, tmtests/tm09/config.h, tmtests/tm10/config.h,
	tmtests/tm11/config.h, tmtests/tm12/config.h, tmtests/tm13/config.h,
	tmtests/tm14/config.h, tmtests/tm15/config.h, tmtests/tm16/config.h,
	tmtests/tm17/config.h, tmtests/tm18/config.h, tmtests/tm19/config.h,
	tmtests/tm20/config.h, tmtests/tm21/config.h, tmtests/tm22/config.h,
	tmtests/tm23/config.h, tmtests/tm24/config.h, tmtests/tm25/config.h,
	tmtests/tm28/config.h, tmtests/tm29/config.h, tmtests/tmck/config.h,
	tmtests/tmoverhd/config.h: Change all obsoleted
	CONFIGURE_TEST_NEEDS_XXX configuration constants to
	CONFIGURE_APPLICATION_NEEDS_XXX.
2007-04-05 15:23:29 +00:00
Joel Sherrill
67293f654c 2007-04-05 Joel Sherrill <joel@OARcorp.com>
* sp34/changepri.c, sp35/priinv.c: Change all obsoleted
	CONFIGURE_TEST_NEEDS_XXX configuration constants to
	CONFIGURE_APPLICATION_NEEDS_XXX.
2007-04-05 15:23:01 +00:00
Joel Sherrill
b9bea9f74d 2007-04-05 Joel Sherrill <joel@OARcorp.com>
* loopback/init.c: Change all obsoleted CONFIGURE_TEST_NEEDS_XXX
	configuration constants to CONFIGURE_APPLICATION_NEEDS_XXX.
2007-04-05 15:22:58 +00:00
Joel Sherrill
fc054cabb5 2007-04-04 Joel Sherrill <joel@OARcorp.com>
* score/Makefile.am, score/include/rtems/score/tod.h,
	score/inline/rtems/score/tod.inl: Make _TOD_Tickle_ticks a real
	non-inlined routine. It should only be used once so there is little
	advantage to inlining it.
	* score/src/coretodtickle.c: New file.
2007-04-04 13:54:10 +00:00
Joel Sherrill
551db24a70 2007-04-02 Joel Sherrill <joel@OARcorp.com>
* posix/Makefile.am, score/src/objectgetnoprotection.c: Eliminate some
	dead code.
	* posix/src/time.c: Removed.
2007-04-02 22:06:18 +00:00
Joel Sherrill
191eec9320 2007-04-02 Joel Sherrill <joel@OARcorp.com>
* clock/ckinit.c: Eliminate TOD_Ticks_per_second variable.
2007-04-02 21:52:14 +00:00
Joel Sherrill
dfa1f0bcad 2007-04-02 Joel Sherrill <joel@OARcorp.com>
* spsize/size.c: Eliminate TOD_Ticks_per_second variable.
2007-04-02 21:52:05 +00:00
Joel Sherrill
f6e09342ee 2007-04-02 Joel Sherrill <joel@OARcorp.com>
* posix/include/rtems/posix/timer.h, posix/src/alarm.c,
	posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
	posix/src/sysconf.c, posix/src/ualarm.c, rtems/src/clockget.c,
	rtems/src/clocktodvalidate.c, score/include/rtems/score/tod.h,
	score/inline/rtems/score/tod.inl, score/src/coretod.c: Eliminate
	TOD_Ticks_per_second variable.
2007-04-02 21:51:52 +00:00
Joel Sherrill
a6ec372127 2007-04-02 Jennifer Averett <jennifer.averrett@oarcorp.com>
* rtems.adb, rtems.ads: Update.
2007-04-02 20:53:05 +00:00
Joel Sherrill
3c68f96d7a 2007-04-02 Joel Sherrill <joel@OARcorp.com>
* spsize/size.c: Convert from Classic API style TOD_Control as
	fundamental time structure to POSIX struct timespec. Add
	clock_get_uptime().
2007-04-02 18:24:13 +00:00
Joel Sherrill
23a0105a78 2007-04-02 Joel Sherrill <joel@OARcorp.com>
* Makefile.am, configure.ac: Convert from Classic API style TOD_Control
	as fundamental time structure to POSIX struct timespec. Add
	clock_get_uptime().
	* nsecs/.cvsignore, nsecs/Makefile.am, nsecs/init.c, nsecs/nsecs.doc,
	nsecs/nsecs.scn: New files.
2007-04-02 18:24:10 +00:00
Joel Sherrill
812da54688 2007-04-02 Joel Sherrill <joel@OARcorp.com>
* itron/src/itrontime.c, libcsupport/src/__gettod.c,
	posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
	posix/src/clockgettime.c, posix/src/clocksettime.c,
	posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c,
	posix/src/posixtimespectointerval.c, posix/src/ptimer1.c,
	posix/src/sleep.c, rtems/Makefile.am,
	rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h,
	rtems/include/rtems/rtems/types.h, rtems/src/clockget.c,
	rtems/src/clockset.c, rtems/src/clocktodtoseconds.c,
	rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c,
	score/Makefile.am, score/include/rtems/score/tod.h,
	score/inline/rtems/score/tod.inl, score/src/coretod.c,
	score/src/coretodset.c: Convert from Classic API style TOD_Control as
	fundamental time structure to POSIX struct timespec. Add
	clock_get_uptime().
	* rtems/src/clockgetuptime.c, score/src/coretodget.c,
	score/src/coretodgetuptime.c: New files.
	* score/src/coretodtickle.c, score/src/coretodtoseconds.c,
	score/src/coretodvalidate.c: Removed.
2007-04-02 18:23:59 +00:00
Joel Sherrill
bf4d016650 2007-04-02 Joel Sherrill <joel@OARcorp.com>
* user/clock.t: Add clock_get_uptime().
2007-04-02 18:22:56 +00:00