25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: interrupt.c,v 1.12 2007/06/15 17:02:38 debug Exp $ |
* $Id: interrupt.c,v 1.13 2007/08/29 20:36:49 debug Exp $ |
29 |
* |
* |
30 |
* The interrupt subsystem. |
* The interrupt subsystem. |
31 |
* |
* |
32 |
* Interrupts have a "path", e.g. "emul[0].machine[0].cpu.5". A device which |
* Interrupts have a "path", e.g. "machine[0].cpu.5". A device which |
33 |
* wishes to cause this interrupt needs to connect to it. |
* wishes to cause this interrupt needs to connect to it. |
34 |
* |
* |
35 |
* The possible interrupt paths are registered by CPUs, interrupt controllers, |
* The possible interrupt paths are registered by CPUs, interrupt controllers, |
76 |
* Add an interrupt handler to the interrupt subsystem. The 'template' |
* Add an interrupt handler to the interrupt subsystem. The 'template' |
77 |
* needs to have all members set. |
* needs to have all members set. |
78 |
* |
* |
79 |
* Name is of the form "emul[0].machine[0].cpu[0].irq[3].isa[14]" etc. |
* Name is of the form "machine[0].cpu[0].irq[3].isa[14]" etc. |
80 |
* |
* |
81 |
* If there already is a handler with this name, the emulator aborts. |
* If there already is a handler with this name, the emulator aborts. |
82 |
*/ |
*/ |