Commit Graph

13540 Commits

Author SHA1 Message Date
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
Joel Sherrill
d4f82878ce 2007-04-02 Joel Sherrill <joel@OARcorp.com>
* libcsupport/src/printk.c: Add %p support.
2007-04-02 14:35:29 +00:00
Joel Sherrill
d8ec87b49c 2007-04-02 Joel Sherrill <joel@OARcorp.com>
* libmisc/stackchk/check.c: Add code to check validity of frame pointer
	in addition to the pattern area being overwritten. Also do some
	cleanup.
2007-04-02 14:33:59 +00:00
Ralf Corsepius
26292d3dc9 2007-04-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/pci/pci.c: More stdint.h fixed-size types.
2007-04-02 12:08:48 +00:00
Ralf Corsepius
9c948b795b More stdint.h fixed-size types. 2007-04-02 12:08:36 +00:00
Ralf Corsepius
874fb27f4a Use uint*_t instead of char/short/int. 2007-04-02 12:01:49 +00:00
Ralf Corsepius
5da9ab141b 2007-04-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/include/byteorder.h: Use uint*_t instead of char/short/int.
2007-04-02 12:01:26 +00:00
Joel Sherrill
4b2571900f 2007-04-02 Joel Sherrill <joel@OARcorp.com>
* dummy_printk_support.c: New file.
2007-04-02 11:15:58 +00:00
Joel Sherrill
3002831b47 2007-04-02 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Add dummy printk support so all tests link.
2007-04-02 11:15:31 +00:00
Joel Sherrill
b348db5f10 2007-04-02 Joel Sherrill <joel@OARcorp.com>
* Makefile.am, configure.ac: Add dummy printk support so all tests
	link.
2007-04-02 11:14:48 +00:00
Joel Sherrill
f056a6e8da 2007-04-01 Joel Sherrill <joel@OARcorp.com>
PR 1235/bsps
	* pci/pci.c: Add conditional declaration of variables used in debug
	printk's.
2007-04-01 15:38:30 +00:00
Ralf Corsepius
513b327b1e 2007-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/dec21140.c, libchip/network/elnk.c: i386-specific
	adjustments to pci-API changes.
2007-04-01 04:00:21 +00:00
Ralf Corsepius
6542918f0e i386-specific adjustments to pci-API changes. 2007-04-01 04:00:10 +00:00
Ralf Corsepius
767874343e 2007-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/rsPMCQ1.c, irq/irq_init.c: Reflect changes to pci-API.
2007-04-01 03:24:47 +00:00
Ralf Corsepius
1f7deff805 Reflect changes to pci-API. 2007-04-01 03:24:38 +00:00
Ralf Corsepius
0f720a7070 2007-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/dec21140.c, libchip/network/elnk.c,
	libchip/network/if_dc.c: powerpc-specific adjustments to pci-API
	changes.
2007-04-01 03:20:23 +00:00
Ralf Corsepius
71cfbb8fb6 powerpc-specific adjustments to pci-API changes. 2007-04-01 03:20:09 +00:00
Ralf Corsepius
294638bc7a 2007-03-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* pci/detect_host_bridge.c, pci/pci.c, pci/pcifinddevice.c:
	Reflect changes to pci-API.
2007-03-31 04:05:42 +00:00
Ralf Corsepius
e99a41f57c Reflect changes to pci-API. 2007-03-31 04:05:28 +00:00