C# 클래스 Mosa.HardwareSystem.HardwareDevice

Abstract class for hardware devices
상속: Device, IHardwareDevice
파일 보기 프로젝트 열기: tgiphil/MOSA-Project

보호된 프로퍼티들

프로퍼티 타입 설명
HardwareResources HardwareResources

공개 메소드들

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

메소드 상세

HardwareDevice() 공개 메소드

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

OnInterrupt() 공개 추상적인 메소드

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

PreSetup() 공개 메소드

Pres the setup.
public PreSetup ( IPCIDeviceResource pciDeviceResource ) : bool
pciDeviceResource IPCIDeviceResource The pci device resource.
리턴 bool

Setup() 공개 추상적인 메소드

Setups this hardware device driver
public abstract Setup ( HardwareResources hardwareResources ) : bool
hardwareResources HardwareResources
리턴 bool

Start() 공개 추상적인 메소드

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

Stop() 공개 메소드

Stops this hardware device.
public Stop ( ) : bool
리턴 bool

프로퍼티 상세

HardwareResources 보호되어 있는 프로퍼티

Gets or sets the hardware resources.
protected HardwareResources,Mosa.HardwareSystem HardwareResources
리턴 HardwareResources