diff options
Diffstat (limited to 'src/dev/dma_device.cc')
-rw-r--r-- | src/dev/dma_device.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dev/dma_device.cc b/src/dev/dma_device.cc index f84b4c311..a78819a3e 100644 --- a/src/dev/dma_device.cc +++ b/src/dev/dma_device.cc @@ -56,7 +56,8 @@ DmaPort::DmaPort(MemObject *dev, System *s) : MasterPort(dev->name() + ".dma", dev), device(dev), sys(s), masterId(s->getMasterId(dev->name())), - sendEvent(this), pendingCount(0), inRetry(false) + sendEvent([this]{ sendDma(); }, dev->name()), + pendingCount(0), inRetry(false) { } void |