Ralf Corsepius
cf98ed5230
Fix typo.
2007-04-13 04:12:29 +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
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
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
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
Ralf Corsepius
ada4d9be25
cosmetics.
2007-03-30 06:31:09 +00:00
Ralf Corsepius
0c83a489bf
2007-03-30 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/Makefile.am: Move libc/res_config.h to
libnetworking_a_SOURCES (File is being used).
* libnetworking/libc/iso_addr.c, libnetworking/libc/iso_addr.3:
Remove (Unused).
* libnetworking/Makefile.am: Remove libc/iso_addr.c, libc/iso_addr.3.
2007-03-30 06:29:43 +00:00
Ralf Corsepius
f850974257
2007-03-30 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/net/ppp-deflate.c, libnetworking/net/bsd-comp.c:
Remove (Unused).
* libnetworking/Makefile.am: Remove net/ppp-deflate.c, net/bsd-comp.c.
2007-03-30 05:39:03 +00:00
Ralf Corsepius
75f40fbb9c
2007-03-30 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c,
libnetworking/libc/base64.c, libnetworking/libc/ether_addr.c,
libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,
libnetworking/libc/gethostbynis.c,
libnetworking/libc/gethostnamadr.c,
libnetworking/libc/gethostname.c, libnetworking/libc/getnetbydns.c,
libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetbynis.c,
libnetworking/libc/getnetnamadr.c, libnetworking/libc/getproto.c,
libnetworking/libc/getprotoent.c, libnetworking/libc/getprotoname.c,
libnetworking/libc/getservbyname.c,
libnetworking/libc/getservbyport.c, libnetworking/libc/getservent.c,
libnetworking/libc/herror.c, libnetworking/libc/inet_addr.c,
libnetworking/libc/inet_lnaof.c, libnetworking/libc/inet_makeaddr.c,
libnetworking/libc/inet_net_ntop.c,
libnetworking/libc/inet_net_pton.c, libnetworking/libc/inet_neta.c,
libnetworking/libc/inet_netof.c, libnetworking/libc/inet_network.c,
libnetworking/libc/inet_ntoa.c, libnetworking/libc/inet_ntop.c,
libnetworking/libc/inet_pton.c, libnetworking/libc/iso_addr.c,
libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c,
libnetworking/libc/ns_addr.c, libnetworking/libc/ns_name.c,
libnetworking/libc/ns_netint.c, libnetworking/libc/ns_ntoa.c,
libnetworking/libc/ns_parse.c, libnetworking/libc/ns_print.c,
libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
libnetworking/libc/rcmd.c, libnetworking/libc/recv.c,
libnetworking/libc/res_comp.c, libnetworking/libc/res_data.c,
libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c,
libnetworking/libc/res_mkquery.c, libnetworking/libc/res_mkupdate.c,
libnetworking/libc/res_query.c, libnetworking/libc/res_send.c,
libnetworking/libc/res_stubs.c, libnetworking/libc/res_update.c,
libnetworking/libc/send.c, libnetworking/libc/strsep.c: Eliminate
SCCS, LINT. Add HAVE_CONFIG_H.
2007-03-30 05:16:21 +00:00
Ralf Corsepius
be96863141
2007-03-30 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libcsupport/src/__assert.c: Add HAVE_CONFIG_H.
2007-03-30 04:57:30 +00:00
Ralf Corsepius
c807622527
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/include/rtems/rtems/tasks.h: Change rtems_task_argument to
uintptr_t.
2007-03-29 20:57:20 +00:00
Ralf Corsepius
50928d9e21
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_input.c,
libnetworking/netinet/ip_output.c: Further _IP_VHL removal preps.
2007-03-29 14:31:23 +00:00
Ralf Corsepius
ef0b69d12f
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/netinet/ip.h: Add FreeBSD's alignement macros.
2007-03-29 14:28:49 +00:00
Ralf Corsepius
6209041c60
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/net/netisr.h: Partial update from FreeBSD.
2007-03-29 14:27:48 +00:00
Ralf Corsepius
0a17f53696
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libcsupport/src/getpwent.c: Remove bogus cast to long.
2007-03-29 14:26:36 +00:00
Ralf Corsepius
0f0318e2de
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/libc/strsep.c: Don't build if provided by libc.
2007-03-29 14:25:40 +00:00
Ralf Corsepius
dbd2c7dcea
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
2007-03-29 08:39:21 +00:00
Ralf Corsepius
9bea3c9559
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
2007-03-29 08:06:28 +00:00
Ralf Corsepius
88e056196f
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
(Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
2007-03-29 07:50:19 +00:00
Ralf Corsepius
8f48f2bfaf
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/netinet/ip_input.c: Preps to eliminate _IP_VHL
(Abandoned in FreeBSD). Misc mergers from upstream FreeBSD.
* libnetworking/netinet/ip_icmp.c: Preps to eliminate _IP_VHL
(Abandoned in FreeBSD).
2007-03-29 07:48:14 +00:00
Ralf Corsepius
58b09079c6
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/netinet/tcp_subr.c: Preps to eliminate _IP_VHL
(Abandoned in FreeBSD).
2007-03-29 05:21:43 +00:00
Ralf Corsepius
cae2fc3021
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/netinet/raw_ip.c: Preps to eliminate _IP_VHL
(Abandoned in FreeBSD).
2007-03-29 05:20:10 +00:00
Ralf Corsepius
14b7b0c6e2
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/netinet/ip_output.c: Partial update from FreeBSD.
2007-03-29 05:18:38 +00:00
Ralf Corsepius
5f1bbaef70
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/netinet/ip_fw.c: Eliminate __P().
2007-03-29 05:16:52 +00:00
Joel Sherrill
4b6546f0bb
2007-03-28 Chris Johns <chrisj@rtems.org>
...
* rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
score/include/rtems/score/watchdog.h: Add support for a handler to
obtain the number of nanoseconds since the last clock tick. The
primary interface for this is rtems_clock_set_nanoseconds_extension.
Subsequent commits from Joel will redo the TOD support to use this
capability.
* rtems/src/clocksetnsecshandler.c: New file.
2007-03-28 19:56:14 +00:00
Joel Sherrill
4fbd8f7aa9
2007-03-28 Joel Sherrill <joel@OARcorp.com>
...
PR 1234/cpukit
* libcsupport/Makefile.am: Provide printk() based implementation of
__assert() to reduce dependencies in executables.
* libcsupport/src/__assert.c: New file.
2007-03-28 18:58:12 +00:00
Ralf Corsepius
e2a2369051
2007-03-28 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* librpc/src/rpc/clnt_tcp.c (clnttcp_create):
Use uintptr_t for "disrupt". Remove bogus (long) cast.
2007-03-28 16:03:44 +00:00
Ralf Corsepius
c35e3fed83
2007-03-28 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/net/ppp-comp.h: Remove (Unused).
* libnetworking/Makefile.am: Remove net/ppp-comp.h.
2007-03-28 15:46:53 +00:00
Ralf Corsepius
6562ad3b54
2007-03-28 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/sys/buf.h: Remove (Unused).
* libnetworking/Makefile.am: Remove sys/buf.h.
2007-03-28 15:44:15 +00:00
Ralf Corsepius
87a87b014c
2007-03-28 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/kern/kern_sysctl.c,
libnetworking/kern/uipc_socket2.c: Include <sys/queue.h> instead of
<sys/buf.h>.
2007-03-28 15:34:36 +00:00
Ralf Corsepius
a67c316ac8
2007-03-28 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libcsupport/include/sys/sockio.h: Partial update from
FreeBSD.
2007-03-28 15:31:39 +00:00
Ralf Corsepius
d3819b5687
2007-03-28 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/netinet/ip_output.c: Use uint32_t optlen.
2007-03-28 05:36:54 +00:00