Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HardwareResources"/> class.
 /// </summary>
 /// <param name="resourceManager">The resource manager.</param>
 /// <param name="ioPortRegions">The io port regions.</param>
 /// <param name="memoryRegions">The memory regions.</param>
 /// <param name="interruptHandler">The interrupt handler.</param>
 /// <param name="deviceResource">The device resource.</param>
 public HardwareResources(IOPortRegion[] ioPortRegions, MemoryRegion[] memoryRegions, InterruptHandler interruptHandler, IPCIDeviceResource deviceResource)
 {
     this.ioPortRegions = ioPortRegions;
     this.memoryRegions = memoryRegions;
     this.interruptHandler = interruptHandler;
     this.DeviceResource = DeviceResource;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HardwareResources" /> class.
 /// </summary>
 /// <param name="ioPortRegions">The io port regions.</param>
 /// <param name="memoryRegions">The memory regions.</param>
 /// <param name="interruptHandler">The interrupt handler.</param>
 public HardwareResources(IOPortRegion[] ioPortRegions, MemoryRegion[] memoryRegions, InterruptHandler interruptHandler)
 {
     this.ioPortRegions = ioPortRegions;
     this.memoryRegions = memoryRegions;
     this.interruptHandler = interruptHandler;
 }