C# Class Mosa.HardwareSystem.InterruptManager

The Interrupt Manager dispatches interrupts to the appropriate hardware device drivers
Exibir arquivo Open project: tgiphil/MOSA-Project

Protected Properties

Property Type Description
interruptHandlers LinkedList[]
spinLock SpinLock

Public Methods

Method Description
AddInterruptHandler ( byte irq, IHardwareDevice hardwareDevice ) : void

Adds the interrupt handler.

InterruptManager ( ) : System.Collections.Generic

Initializes a new instance of the InterruptManager class.

ProcessInterrupt ( byte irq ) : void

Processes the interrupt.

ReleaseInterruptHandler ( byte irq, IHardwareDevice hardwareDevice ) : void

Releases the interrupt handler.

Method Details

AddInterruptHandler() public method

Adds the interrupt handler.
public AddInterruptHandler ( byte irq, IHardwareDevice hardwareDevice ) : void
irq byte The irq.
hardwareDevice IHardwareDevice The hardware device.
return void

InterruptManager() public method

Initializes a new instance of the InterruptManager class.
public InterruptManager ( ) : System.Collections.Generic
return System.Collections.Generic

ProcessInterrupt() public method

Processes the interrupt.
public ProcessInterrupt ( byte irq ) : void
irq byte The irq.
return void

ReleaseInterruptHandler() public method

Releases the interrupt handler.
public ReleaseInterruptHandler ( byte irq, IHardwareDevice hardwareDevice ) : void
irq byte The irq.
hardwareDevice IHardwareDevice The hardware device.
return void

Property Details

interruptHandlers protected_oe property

protected LinkedList[] interruptHandlers
return LinkedList[]

spinLock protected_oe property

protected SpinLock,Mosa.HardwareSystem spinLock
return SpinLock