Commit Graph
22127 Commits
Author SHA1 Message Date
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
Ralf Corsepius 5a232b6e48 2007-03-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* vmeUniverse/vmeUniverse.c: Use uint32_t for pci_ulong.
2007-03-31 01:49:53 +00:00
Ralf Corsepius a876455e12 2007-03-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* ne2000/ne2000.c (ne_interrupt_handler): Avoid warning.
2007-03-31 01:47:16 +00:00
Ralf Corsepius ec09d84f4d 2007-03-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/dec21140.c, libchip/network/if_dc.c,
	libchip/network/if_fxp.c: Reflect changes to pci-API.
2007-03-31 01:18:37 +00:00
Ralf Corsepius a2bb1dee28 2007-03-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/bootloader/bootldr.h, shared/bootloader/em86.c,
	shared/bootloader/pci.c, shared/bootloader/pci.h,
	shared/irq/irq_init.c, shared/pci/detect_raven_bridge.c,
	shared/pci/pci.c, shared/pci/pcifinddevice.c:
	Use stdint.h fixed-size types.
2007-03-31 01:15:26 +00:00
Ralf Corsepius 18a3bbeb0d Use stdint.h fixed-size types. 2007-03-31 01:14:39 +00:00
Ralf Corsepius f2a6ee017c 2007-03-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/pci.h: Further stdint.h fixed-size types.
2007-03-31 01:10:35 +00:00
Ralf Corsepius b620d34e19 2007-03-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* ne2000/ne2000.c: Remove typecast.
2007-03-30 09:58:53 +00:00
Ralf Corsepius 7d169ecd1a 2007-03-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/pci/pcibios.c, shared/pci/pcibios.h:
	Reflect changes to rtems/pci.h. Convert to using
	stdint fixed-size types.
2007-03-30 09:44:48 +00:00
Ralf Corsepius 8149a2debe Reflect changes to rtems/pci.h.
Convert to using stdint fixed-size types.
2007-03-30 08:42:57 +00:00
Ralf Corsepius f68663dc36 2007-03-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/elnk.c: Use ioctl_command_t as ioctl argument.
	* libchip/network/if_dc.c: Use ioctl_command_t as ioctl argument.
2007-03-30 07:45:06 +00:00
Ralf Corsepius bd5a6589a6 Use ioctl_command_t as ioctl argument. 2007-03-30 07:44:53 +00:00
Ralf Corsepius ee2371896d 2007-03-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/pci.h: Use stdint.h fixed size-types.
2007-03-30 07:23:12 +00:00
Ralf Corsepius 26f83151f6 2007-03-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
	* libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
2007-03-30 07:21:22 +00:00