Mosa.HardwareSystem.InterruptHandler.InterruptHandler C# (CSharp) Method

InterruptHandler() public method

Initializes a new instance of the InterruptHandler class.
public InterruptHandler ( InterruptManager interruptManager, byte irq, IHardwareDevice hardwareDevice )
interruptManager InterruptManager The interrupt manager.
irq byte The irq.
hardwareDevice IHardwareDevice The hardware device.
        public InterruptHandler(InterruptManager interruptManager, byte irq, IHardwareDevice hardwareDevice)
        {
            if (hardwareDevice == null)
                HAL.Abort("hardwareDevice == null");

            this.interruptManager = interruptManager;
            this.irq = irq;
            this.hardwareDevice = hardwareDevice;
        }