Commit Graph

3961 Commits

Author SHA1 Message Date
Ralf Corsepius
9e0abe51a1 Use Context_Control_fp* instead of void* for fp_contexts.
Eliminate evil casts.
2007-04-17 05:05:39 +00:00
Ralf Corsepius
241e505644 Fix bogus ChangeLog entries. 2007-04-17 05:03:59 +00:00
Ralf Corsepius
3c577510c8 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h:
	  Use Context_Control_fp* instead of void* for fp_contexts.
2007-04-17 05:03:24 +00:00
Ralf Corsepius
50650ed3ea 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h:
	  Use Context_Control_fp* instead of void* for fp_contexts.
	  Eliminate evil casts.
2007-04-17 05:02:29 +00:00
Ralf Corsepius
0aa0ef63c5 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu.c:
	  Use Context_Control_fp* instead of void* for fp_contexts.
	* rtems/score/cpu.h:
	  Use Context_Control_fp* instead of void* for fp_contexts.
	  Eliminate evil casts.
2007-04-17 05:01:15 +00:00
Ralf Corsepius
cd6867a923 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/cpu/i386/rtems/score/cpu.h:
	  Use Context_Control_fp* instead of void* for fp_contexts.
2007-04-17 04:55:59 +00:00
Ralf Corsepius
3c86f88536 Use Context_Control_fp* instead of void* for fp_contexts. 2007-04-17 04:55:44 +00:00
Ralf Corsepius
832d41244e 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/cpu/sparc/cpu.c:
	  Use Context_Control_fp* instead of void* for fp_contexts.
	* score/cpu/sparc/rtems/score/cpu.h, score/cpu/unix/rtems/score/cpu.h:
	  Use Context_Control_fp* instead of void* for fp_contexts.
	  Eliminate evil casts.
	* score/include/rtems/score/thread.h:
	  Use Context_Control_fp* instead of void* for fp_contexts.
2007-04-17 04:52:08 +00:00
Ralf Corsepius
ada7b9e142 Use Context_Control_fp* instead of void* for fp_contexts. Eliminate evil casts. 2007-04-17 04:49:05 +00:00
Ralf Corsepius
ccb09f6b86 Use Context_Control_fp* instead of void* for fp_contexts. Eliminate evil casts. 2007-04-17 04:42:37 +00:00
Joel Sherrill
029c1fd8e3 2007-04-16 Joel Sherrill <joel@OARcorp.com>
PR 1240/filesystem
	* libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
	for filename was not being freed.
2007-04-16 19:04:47 +00:00
Ralf Corsepius
8da9f609af 2007-04-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* pppd/utils.c: Use uintptr_t instead of unsigned long.
2007-04-16 13:27:18 +00:00
Joel Sherrill
d1325d6ab6 2007-04-16 Joel Sherrill <joel@OARcorp.com>
* itron/src/rsm_tsk.c: Correct error returned.
2007-04-16 13:19:16 +00:00
Ralf Corsepius
e360bc288a 2007-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Redefine LIBPOSIX to !UNIX.
2007-04-14 04:04:39 +00:00
Ralf Corsepius
dfa10d2836 2007-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/usleep.c, libcsupport/src/readlink.c:
	Update API to SUSv3.
2007-04-14 03:53:43 +00:00
Ralf Corsepius
36b615eb7f Regenerate. 2007-04-13 05:45:00 +00:00
Ralf Corsepius
c8eb344d9b 2007-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/Makefile.am: Unconditionally build src/sleep.c,
	  src/usleep.c.
2007-04-13 05:42:03 +00:00
Ralf Corsepius
09ea84cf99 2007-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/clockgettime.c: #ifdef CLOCK_MONOTONIC the
	  CLOCK_MONOTONIC case.
2007-04-13 05:28:57 +00:00
Ralf Corsepius
1ee474eafc #ifdef CLOCK_MONOTONIC the CLOCK_MONOTONIC case. 2007-04-13 05:28:28 +00:00
Ralf Corsepius
214ae74e6e 2007-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/inline/rtems/score/tod.inl: Include <sys/time.h>.
2007-04-13 05:14:58 +00:00
Ralf Corsepius
63c23d3272 Include <sys/time.h>. 2007-04-13 05:14:46 +00:00
Ralf Corsepius
cf98ed5230 Fix typo. 2007-04-13 04:12:29 +00:00
Ralf Corsepius
cc5a1d69cd Cosmetics. 2007-04-13 04:11:44 +00:00
Ralf Corsepius
3e2071beed Regenerate. 2007-04-13 04:06:35 +00:00
Ralf Corsepius
1cd122c283 2007-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add AM_CONDITIONAL(HAS_PTHREADS).
	* httpd/Makefile.am: Use HAS_PTHREADS instead of LIBPOSIX.
2007-04-13 04:00:11 +00:00
Ralf Corsepius
c93e1d442b Use HAS_PTHREADS instead of LIBPOSIX. 2007-04-13 03:59:59 +00:00
Ralf Corsepius
2d80c75429 Add AM_CONDITIONAL(HAS_PTHREADS). 2007-04-13 03:59:45 +00:00
Ralf Corsepius
aaa8b33a10 2007-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/Makefile.am, wrapup/Makefile.am, configure.ac: Rename
	  AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX.
2007-04-13 03:51:45 +00:00
Ralf Corsepius
7f3689ef3c Rename AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX. 2007-04-13 03:51:32 +00:00
Ralf Corsepius
a7af82696d 2007-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/clockgettime.c, posix/src/clocksettime.c: Don't include
	  rtems/posix/time.h.
2007-04-13 03:19:28 +00:00
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
Joel Sherrill
3f37d12402 Formatting. 2007-04-10 11:28:00 +00:00
Thomas Doerfler
d59cae9773 adapted BSP "motorola_powerpc" to support MVME24xx 2007-04-09 14:30:49 +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
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
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
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
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
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
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
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
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
Ralf Corsepius
5752114132 2007-03-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
2007-03-30 06:39:28 +00:00