Important: The information in this document is obsolete and should not be used for new development.
EnteringSIM
You use theEnteringSIM
function to inform the XPT that your SIM code is running.
void EnteringSIM();DESCRIPTION
TheEnteringSIM
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 correspondingExitingSIM
function on exit.SPECIAL CONSIDERATIONS
You get the address of this function from theEnteringSIM
field of the SIM initialization record.SEE ALSO
See "Writing a SCSI Interface Module," beginning on page 4-15, for more information about using this function.