发明名称 Method and system for directing device driver to service multiple sequential interrupt requests generated by I/O device connected thereto
摘要 A system and method is provided for detecting and correcting a lost hardware interrupt generated by an input/output device in a multiple I/O port computer environment. The lost interrupt condition is caused by the simultaneous occurrence of (i) the reading and subsequent resetting of a interrupt request status bit in an I/O port by a device driver and (ii) the setting of the interrupt request status bit by an I/O device attached to the port. Because the interrupt request status bit is reset before it can be read, the device driver fails to see an acknowledgement of the previous data transmission to the I/O device, and the system encounters a deadlock condition. After a normal timeout timer expires the device driver terminates transmission of data and returns a "cancel or retry" message to the request originator. The present invention prevents a deadlock condition in this situation by providing a second timer in addition to and of significantly less duration than the normal timeout timer. Upon expiration of this additional timer, the device driver, upon satisfying a number of conditions, presumes that an interrupt has been lost, and proceeds to send the next byte of data to the I/O device, thereby preventing a deadlock condition.
申请公布号 US5530872(A) 申请公布日期 1996.06.25
申请号 US19920995685 申请日期 1992.12.23
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 SMELTZER, KENNETH D.;NEEL, II, ALAN F.;LOUIE, TIMOTHY J.-M.;SCHROEDER, FRANK J.;WARD, JAMES P.;LIN, ROBERT H.-C.;HILLIS, ROBERT G.
分类号 G06F13/24;(IPC1-7):G06F13/24 主分类号 G06F13/24
代理机构 代理人
主权项
地址