Important: The information in this document is obsolete and should not be used for new development.
SIMAction
The XPT calls this function when aSCSIActionrequest is received that needs to be serviced by the SIM. TheSIMActionfunction must conform to the following type definition:
typedef void (*SIMActionProc) (void * scsiPB, Ptr SIMGlobals);
scsiPB- A pointer to a SCSI Manager parameter block.
SIMGlobals- A pointer to the SIM's static data storage.
DESCRIPTION
TheSIMActionfunction is responsible for handlingSCSIActionrequests directed to the SIM's bus. The XPT passes the client's parameter block to the SIM, which should then queue the request, execute it, and call the completion routine. The SIM must conform to the behavior defined for theSCSIActionfunction.In addition to supporting all client functions, the
SIMActionfunction may optionally support two requests made by the XPT,SCSIOldCallandSCSIRegisterWithNewXPT.RESULT CODES
TheSIMActionfunction returns a result code in thescsiResultfield of the parameter block. The code should be appropriate for theSCSIActionrequest being processed.