PR 1354/bsps
* network/network.c: In some cases it can occur that an empty mbuf is
put on the descriptor chain. (We found it especially then when
transmitting fragmented IP Packets.) Since the actual buffer
descriptor pointer will be incremented after every inserted mbuf
(txBd = sc->txBdBase + sc->txBdHead;) even if m->m_len of the current
mbuf was zero. This leads to the bug.
* Makefile.am, configure.ac: Add new test to test Watchdog display
helper routines. These reach into the SuperCore.
* spwatchdog/.cvsignore, spwatchdog/Makefile.am, spwatchdog/delay.c,
spwatchdog/init.c, spwatchdog/prtime.c, spwatchdog/spwatchdog.scn,
spwatchdog/system.h, spwatchdog/task1.c: New files.
* configure.ac: Make runtest an autoconf generated file so we can
insert target alias. Also detect more program termination conditions
so tests are killed more reliably.
* runtest.in: New file.
* runtest: Removed.
* libcsupport/src/gxx_wrappers.c, posix/include/mqueue.h,
posix/include/rtems/posix/semaphore.h,
posix/inline/rtems/posix/barrier.inl,
posix/inline/rtems/posix/key.inl,
posix/inline/rtems/posix/mqueue.inl,
posix/inline/rtems/posix/rwlock.inl,
posix/inline/rtems/posix/semaphore.inl,
posix/inline/rtems/posix/spinlock.inl,
posix/inline/rtems/posix/timer.inl, posix/src/condget.c,
posix/src/mqueuenametoid.c, posix/src/mutexget.c,
posix/src/semaphorenametoid.c, posix/src/semopen.c,
sapi/src/itronapi.c, sapi/src/posixapi.c: Make changes necessary for
all tests to run on SPARC with 16-bit Ids. This required ensuring
that all POSIX and compilering binding code makes a distinction
between the public Id type (e.g. pthread_t, etc.) and the RTEMS
Object_Id type. All POSIX Object Get routines should not take the
POSIX Id type as the argument. Sixteen bit RTEMS Ids should be placed
into the 32-bits reserved by the POSIX API type in a uniform manner
now. This removed all assumptions that the external Id types in POSIX
and ITRON are the same as the internal Object Id type.
* score/include/rtems/score/object.h,
score/src/objectallocatebyindex.c: Object index should be int.
Fix bug when index is negative.
* score/src/objectextendinformation.c: Do not allow maximum number
of allocated objects to exceed maximum representable in index
field of Object Id.
* score/src/objectgetisr.c: Use same code that is in _Objects_Get
to extract index field of Object Id.
* sp09/screen05.c, sp09/screen07.c, sp09/screen10.c, sp09/screen11.c,
sp09/screen12.c, sp09/screen14.c: Use rtems_build_id rather than
hard-coded hex numbers for bad object Ids.
* sp15/system.h, sp19/system.h: Array of task names should be of type
rtems_name not rtems_id. Similarly array of task ids should be
rtems_id not rtems_name.
* psxmsgq02/init.c, psxmsgq02/psxmsgq02.scn: Open the message queue
with create option so we are sure it will get a control block and
proceed to allocate other memory. Clean up screen output.
* Makefile.am:
Install libnetworking/sys/uio.h if building for NEWLIB.
* libnetworking/Makefile.am:
Remove installation of libnetworking/sys/uio.h.
* libcsupport/Makefile.am: Build writev.c/readv.c for NEWLIB.