Property | Type | Description | |
---|---|---|---|
configAddress | IReadWriteIOPort | ||
configData | IReadWriteIOPort | ||
spinLock | Mosa.DeviceSystem.SpinLock |
Method | 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
|
Method | Description | |
---|---|---|
GetIndex ( byte bus, byte slot, byte function, byte register ) : uint |
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. |
return | uint |
public PCIController ( ) : Mosa.HardwareSystem | ||
return | Mosa.HardwareSystem |
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. |
return | ushort |
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. |
return | uint |
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. |
return | byte |
public Setup ( Mosa.DeviceSystem.HardwareResources hardwareResources ) : bool | ||
hardwareResources | Mosa.DeviceSystem.HardwareResources | |
return | bool |
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. |
return | void |
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. |
return | void |
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. |
return | void |
protected IReadWriteIOPort configAddress | ||
return | IReadWriteIOPort |