public DmacProcessor(Memory memSrc, Memory memDst, int baseAddress, IAction interruptAction) { this.memSrc = memSrc; this.memDst = memDst; this.interruptAction = interruptAction; this.completedAction = new CompletedAction(this); dmacThread = new DmacThread(this); dmacThread.Name = string.Format("Dmac Thread for 0x{0:X8}", baseAddress); dmacThread.Daemon = true; dmacThread.Start(); }
public virtual void setFlushAction(int value, IAction action) { flushActions[value] = action; }
public SchedulerAction(long schedule, IAction action) { this.schedule = schedule; this.action = action; }