Ralf Corsepius
d808d8b1f0
2006-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/rtems/rtems_glue.c: Rename timeout() into
rtems_bsdnet_timeout().
2006-11-16 14:43:40 +00:00
Ralf Corsepius
bd1c23685c
2006-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/sys/malloc.h: Remove contigmalloc (non-implemented).
Remove __P-guards from malloc, free.
2006-11-16 14:41:32 +00:00
Joel Sherrill
eafa35e718
2006-11-15 Joel Sherrill <joel@OARcorp.com>
...
* sapi/src/io.c: Fix spacing.
2006-11-15 16:54:01 +00:00
Joel Sherrill
4741fcb721
* sapi/include/confdefs.h: Enable includes needed for new objects.
2006-11-15 15:45:48 +00:00
Joel Sherrill
cdda98fa4e
2006-11-15 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* sapi/include/confdefs.h: Enable memory for new objects.
2006-11-15 15:43:42 +00:00
Joel Sherrill
ba16717a62
2006-11-15 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* posix/Makefile.am: Add file missed in previous commit.
* posix/src/posixtimespecabsolutetimeout.c: New file.
2006-11-15 15:34:45 +00:00
Ralf Corsepius
dd5be89fb6
2006-11-15 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* configure.ac: Remove RTEMS_AMPOLISH3.
Add checks for uint8_t, int8_t, uint16_t, int16_t,
uint32_t, int32_t.
* aclocal/rtems-ampolish.m4: Pick up ampolish3 from ac_aux_dir.
* aclocal/rtems-top.m4: Add RTEMS_AMPOLISH3.
* ampolish3: Remove.
2006-11-15 14:23:52 +00:00
Joel Sherrill
5fdca8afca
2006-11-15 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* score/inline/rtems/score/threadq.inl, score/src/corerwlocktimeout.c:
New files.
2006-11-15 14:15:24 +00:00
Joel Sherrill
047d67ab25
2006-11-15 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libcsupport/src/termios.c, posix/Makefile.am, posix/preinstall.am,
posix/include/rtems/posix/config.h, posix/include/rtems/posix/time.h,
sapi/src/posixapi.c, score/Makefile.am, score/preinstall.am,
score/include/rtems/score/corerwlock.h,
score/include/rtems/score/threadq.h,
score/src/corerwlockobtainread.c, score/src/threadqenqueue.c,
score/src/threadqtimeout.c: Adding POSIX barriers, POSIX spinlocks,
and partial implementation of POSIX rwlocks.
* posix/include/rtems/posix/barrier.h,
posix/include/rtems/posix/rwlock.h,
posix/include/rtems/posix/spinlock.h,
posix/inline/rtems/posix/barrier.inl,
posix/inline/rtems/posix/rwlock.inl,
posix/inline/rtems/posix/spinlock.inl,
posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
posix/src/pbarrier.c, posix/src/pbarrierdestroy.c,
posix/src/pbarrierinit.c, posix/src/pbarriertranslatereturncode.c,
posix/src/pbarrierwait.c, posix/src/prwlock.c,
posix/src/prwlockdestroy.c, posix/src/prwlockinit.c,
posix/src/prwlockrdlock.c, posix/src/prwlocktimedrdlock.c,
posix/src/prwlocktimedwrlock.c,
posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
posix/src/prwlockwrlock.c, posix/src/pspin.c,
posix/src/pspindestroy.c, posix/src/pspininit.c,
posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
posix/src/pspintrylock.c, posix/src/pspinunlock.c,
posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c: New files.
2006-11-15 14:08:49 +00:00
Ralf Corsepius
d62a2e0100
2006-11-14 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* configure.ac: Require inttypes.h, check for stdint.h.
2006-11-14 09:14:58 +00:00
Ralf Corsepius
d826ef2bc3
2006-11-12 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* Makefile.am, configure.ac: Remove RTEMS_PROVIDES_STDINT_H,
RTEMS_PROVIDES_INTTYPES_H.
2006-11-12 11:19:08 +00:00
Ralf Corsepius
43912af4a4
2006-11-12 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libcsupport/include/stdint.h, libcsupport/include/inttypes.h:
Remove.
2006-11-12 11:12:53 +00:00
Ralf Corsepius
0fefba6cbc
2006-11-12 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* score/Doxyfile: Remove RTEMS_INLINES.
2006-11-12 11:03:48 +00:00
Ralf Corsepius
65bee7866c
changes
2006-11-09 10:29:45 +00:00
Ralf Corsepius
e306f333d6
2006-11-09 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* configure.ac: Remove redundant AC_CHECK_HEADER([stdint.h]),
AC_CHECK_HEADER([inttypes.h]). Now implicitly checked.
2006-11-09 07:49:21 +00:00
Joel Sherrill
068c3ee1df
2006-11-02 Steven Johnson <sjohnson@sakuraindustries.com>
...
* libnetworking/netdb.h, libnetworking/libc/gethostbyht.c,
libnetworking/libc/gethostnamadr.c: This patch adds a functional
gethostbyname_r to RTEMS. We were having problems with multiple
threads calling gethostbyname, so we decided the best way to deal
with it was to do it properly, rather than kludge up our code to make
gethostbyname safe. We have found several slightly different
parameter lists for this function, it does not seem to be standard.
The one we used has the linux interface. In RTEMS there was an
existing gethostbyname_r inside a #ifdef _THREAD_SAFE which was NOT
Threadsafe, as this just called gethostbyname. So we have placed all
of the additional code inside the #ifdef _THREAD_SAFE.
2006-11-02 21:48:41 +00:00
Joel Sherrill
0c2ec7f52c
2006-10-30 Joel Sherrill <joel@OARcorp.com>
...
PR 841/rtems
* itron/inline/rtems/itron/semaphore.inl, itron/src/twai_sem.c,
posix/include/rtems/posix/semaphore.h,
posix/inline/rtems/posix/semaphore.inl,
posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c,
posix/src/semwait.c, rtems/src/semobtain.c,
rtems/src/semtranslatereturncode.c,
score/include/rtems/score/coresem.h, score/src/coresemseize.c: Make
sem_timedwait more conformant to Open Group specification.
2006-10-30 22:21:23 +00:00
Joel Sherrill
5112ff5a88
2006-10-25 Jennifer Averett <jennifer@oarcorp.com>
...
* libcsupport/src/termios.c: Change attribute of semaphore. It was
counting interrupts not acting as a condition synchronization mutex.
Since the caller did not always need to obtain the semaphore, it was
not being decremented until there was no data. This could occur after
hours of running a system and thousands of interrupts. The code in
fillBufferQueue would spin until it had consumed all of those
semaphore counts.
2006-10-25 11:28:08 +00:00
Joel Sherrill
b78d94debd
2006-10-23 Joel Sherrill <joel@OARcorp.com>
...
* configure.ac, score/cpu/Makefile.am: Add bfin.
2006-10-23 19:39:51 +00:00
Ralf Corsepius
be8dd107c2
2006-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* aclocal/enable-inlines.m4, aclocal/prog-gnat.m4: Remove (Unused).
2006-10-21 05:56:42 +00:00
Joel Sherrill
cbeebc061f
2006-10-19 Joel Sherrill <joel@OARcorp.com>
...
* score/Makefile.am, score/preinstall.am: Add pieces missed in previous
commit.
2006-10-19 20:30:47 +00:00
Joel Sherrill
04dba496a6
2006-10-19 Joel Sherrill <joel@OARcorp.com>
...
* configure.ac, itron/Makefile.am, itron/preinstall.am,
posix/Makefile.am, posix/preinstall.am, rtems/Makefile.am,
rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
score/Makefile.am, score/preinstall.am, score/include/rtems/system.h,
score/include/rtems/score/chain.h,
score/include/rtems/score/thread.h, score/src/chain.c,
score/src/coremutexseize.c, score/src/threadget.c: Remove all macro
implementations and use only the static inline. Static inline
functions are now well supported so there is no reason for duplicate
maintenance.
* itron/macros/rtems/itron/eventflags.inl,
itron/macros/rtems/itron/fmempool.inl,
itron/macros/rtems/itron/intr.inl, itron/macros/rtems/itron/mbox.inl,
itron/macros/rtems/itron/msgbuffer.inl,
itron/macros/rtems/itron/network.inl,
itron/macros/rtems/itron/port.inl,
itron/macros/rtems/itron/semaphore.inl,
itron/macros/rtems/itron/sysmgmt.inl,
itron/macros/rtems/itron/task.inl, itron/macros/rtems/itron/time.inl,
itron/macros/rtems/itron/vmempool.inl,
posix/macros/rtems/posix/cond.inl, posix/macros/rtems/posix/key.inl,
posix/macros/rtems/posix/mqueue.inl,
posix/macros/rtems/posix/mutex.inl,
posix/macros/rtems/posix/priority.inl,
posix/macros/rtems/posix/pthread.inl,
posix/macros/rtems/posix/semaphore.inl,
posix/macros/rtems/posix/timer.inl, rtems/macros/rtems/rtems/asr.inl,
rtems/macros/rtems/rtems/attr.inl,
rtems/macros/rtems/rtems/barrier.inl,
rtems/macros/rtems/rtems/dpmem.inl,
rtems/macros/rtems/rtems/event.inl,
rtems/macros/rtems/rtems/eventset.inl,
rtems/macros/rtems/rtems/message.inl,
rtems/macros/rtems/rtems/modes.inl,
rtems/macros/rtems/rtems/options.inl,
rtems/macros/rtems/rtems/part.inl,
rtems/macros/rtems/rtems/ratemon.inl,
rtems/macros/rtems/rtems/region.inl,
rtems/macros/rtems/rtems/sem.inl,
rtems/macros/rtems/rtems/status.inl,
rtems/macros/rtems/rtems/support.inl,
rtems/macros/rtems/rtems/tasks.inl,
rtems/macros/rtems/rtems/timer.inl, sapi/macros/rtems/extension.inl,
score/macros/README, score/macros/rtems/score/address.inl,
score/macros/rtems/score/chain.inl,
score/macros/rtems/score/corebarrier.inl,
score/macros/rtems/score/coremsg.inl,
score/macros/rtems/score/coremutex.inl,
score/macros/rtems/score/corerwlock.inl,
score/macros/rtems/score/coresem.inl,
score/macros/rtems/score/corespinlock.inl,
score/macros/rtems/score/heap.inl, score/macros/rtems/score/isr.inl,
score/macros/rtems/score/mppkt.inl,
score/macros/rtems/score/object.inl,
score/macros/rtems/score/objectmp.inl,
score/macros/rtems/score/priority.inl,
score/macros/rtems/score/stack.inl,
score/macros/rtems/score/states.inl,
score/macros/rtems/score/sysstate.inl,
score/macros/rtems/score/thread.inl,
score/macros/rtems/score/threadmp.inl,
score/macros/rtems/score/tod.inl,
score/macros/rtems/score/tqdata.inl,
score/macros/rtems/score/userext.inl,
score/macros/rtems/score/watchdog.inl,
score/macros/rtems/score/wkspace.inl: Removed.
2006-10-19 19:20:10 +00:00
Ralf Corsepius
c461430d37
2006-10-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* sapi/include/confdefs.h:
s/STACK_CHECKER_EXTENSION/RTEMS_STACK_CHECKER_EXTENSION/
(Reflect 2006-09-13's changes to libmisc/stackchk).
2006-10-18 10:43:41 +00:00
Ralf Corsepius
9b5e72b636
2006-10-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* aclocal/rtems-top.m4: Remove RTEMS_API.
* aclocal/version.m4: Add RTEMS_API. Bump RTEMS_API to 4.8.
2006-10-18 03:37:19 +00:00
Ralf Corsepius
0ec8e35791
2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* aclocal/rtems-top.m4: Bump RTEMS_API to 4.8.
2006-10-17 17:49:59 +00:00
Ralf Corsepius
4a6fd1801c
2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libmisc/capture/capture-cli.c: Use size_t instead of int.
2006-10-17 17:21:18 +00:00
Ralf Corsepius
2e28876226
2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* aclocal/version.m4: Bump version to 4.7.99.0.
2006-10-17 15:49:31 +00:00
Ralf Corsepius
ba2c04fa2c
2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* configure.ac: Require autoconf-2.60. Require automake-1.10.
2006-10-17 07:38:02 +00:00
Ralf Corsepius
ce1bdb0857
2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* configure.ac: Require autoconf-2.60.
2006-10-17 07:29:40 +00:00
Ralf Corsepius
879f1e469d
Fix broken file
2006-10-16 16:04:48 +00:00
Ralf Corsepius
1133a800ec
2006-10-16 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* configure.ac, aclocal/multi.m4, aclocal/prog-cc.m4, aclocal/prog-ccas.m4
automake/compile.am: Adaptations to automake-1.10.
2006-10-16 15:59:25 +00:00
Chris Johns
8462ac8a98
2006-09-29 Chris Johns <chrisj@rtems.org>
...
* libmisc/monitor/mon-command.c: Flush stdout after updating the
command line.
2006-09-28 14:57:07 +00:00
Joel Sherrill
7fb2bb2433
2006-09-14 Joel Sherrill <joel@OARcorp.com>
...
* libnetworking/net/route.c, librpc/src/rpc/auth_none.c,
librpc/src/rpc/auth_unix.c, librpc/src/rpc/authunix_prot.c,
librpc/src/rpc/rpc_callmsg.c, librpc/src/rpc/rpc_prot.c,
librpc/src/rpc/rtems_portmapper.c: Removed warnings.
2006-09-25 14:19:45 +00:00
Joel Sherrill
7fa1ce86fe
2006-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* sapi/include/confdefs.h, sapi/src/posixapi.c, sapi/src/rtemsapi.c:
Add Classic API Barriers and commented out hooks to initialize .
2006-09-25 14:03:51 +00:00
Joel Sherrill
8042961d87
2006-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* rtems/Makefile.am, rtems/preinstall.am, rtems/include/rtems.h,
rtems/include/rtems/rtems/attr.h, rtems/include/rtems/rtems/config.h,
rtems/inline/rtems/rtems/attr.inl, rtems/macros/rtems/rtems/attr.inl:
Add Classic API Barriers.
* rtems/include/rtems/rtems/barrier.h,
rtems/include/rtems/rtems/barriermp.h,
rtems/inline/rtems/rtems/barrier.inl,
rtems/macros/rtems/rtems/barrier.inl, rtems/src/barrier.c,
rtems/src/barriercreate.c, rtems/src/barrierdelete.c,
rtems/src/barrierident.c, rtems/src/barrierrelease.c,
rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c:
New files.
2006-09-25 13:38:24 +00:00
Joel Sherrill
161f25b5b2
Add name.
2006-09-25 13:37:55 +00:00
Joel Sherrill
9c191eea63
* score/Makefile.am, score/preinstall.am,
...
score/include/rtems/score/coresem.h,
score/include/rtems/score/object.h,
score/include/rtems/score/states.h,
score/inline/rtems/score/coresem.inl: Add SuperCore Barriers,
SpinLocks and a partial implementation of RWLocks.
* score/include/rtems/score/corebarrier.h,
score/include/rtems/score/corerwlock.h,
score/include/rtems/score/corespinlock.h,
score/inline/rtems/score/corebarrier.inl,
score/inline/rtems/score/corerwlock.inl,
score/inline/rtems/score/corespinlock.inl,
score/macros/rtems/score/corebarrier.inl,
score/macros/rtems/score/corerwlock.inl,
score/macros/rtems/score/corespinlock.inl, score/src/corebarrier.c,
score/src/corebarrierrelease.c, score/src/corebarrierwait.c,
score/src/corerwlock.c, score/src/corerwlockobtainread.c,
score/src/corerwlockobtainwrite.c, score/src/corerwlockrelease.c,
score/src/corespinlock.c, score/src/corespinlockrelease.c,
score/src/corespinlockwait.c: New files.
2006-09-25 13:36:58 +00:00
Joel Sherrill
90d2585a07
2006-09-14 Joel Sherrill <joel@OARcorp.com>
...
* libnetworking/net/route.c, librpc/src/rpc/auth_none.c,
librpc/src/rpc/auth_unix.c, librpc/src/rpc/authunix_prot.c,
librpc/src/rpc/rpc_callmsg.c, librpc/src/rpc/rpc_prot.c,
librpc/src/rpc/rtems_portmapper.c: Removed warnings.
2006-09-14 19:09:06 +00:00
Joel Sherrill
bc11ec273d
2006-09-14 Joel Sherrill <joel@OARcorp.com>
...
* libmisc/cpuuse/cpuuse.c, libmisc/cpuuse/cpuuse.h: Promote CPU Usage
to first class citizen. Rename to start with rtems_ and include
documentation in user guide.
2006-09-14 15:07:19 +00:00
Joel Sherrill
5c1023a034
2006-09-13 Joel Sherrill <joel@OARcorp.com>
...
* libnetworking/rtems/rtems_malloc_mbuf.c: Removed warning by adding
prototype of malloc.
2006-09-13 16:54:54 +00:00
Joel Sherrill
7ac4ae92d0
2006-09-13 Joel Sherrill <joel@OARcorp.com>
...
* libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
libmisc/stackchk/stackchk.h: Move stack to first class citizen
status. Include it in User Manual and rename to start with rtems_.
2006-09-13 16:22:24 +00:00
Joel Sherrill
957d886a8f
2006-09-11 Joel Sherrill <joel@OARcorp.com>
...
* libmisc/mw-fb/mw_fb.c, libmisc/mw-fb/mw_fb.h, libmisc/mw-fb/mw_uid.c,
libmisc/mw-fb/mw_uid.h: Remove warning.
2006-09-11 21:42:23 +00:00
Joel Sherrill
ea7fd1ec58
2006-09-11 Jerry Needell <jerry.needell@unh.edu>
...
* libnetworking/netinet/in_cksum.c: Joel should have used int32_t not
uint32_t when removing warnings.
2006-09-11 17:34:10 +00:00
Joel Sherrill
bc69c4853d
2006-09-08 Ken Peters <ken.peters@jpl.nasa.gov>
...
PR 1170/rtems
* rtems/src/timerserver.c: Timer Server created the TIME task with a
hard-coded hexadecimal number instead of using rtems_build_name. This
resulted in a byte-swapped name on some platforms.
2006-09-08 20:28:56 +00:00
Chris Johns
c2f22829d1
2006-09-06 Chris Johns <chrisj@rtems.org>
...
* pppd/pppd.h: Fix the bug in name change. The UNTIMEOUT
macro did not use the ppp version.
2006-09-06 12:55:52 +00:00
Joel Sherrill
d2efdeb170
2006-09-01 Joel Sherrill <joel@OARcorp.com>
...
* libnetworking/net/if_loop.c: Remove warning.
2006-09-01 21:21:43 +00:00
Till Straumann
d8f86d925a
* pppd/rtems.main.c, pppd/pppd.h: renamed 'untimeout'
...
to 'pppuntimeout' to avoid name clash with [future]
bsdnet kernel routine.
2006-09-01 21:16:19 +00:00
Joel Sherrill
b3ee778ea9
2006-09-01 Joel Sherrill <joel@OARcorp.com>
...
* libcsupport/src/malloc.c, libnetworking/rtems/rtems_glue.c,
libnetworking/sys/mbuf.h: Remove warnings -- use uintptr_t or
properly sized integers.
2006-09-01 15:37:47 +00:00
Joel Sherrill
a009d94459
2006-08-30 Joel Sherrill <joel@OARcorp.com>
...
* ftpd/ftpd.c, libcsupport/include/sys/ioccom.h,
libcsupport/src/ioctl.c, libnetworking/kern/uipc_mbuf.c,
libnetworking/libc/inet_addr.c, libnetworking/net/ethernet.h,
libnetworking/net/if.c, libnetworking/net/if_ethersubr.c,
libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h,
libnetworking/net/if_var.h, libnetworking/net/ppp_tty.c,
libnetworking/netinet/in_cksum.c, libnetworking/nfs/bootp_subr.c,
libnetworking/rtems/rtems_bsdnet_internal.h,
libnetworking/sys/mbuf.h, pppd/md4.c, pppd/pppd.h: Remove warnings
due to improper use of int which shows up on 16 bit targets. Added
ioctl_command_t since IOCTL command argument does not reliably fit
into 16 bits.
2006-08-31 01:10:02 +00:00
Joel Sherrill
ae5a79c349
2006-08-30 Joel Sherrill <joel@OARcorp.com>
...
* libcsupport/include/sys/ioccom.h, libnetworking/kern/uipc_socket2.c,
libnetworking/net/ethernet.h, libnetworking/net/if.h,
libnetworking/net/if_ethersubr.c, libnetworking/net/if_ppp.c,
libnetworking/net/if_pppvar.h, libnetworking/net/ppp_tty.c,
libnetworking/net/pppcompress.c, libnetworking/net/slcompress.c,
libnetworking/netinet/in.h, libnetworking/netinet/ip_icmp.c,
libnetworking/netinet/tcp.h, libnetworking/netinet/tcp_seq.h,
libnetworking/sys/protosw.h, libnetworking/sys/socketvar.h: Remove
warnings. Most of the warnings were 16/32 bit integer sizing issues.
Some constants had L appended, some had casts add, some types were
changed to reflect a bit width requirement.
2006-08-30 17:20:33 +00:00