发明名称 System and method for simulating the I/O of a processing system
摘要 The system and method of this invention allows a simulated processor to receive an interrupt request from I/O devices. A simulated interrupt controller routine determines whether to post an interrupt to the simulated CPU. The simulated interrupt controller routine posts an interrupt to the simulated CPU by updating one byte, which is owned by the simulated interrupt controller, of a two byte halfword. The other byte is owned by the simulated CPU and is updated by the simulated CPU when its internal interrupt enabled state changes. Each byte of the two byte halfword is updated independently, but is loaded by the simulated CPU with only one instruction to determine if an interrupt should be acknowledged. The simulated CPU minimizes the overhead of polling for an interrupt by performing a graph analysis of the instruction flow of control to determine the locations to poll for interrupts. The simulated CPU polls for an interrupt when an instruction transfers control dynamically, once around a loop, and when an instruction changes the interrupt enabled state of the simulated CPU.
申请公布号 US5129064(A) 申请公布日期 1992.07.07
申请号 US19900576081 申请日期 1990.08.27
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 FOGG, JR., RICHARD G.;DE NICHOLAS, ARTURO M.;O'QUIN, III, JOHN C.
分类号 G06F13/10 主分类号 G06F13/10
代理机构 代理人
主权项
地址