|
|
The poll(D2osdi) routine of the Sram driver is used to synchronize the driver with the simulated hardware. In most hardware host adapater drivers, this functionality is coded into the intr(D2osdi) routine.
The Srampoll( ) routine will be called for every clock tick. If a scsi_io_req(D4osdi) command block has been passed to the Sram_entry( ) routine, Srampoll( ) calls Sramintr( ) on the next clock tick.