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 Support Functions


You use the EnteringSIM function to inform the XPT that your SIM code is running.

void EnteringSIM();
The EnteringSIM function informs the XPT that subsequent code is not reentrant and instructs the Virtual Memory Manager to defer execution of VBL tasks, Time Manager tasks, completion routines, and any other code that could cause a page fault. A SIM must call this function whenever its code begins executing and call the corresponding ExitingSIM function on exit.

You get the address of this function from the EnteringSIM field of the SIM initialization record.

See "Writing a SCSI Interface Module," beginning on page 4-15, for more information about using this function.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996