setFetchAgentWriteCompletion
Sets the callback to be called when the fetch agent write completes.
Declaration
virtual void setFetchAgentWriteCompletion(
void *refCon,
FWSBP2FetchAgentWriteCallbackcallback );Parameters
- refCon:
refCon passed to callback.
- callback:
address of callback method of type FWSBP2FetchAgentWriteCallback.
Overview
When an immediate orb is executed with submitORB, it's address is written to a specific address on the device. This address is called the fetch agent. The device the reads that orb from the Mac's memory and executes it. With this call you can register to be called back when this write to the fetch agent completes. The SBP2 services guarantee that the fetch agent write will be complete before status is reported for an ORB, so for most drivers this notification is not required.
See Also
Miscellaneous
createORBenableUnsolicitedStatusgetLoginFlagsgetLoginIDgetMaxCommandBlockSizegetMaxPayloadSizegetReconnectTimegetRefCongetStatusNotifyProcgetUnsolicitedStatusNotifyProcreleaseringDoorbellsetBusyTimeoutRegisterValuesetFetchAgentResetCompletionsetLoginCompletionsetLoginFlagssetLoginRetryCountAndDelayTimesetLogoutCompletionsetMaxPayloadSizesetPassword(IOMemoryDescriptor *)setPassword(void *, UInt32)setReconnectTimesetRefConsetStatusNotifyProcsetUnsolicitedStatusNotifyProcsubmitFetchAgentResetsubmitLoginsubmitLogoutsubmitORB