Important: The information in this document is obsolete and should not be used for new development.
SIMInit
The XPT calls this function to initialize a SIM. TheSIMInitfunction must conform to the following type definition:
typedef OSErr (*SIMInitProc) (Ptr SIMinfoPtr);
SIMinfoPtr- A pointer to a SIM initialization record, which is described on page 4-36.
DESCRIPTION
The XPT calls this function after a SIM has calledSCSIRegisterBus. Before returning from theSCSIRegisterBusfunction, the XPT calls this function to initialize the SIM. The SIM is responsible for initializing the HBA.The XPT passes a pointer to the SIM initialization record, which contains pointers to the SIM's static data storage and the required XPT entry points (
EnteringSIM,ExitingSIM, andMakeCallback).RESULT CODES
noErr 0 No error scsiNoHBA -7884 No HBA detected