发明名称 METHOD FOR IMPROVING SCSI OPERATIONS BY ACTIVELY PATCHING SCSI PROCESSOR INSTRUCTIONS
摘要 A method for improving SCSI controller operations by actively patching SCSI processor instructions. In a first case, tag values assigned to queues for tagged queue operation are a multiple of the SCSI processor jump instruction length. When reselected, the tag value is patched or overwritten as the least significant byte of the address of a jump instruction. The upper bytes point to the beginning of a jump table. Each entry in the jump table is a jump instruction to the sequence for a particular queue or thread. Thus simple entry is made to the desired thread without a conditional branch tree. In a second case, special SCSI operations are directly handled by the host device driver and the SCSI processor only performs conventional data transfers and similar operations. The device driver patches the message length of the SCSI processor code to an illegal value, so that an illegal instruction develops, prompting the host device driver to perform the operation at a register level. This approach allows removal of all special operation conditional branching from the SCSI processor, greatly speeding up operations.
申请公布号 WO9408298(A3) 申请公布日期 1994.07.21
申请号 WO1993US09363 申请日期 1993.09.29
申请人 COMPAQ COMPUTER CORPORATION 发明人 GALLOWAY, WILLIAM, C.
分类号 G06F13/12 主分类号 G06F13/12
代理机构 代理人
主权项
地址