beautypg.com

Figure10.4 multithreaded scripts example step 2, Multithreaded scripts example step 2, Figure 10.4 – Avago Technologies LSI53C1010 User Manual

Page 242

background image

10-6

Multithreaded I/O

Figure 10.4 Multithreaded SCRIPTS Example Step 2

Table0 has the nexus information about any previously negotiated
synchronous transfer period and offset. It also contains the SCSI ID
of the target device. Clock divider information for the SCNTL3
register is also included in this table. The operating system builds the
command and other buffer information into this table prior to starting
this I/O.

3.

The SCRIPTS instruction moves the address of the IO_requestX into
the schedule_nop SCRIPTS destination address field.

This allows the multithreaded SCRIPT instruction to write a NOP into
the io_requestX location in the scheduler to indicate that the I/O has
started. See

Figure 10.5

.

Host Memory

0

0

0

cmd_byte_count

command_address

SCNTL3

device id

synch period

DSA

table0:

table0_ptr

Host Memory

;Scheduler SCRIPT code

scheduler:

SCRIPTS Processor

entry0:

MOVE MEMORY 4, PATCH_addr_of_table0_ptr, PATCH_chip_physaddr+DSA

This manual is related to the following products: