def callback(): # print 'called' cli.specify_vm_interrupt(simulator, cli.INTERRUPT_TIMER, 1)
def specify_interrupt(): # Specify an interrupt that should be triggered after 1 cycle has passed cli.specify_vm_interrupt(simulator, cli.INTERRUPT_TIMER, 1)