C# Class Mosa.HardwareSystem.HardwareDevice

Abstract class for hardware devices
Inheritance: Device, IHardwareDevice
Afficher le fichier Open project: tgiphil/MOSA-Project

Protected Properties

Свойство Type Description
HardwareResources HardwareResources

Méthodes publiques

Méthode Description
HardwareDevice ( ) : Mosa.HardwareSystem.PCI

Initializes a new instance of the HardwareDevice class.

OnInterrupt ( ) : bool

Called when an interrupt is received.

PreSetup ( IPCIDeviceResource pciDeviceResource ) : bool

Pres the setup.

Setup ( HardwareResources hardwareResources ) : bool

Setups this hardware device driver

Start ( ) : DeviceDriverStartStatus

Starts this hardware device.

Stop ( ) : bool

Stops this hardware device.

Method Details

HardwareDevice() public méthode

Initializes a new instance of the HardwareDevice class.
public HardwareDevice ( ) : Mosa.HardwareSystem.PCI
Résultat Mosa.HardwareSystem.PCI

OnInterrupt() public abstract méthode

Called when an interrupt is received.
public abstract OnInterrupt ( ) : bool
Résultat bool

PreSetup() public méthode

Pres the setup.
public PreSetup ( IPCIDeviceResource pciDeviceResource ) : bool
pciDeviceResource IPCIDeviceResource The pci device resource.
Résultat bool

Setup() public abstract méthode

Setups this hardware device driver
public abstract Setup ( HardwareResources hardwareResources ) : bool
hardwareResources HardwareResources
Résultat bool

Start() public abstract méthode

Starts this hardware device.
public abstract Start ( ) : DeviceDriverStartStatus
Résultat DeviceDriverStartStatus

Stop() public méthode

Stops this hardware device.
public Stop ( ) : bool
Résultat bool

Property Details

HardwareResources protected_oe property

Gets or sets the hardware resources.
protected HardwareResources,Mosa.HardwareSystem HardwareResources
Résultat HardwareResources