发明名称 Method and system for handling interrupts during emulation of a program
摘要 A method and data processing system for emulating a program are disclosed. According to the present invention, the data processing system runs under a first operating system and emulates the execution of a program under a second operating system within a second data processing system. The data processing system includes a memory which stores at least a portion of the first operating system and an emulator comprising a plurality of routines which each emulate an instruction utilized by the first operating system. The memory further includes a simulated mass storage data area which stores at least a portion of the program and a simulated main memory data area. The data processing system further includes a processor which executes instructions within the program under the first operating system by emulation. According to the present invention, the emulator accesses instructions of the program directly from the simulated mass storage data area to minimize emulation overhead. According to a second aspect of the present invention, the data processing system further includes a cache memory comprising a number of cache lines. The routines are stored within main memory such that when the routines are mapped into the cache, a first instruction within each of the emulation routines is aligned with a different one of the cache lines. According to a third aspect of the present invention, when executing instructions within a routine of a first emulated instruction, the processor prefetches a second emulated instruction prior to completion of the first emulated instruction.
申请公布号 US5949985(A) 申请公布日期 1999.09.07
申请号 US19980052474 申请日期 1998.03.31
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 DAHL, STEPHEN A.;ENDICOTT, JOHN C.;HEYRMAN, PETER J.;KIRKMAN, R. KARL;MUSTAIN, RICHARD G.;PETERSON, JON H.
分类号 G06F9/30;G06F9/38;G06F9/455;(IPC1-7):G06F9/455 主分类号 G06F9/30
代理机构 代理人
主权项
地址