PR 1451/bsps
* network/tsec.c: Fix mbuf leak when watchdog expires. The
re-initialization algorithm failed to release mbuf chains
held in the TX ring.
Also, during initialization the initial link status is determined
and IFF_OACTIVE set if no active link was detected.
control function. The IO control handler takes now the disk device as
first parameter instead of the physical device number.
* cpukit/libblock/include/rtems/blkdev.h, libblock/src/bdbuf.c,
libblock/src/blkdev.c, libblock/src/diskdevs.c, libblock/src/nvdisk.c,
libblock/src/flashdisk.c, libblock/src/ramdisk.c: Update for block
device API change.
* psxcleanup/system.h: Fix typo.
* Makefile.am, configure.ac: Add new test for exercising pushing
and popping a clean up handler without actually executing it.
* psxcleanup01/.cvsignore, psxcleanup01/Makefile.am,
psxcleanup01/init.c, psxcleanup01/psxcleanup01.doc,
psxcleanup01/psxcleanup01.scn: New files.
* Makefile.am, configure.ac: Add new test to ensure that canceling an
alarm works as defined.
* psxalarm01/.cvsignore, psxalarm01/Makefile.am, psxalarm01/init.c,
psxalarm01/psxalarm01.doc, psxalarm01/psxalarm01.scn: New files.
* posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
posix/src/canceleval.c: Make psxcancel run again.
_POSIX_Thread_Exit() can be called on running thread or another
thread when it is cancelled.
* posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c,
posix/src/mutextimedlock.c, posix/src/prwlocktimedrdlock.c,
posix/src/prwlocktimedwrlock.c, posix/src/semtimedwait.c: Switch from
switch to if's because only one value needed to be tested. This
shrinks the code and makes it easier to do coverage analysis on.
* score/inline/rtems/score/object.inl: _Objects_Get_local_object() is
only called from places where the index is known to be valid.
_Objects_Set_local_object() already assumed this. Eliminates
unreachable code.
* rtems/src/regiondelete.c, rtems/src/regionextend.c,
rtems/src/regiongetfreeinfo.c, rtems/src/regiongetinfo.c,
rtems/src/regiongetsegment.c, rtems/src/regionresizesegment.c,
rtems/src/regionreturnsegment.c: Avoid initializing status code. This
generates dead code on some targets. Add default case to eliminate
unitialized variable warning.
* psxtimer01/psxtimer.c: Modify so it passes in a NULL to
timer_settime() for previous value. We are not using the
value in this particular case and this path must be exercised.
* psxtimer01/psxtimer01.scn: Update so it matches output on sis.
* Makefile.am, configure.ac: Add new test to exercise when the ticks
since boot wraps around 0 and the timer server must deal with that
condition.
* sp67/.cvsignore, sp67/Makefile.am, sp67/init.c, sp67/sp67.doc,
sp67/sp67.scn: New files.
* shared/vmeUniverse/vmeUniverse.c: print message and
let vmeUniverseIntLoopbackTst() fail if odd-numbered
vector is used (cannot program the chip to reply with
such a vector).
* cpukit/sapi/include/rtems/io.h: Documentation.
* cpukit/sapi/src/ioregisterdriver.c: Call from interrupt context is
an error.
* cpukit/sapi/src/iounregisterdriver.c: Disable preemption during
critical section.
* libchip/ide/ata.c, c/src/libchip/ide/ata_internal.h: Remove the
multiblock support from the ATA driver. Multiblock at the disk
level should not be a global policy as a disk may have more than
one partition with different block sizes. An IDE driver could
decide to use the feature with DMA but this a driver specific
design choice. Fixed bugs relating to variable block sizes and
large block transfer.
* c/src/libchip/ide/ide_controller.c,
c/src/libchip/ide/ide_ctrl_cfg.h, c/src/libchip/ide/ide_ctrl_io.h:
Changed the block size to 32bits so blocks of 64K or bigger can be
transfered in a single driver call.
* ide/ide.c: Fixed more IDE driver bugs. The driver can transfer
64K in a single write on my test PC and qemu with this driver. The
driver only checks the data ready bit at the start of each 512
block being transfered. This has speed the transfer loop up. Fixed
the timing so the BSP timer is used until RTEMS has started.