C# 클래스 Mosa.HardwareSystem.HardwareResources

파일 보기 프로젝트 열기: tgiphil/MOSA-Project 1 사용 예제들

공개 메소드들

메소드 설명
DisableIRQ ( ) : void

Disables the IRQ.

EnableIRQ ( ) : void

Enables the IRQ.

GetIOPort ( byte region, ushort index ) : IReadWriteIOPort

Gets the IO port.

GetIOPortRegion ( byte index ) : IOPortRegion

Gets the IO port region.

GetMemory ( byte region ) : IMemory

Gets the memory.

GetMemoryRegion ( byte index ) : MemoryRegion

Gets the memory region.

HardwareResources ( IOPortRegion ioPortRegions, MemoryRegion memoryRegions, InterruptHandler interruptHandler ) : Mosa.HardwareSystem.PCI

Initializes a new instance of the HardwareResources class.

HardwareResources ( IOPortRegion ioPortRegions, MemoryRegion memoryRegions, InterruptHandler interruptHandler, IPCIDeviceResource deviceResource ) : Mosa.HardwareSystem.PCI

Initializes a new instance of the HardwareResources class.

메소드 상세

DisableIRQ() 공개 메소드

Disables the IRQ.
public DisableIRQ ( ) : void
리턴 void

EnableIRQ() 공개 메소드

Enables the IRQ.
public EnableIRQ ( ) : void
리턴 void

GetIOPort() 공개 메소드

Gets the IO port.
public GetIOPort ( byte region, ushort index ) : IReadWriteIOPort
region byte The region.
index ushort The index.
리턴 IReadWriteIOPort

GetIOPortRegion() 공개 메소드

Gets the IO port region.
public GetIOPortRegion ( byte index ) : IOPortRegion
index byte The index.
리턴 IOPortRegion

GetMemory() 공개 메소드

Gets the memory.
public GetMemory ( byte region ) : IMemory
region byte The region.
리턴 IMemory

GetMemoryRegion() 공개 메소드

Gets the memory region.
public GetMemoryRegion ( byte index ) : MemoryRegion
index byte The index.
리턴 MemoryRegion

HardwareResources() 공개 메소드

Initializes a new instance of the HardwareResources class.
public HardwareResources ( IOPortRegion ioPortRegions, MemoryRegion memoryRegions, InterruptHandler interruptHandler ) : Mosa.HardwareSystem.PCI
ioPortRegions IOPortRegion The io port regions.
memoryRegions MemoryRegion The memory regions.
interruptHandler InterruptHandler The interrupt handler.
리턴 Mosa.HardwareSystem.PCI

HardwareResources() 공개 메소드

Initializes a new instance of the HardwareResources class.
public HardwareResources ( IOPortRegion ioPortRegions, MemoryRegion memoryRegions, InterruptHandler interruptHandler, IPCIDeviceResource deviceResource ) : Mosa.HardwareSystem.PCI
ioPortRegions IOPortRegion The io port regions.
memoryRegions MemoryRegion The memory regions.
interruptHandler InterruptHandler The interrupt handler.
deviceResource IPCIDeviceResource The device resource.
리턴 Mosa.HardwareSystem.PCI