Contents

doLock

A method for processing a lock request.

Declaration

virtual UInt32 doLock(
 UInt16nodeID,
 IOFWSpeed &speed,
 FWAddressaddr,
 UInt32inlen, 
 const UInt32 *newVal,
 UInt32 &outLen,
 UInt32 *oldVal, 
 UInt32extType,
 IOFWRequestRefConrefcon);

Parameters

  • nodeID:

    FireWire Lock request for nodeID.

  • speed:

    at this 'speed'.

  • addr:

    with FireWire address 'addr'.

  • inlen:

    'inlen' bytes to use.

  • newVal:

    new value to write at 'addr' location .

  • outLen:

    'outLen' bytes for result.

  • oldVal:

    old value read from 'addr' location.

  • extType:

    Type like kFWExtendedTCodeCompareSwap.

  • refcon:

    Can be queried for extra info about the request.

Return Value

UIn32 returns kFWResponseComplete on success

See Also

Miscellaneous