On Wednesday 01 November 2006 23:25, Roger Lathrop wrote: > Alessandro, > > All you should need to do to raise an IRQ in your code is: > pic_set_irq(s->irq,1); > > When the irq is serviced (in one of your ioport traps, I would assume), > knock the irq down: > pic_set_irq(s->irq,0);
No. You should use pic_set_irq_new. Otherwise your code will break on machines with multiple interrupt controllers. Paul _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel