C# Class Mosa.HardwareSystem.HardwareResources

Afficher le fichier Open project: tgiphil/MOSA-Project Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Disables the IRQ.
public DisableIRQ ( ) : void
Résultat void

EnableIRQ() public méthode

Enables the IRQ.
public EnableIRQ ( ) : void
Résultat void

GetIOPort() public méthode

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

GetIOPortRegion() public méthode

Gets the IO port region.
public GetIOPortRegion ( byte index ) : IOPortRegion
index byte The index.
Résultat IOPortRegion

GetMemory() public méthode

Gets the memory.
public GetMemory ( byte region ) : IMemory
region byte The region.
Résultat IMemory

GetMemoryRegion() public méthode

Gets the memory region.
public GetMemoryRegion ( byte index ) : MemoryRegion
index byte The index.
Résultat MemoryRegion

HardwareResources() public méthode

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.
Résultat Mosa.HardwareSystem.PCI

HardwareResources() public méthode

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.
Résultat Mosa.HardwareSystem.PCI