135a136
> cascadeBits = 0;
141c142
< if (master) {
---
> if (master == NULL) {
150a152
> cascadeBits = val;
152a155
> cascadeBits = val & mask(3);
183a187,200
> void
> X86ISA::I8259::signalInterrupt(int line)
> {
> DPRINTF(I8259, "Interrupt raised on line %d.\n", line);
> if (line > 7)
> fatal("Line number %d doesn't exist. The max is 7.\n");
> if (bits(IMR, line)) {
> DPRINTF(I8259, "Interrupt %d was masked.\n", line);
> } else if (master != NULL) {
> DPRINTF(I8259, "Propogating interrupt to master.\n");
> master->signalInterrupt(cascadeBits);
> }
> }
>