Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Devices /
Chapter 4 - SCSI Manager 4.3 / SCSI Manager 4.3 Reference
SCSI Manager 4.3 Functions / SIM Internal Functions


SIMInit

The XPT calls this function to initialize a SIM. The SIMInit function 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 called SCSIRegisterBus. Before returning from the SCSIRegisterBus function, 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, and MakeCallback).

RESULT CODES
noErr0No error
scsiNoHBA-7884No HBA detected

Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996