Handling asynchronous interrupts in emulated systems

2003 
Disclosed herein is a method and apparatus for handling an asynchronous interrupt (110) while emulating software so that the system is in a known state when the interrupt is handled. The method includes suspending the asynchronous interrupt so that it remains pending without interrupting software execution when it arrives, then synchronizing delivery of the interrupt to an instruction (120) by issuing an exception (e.g., 264, 280). The instructions (e.g., 120) which trigger exceptions are inserted in the native code (52) at locations (e.g., 114) corresponding to original instruction boundaries (e.g., 94).
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []