C# Class Mosa.DeviceDriver.ISA.PCIController

Inheritance: Mosa.DeviceSystem.HardwareDevice, IDevice, IHardwareDevice, IPCIController
Afficher le fichier Open project: tgiphil/MOSA-Project

Protected Properties

Свойство Type Description
configAddress IReadWriteIOPort
configData IReadWriteIOPort
spinLock Mosa.DeviceSystem.SpinLock

Méthodes publiques

Méthode Description
OnInterrupt ( ) : bool

Called when an interrupt is received.

PCIController ( ) : Mosa.HardwareSystem

Initializes a new instance of the PCIController class.

Probe ( ) : bool

Probes for this device.

ReadConfig16 ( byte bus, byte slot, byte function, byte register ) : ushort

Reads from configuration space

ReadConfig32 ( byte bus, byte slot, byte function, byte register ) : uint

Reads from configuration space

ReadConfig8 ( byte bus, byte slot, byte function, byte register ) : byte

Reads from configuration space

Setup ( Mosa.DeviceSystem.HardwareResources hardwareResources ) : bool

Setups this hardware device driver

Start ( ) : DeviceDriverStartStatus

Starts this hardware device.

WriteConfig16 ( byte bus, byte slot, byte function, byte register, ushort value ) : void

Writes to configuration space

WriteConfig32 ( byte bus, byte slot, byte function, byte register, uint value ) : void

Writes to configuration space

WriteConfig8 ( byte bus, byte slot, byte function, byte register, byte value ) : void

Writes to configuration space

Méthodes protégées

Méthode Description
GetIndex ( byte bus, byte slot, byte function, byte register ) : uint

Gets the index.

Method Details

GetIndex() protected méthode

Gets the index.
protected GetIndex ( byte bus, byte slot, byte function, byte register ) : uint
bus byte The bus.
slot byte The slot.
function byte The function.
register byte The register.
Résultat uint

OnInterrupt() public méthode

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

PCIController() public méthode

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

Probe() public méthode

Probes for this device.
public Probe ( ) : bool
Résultat bool

ReadConfig16() public méthode

Reads from configuration space
public ReadConfig16 ( byte bus, byte slot, byte function, byte register ) : ushort
bus byte The bus.
slot byte The slot.
function byte The function.
register byte The register.
Résultat ushort

ReadConfig32() public méthode

Reads from configuration space
public ReadConfig32 ( byte bus, byte slot, byte function, byte register ) : uint
bus byte The bus.
slot byte The slot.
function byte The function.
register byte The register.
Résultat uint

ReadConfig8() public méthode

Reads from configuration space
public ReadConfig8 ( byte bus, byte slot, byte function, byte register ) : byte
bus byte The bus.
slot byte The slot.
function byte The function.
register byte The register.
Résultat byte

Setup() public méthode

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

Start() public méthode

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

WriteConfig16() public méthode

Writes to configuration space
public WriteConfig16 ( byte bus, byte slot, byte function, byte register, ushort value ) : void
bus byte The bus.
slot byte The slot.
function byte The function.
register byte The register.
value ushort The value.
Résultat void

WriteConfig32() public méthode

Writes to configuration space
public WriteConfig32 ( byte bus, byte slot, byte function, byte register, uint value ) : void
bus byte The bus.
slot byte The slot.
function byte The function.
register byte The register.
value uint The value.
Résultat void

WriteConfig8() public méthode

Writes to configuration space
public WriteConfig8 ( byte bus, byte slot, byte function, byte register, byte value ) : void
bus byte The bus.
slot byte The slot.
function byte The function.
register byte The register.
value byte The value.
Résultat void

Property Details

configAddress protected_oe property

protected IReadWriteIOPort configAddress
Résultat IReadWriteIOPort

configData protected_oe property

protected IReadWriteIOPort configData
Résultat IReadWriteIOPort

spinLock protected_oe property

protected SpinLock,Mosa.DeviceSystem spinLock
Résultat Mosa.DeviceSystem.SpinLock