C# 클래스 Mosa.DeviceDriver.ISA.PCIController

상속: Mosa.DeviceSystem.HardwareDevice, IDevice, IHardwareDevice, IPCIController
파일 보기 프로젝트 열기: tgiphil/MOSA-Project

보호된 프로퍼티들

프로퍼티 타입 설명
configAddress IReadWriteIOPort
configData IReadWriteIOPort
spinLock Mosa.DeviceSystem.SpinLock

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
GetIndex ( byte bus, byte slot, byte function, byte register ) : uint

Gets the index.

메소드 상세

GetIndex() 보호된 메소드

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.
리턴 uint

OnInterrupt() 공개 메소드

Called when an interrupt is received.
public OnInterrupt ( ) : bool
리턴 bool

PCIController() 공개 메소드

Initializes a new instance of the PCIController class.
public PCIController ( ) : Mosa.HardwareSystem
리턴 Mosa.HardwareSystem

Probe() 공개 메소드

Probes for this device.
public Probe ( ) : bool
리턴 bool

ReadConfig16() 공개 메소드

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.
리턴 ushort

ReadConfig32() 공개 메소드

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.
리턴 uint

ReadConfig8() 공개 메소드

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.
리턴 byte

Setup() 공개 메소드

Setups this hardware device driver
public Setup ( Mosa.DeviceSystem.HardwareResources hardwareResources ) : bool
hardwareResources Mosa.DeviceSystem.HardwareResources
리턴 bool

Start() 공개 메소드

Starts this hardware device.
public Start ( ) : DeviceDriverStartStatus
리턴 DeviceDriverStartStatus

WriteConfig16() 공개 메소드

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.
리턴 void

WriteConfig32() 공개 메소드

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.
리턴 void

WriteConfig8() 공개 메소드

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.
리턴 void

프로퍼티 상세

configAddress 보호되어 있는 프로퍼티

protected IReadWriteIOPort configAddress
리턴 IReadWriteIOPort

configData 보호되어 있는 프로퍼티

protected IReadWriteIOPort configData
리턴 IReadWriteIOPort

spinLock 보호되어 있는 프로퍼티

protected SpinLock,Mosa.DeviceSystem spinLock
리턴 Mosa.DeviceSystem.SpinLock