/// <summary> /// Initializes a new instance of the <see cref="InterruptHandler"/> class. /// </summary> /// <param name="interruptManager">The interrupt manager.</param> /// <param name="irq">The irq.</param> /// <param name="hardwareDevice">The hardware device.</param> public InterruptHandler(InterruptManager interruptManager, byte irq, IHardwareDevice hardwareDevice) { if (hardwareDevice == null) { HAL.Abort("hardwareDevice == null"); } this.interruptManager = interruptManager; this.irq = irq; this.hardwareDevice = hardwareDevice; }