|
|
Log In | Not a Member? |
Contact ADC |
|
ADC Home > Reference Library > Reference > Hardware & Drivers > I/O Kit Framework Reference
|
IOFireWireCompareSwapCommandInterface |
| Declared In: |
DidLock |
Determines if the last lock operation was successful.
Boolean ( *DidLock)( IOFireWireLibCompareSwapCommandRef self);
selfReturns true if the last lock operation performed by this command object was successful, false otherwise.
Locked |
Gets the 32-bit value returned on the last compare swap operation.
IOReturn ( *Locked)( IOFireWireLibCompareSwapCommandRef self, UInt32 *oldValue);
selfoldValueReturns kIOReturnBadArgument if the last compare swap operation performed was 64-bit.
Locked64 |
Gets the 64-bit value returned on the last compare swap operation.
IOReturn ( *Locked64)( IOFireWireLibCompareSwapCommandRef self, UInt64 *oldValue);
selfoldValueReturns kIOReturnBadArgument if the last compare swap performed was 32-bit.
SetFlags |
Sets flags governing this command's execution.
void ( *SetFlags)( IOFireWireLibCompareSwapCommandRef self, UInt32 inFlags);
selfinFlagsSame as SetFlags() above.
SetValues |
Sets values for 32-bit compare swap operation.
void ( *SetValues)( IOFireWireLibCompareSwapCommandRef self, UInt32 cmpVal, UInt32 newVal);
selfcmpValnewValCalling this function will make the command object perform 32-bit compare swap transactions on the bus. To perform 64-bit compare swap operations, use the SetValues64() call, below.
SetValues64 |
Sets values for 64-bit compare swap operation.
void ( *SetValues64)( IOFireWireLibCompareSwapCommandRef self, UInt64 cmpVal, UInt64 newVal);
selfcmpValnewValCalling this function will make the command object perform 64-bit compare swap transactions on the bus. To perform 32-bit compare swap operations, use the SetValues() call, above.
|