EnteringSIMYou use the
EnteringSIMfunction to inform the XPT that your SIM code is running.
EnteringSIMfunction 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
ExitingSIMfunction on exit.
SPECIAL CONSIDERATIONSYou get the address of this function from the
EnteringSIMfield of the SIM initialization record.
SEE ALSOSee "Writing a SCSI Interface Module," beginning on page 4-15, for more information about using this function.