C# Class Mosa.HardwareSystem.HardwareResources

Datei anzeigen Open project: tgiphil/MOSA-Project Class Usage Examples

Public Methods

Method Description
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.

Method Details

DisableIRQ() public method

Disables the IRQ.
public DisableIRQ ( ) : void
return void

EnableIRQ() public method

Enables the IRQ.
public EnableIRQ ( ) : void
return void

GetIOPort() public method

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

GetIOPortRegion() public method

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

GetMemory() public method

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

GetMemoryRegion() public method

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

HardwareResources() public method

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.
return Mosa.HardwareSystem.PCI

HardwareResources() public method

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.
return Mosa.HardwareSystem.PCI