C# Class Mosa.HardwareSystem.PCI.PCIDevice

Inheritance: Device, IDevice, IPCIDevice, IPCIDeviceResource
显示文件 Open project: tgiphil/MOSA-Project

Protected Properties

Property Type Description
ioPortRegionCount byte
memoryRegionCount byte
pciController IPCIController

Public Methods

Method Description
DisableDevice ( ) : void

Disables the device.

EnableDevice ( ) : void

Enables the device.

PCIDevice ( IPCIController pciController, byte bus, byte slot, byte fun )

Create a new PCIDevice instance

SetDeviceOnline ( ) : void

Sets the device online.

SetNoDriverFound ( ) : void

Sets the no driver found.

Method Details

DisableDevice() public method

Disables the device.
public DisableDevice ( ) : void
return void

EnableDevice() public method

Enables the device.
public EnableDevice ( ) : void
return void

PCIDevice() public method

Create a new PCIDevice instance
public PCIDevice ( IPCIController pciController, byte bus, byte slot, byte fun )
pciController IPCIController The pci controller.
bus byte The bus.
slot byte The slot.
fun byte The fun.

SetDeviceOnline() public method

Sets the device online.
public SetDeviceOnline ( ) : void
return void

SetNoDriverFound() public method

Sets the no driver found.
public SetNoDriverFound ( ) : void
return void

Property Details

ioPortRegionCount protected_oe property

protected byte ioPortRegionCount
return byte

memoryRegionCount protected_oe property

protected byte memoryRegionCount
return byte

pciController protected_oe property

protected IPCIController pciController
return IPCIController