2. THE ISCSI-l SOFTWARE INTERFACE 2.1 GENERAL INFORMATION External software can access and use the ISCSI-l firmware via DPR located RAM structures called Command RAM Areas (CMDRAM), command chaining buffers and general purpose I/O and program buffers. The CMDRAMs are described in chapter 2.2, command chaining buffers are described in chapter 2.3 and the-general perpose I/O buffers in chapter 2.4. All firmware interface structures exist twice. This is implemen- ted for easy multi processor system support. In addition in each CMDRAM, a word location is reserved for interprocessor communi- cation (access with the M68000 'TAS' instruction).
2.2 THE COMMAND RAM LAYOUT Each of the two CMDRAMs is defined as a 16 byte DPR located structure. Parameters pass through the CMDRAM on input, status or error returns, and return parameters pass after command com- pletion. CMDRAM Layout for input: Offset Size Meaning 00 W ISCSI-l Command and Target ID 02 W Command Dependent Parameter 04 L Pointer Data or Parameter block 08 L Logical Block address 12 W Logical Unit 14 W Reserved for inter-processor communi- cation CMDRAM Layout on Command completion:
Offset Size Meaning 00 W Status/Error Return Code 02 W Extended Error Message or Data after Byte I/O 04 L Pointer to Data or Return Values 08 L Unused/reserved 12 W Unused/reserved 14 W Reserved for Inter-Processor Communi- cation 2-1