| Hi Ali,
>Does KAV30 support read-modify-write cycle, and if it does how can I
>use it?
The KAV30 supports RMW cycles on the VMEbus, the KAV$BUS_BITSET and
KAV$BUS_BITCLR routines cause a RMW cycle to issued.
Graham
|
| Hi Graham,
The KAV$BUS_BITSET set the specified bit without cheching the bit
staste (set or clear). Is there anyway to use the KAV$BUS_BITSET
or any other KAV30 command as a Test And Set instruction, I mean it
ONLY set the bit if it is clear , otherwise return a status which
indicates the the specified bit already set.
Thanks
Ali,
|
| Hi Ali,
>The KAV$BUS_BITSET set the specified bit without cheching the bit
>staste (set or clear). Is there anyway to use the KAV$BUS_BITSET
>or any other KAV30 command as a Test And Set instruction, I mean it
>ONLY set the bit if it is clear , otherwise return a status which
>indicates the the specified bit already set.
The only way to do this would be to issue two cycles on the VMEbus, a read
cycle, check if the bit is clear, and then if neccessary a write cycle to
set the bit. The KAV30 does not support test and set (TAS) cycles on the
VMEbus (This is a VAX architecture restriction). Why do you want to
do this in a single VMEbus cycle? Is this a multi-procesor environment?
Graham
|