summaryrefslogtreecommitdiff
path: root/dev/ns_gige.cc
diff options
context:
space:
mode:
authorLisa Hsu <hsul@eecs.umich.edu>2004-07-06 17:55:16 -0400
committerLisa Hsu <hsul@eecs.umich.edu>2004-07-06 17:55:16 -0400
commit19fd3439c738e06be8c43078f520054011a385cc (patch)
tree3de960de9085589b6b0601d921647a8324282ba1 /dev/ns_gige.cc
parent151bb42173eb3f230cd5274cbf5239500757e722 (diff)
downloadgem5-19fd3439c738e06be8c43078f520054011a385cc.tar.xz
tag each mem_req as coming from the nic if it is DMA'd from the NIC. the NIC tells the DMA interface, which in turn sets a new nic_req flag in the MemReq it makes.
dev/ns_gige.cc: tell all outgoing dma events that this request is from the NIC --HG-- extra : convert_revision : 62af17a2728a0ff729e7723dc29bd0d130ca5fe3
Diffstat (limited to 'dev/ns_gige.cc')
-rw-r--r--dev/ns_gige.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/ns_gige.cc b/dev/ns_gige.cc
index c6fc5513d..f88fc507f 100644
--- a/dev/ns_gige.cc
+++ b/dev/ns_gige.cc
@@ -1199,7 +1199,7 @@ NSGigE::doRxDmaRead()
rxDmaState = dmaReadWaiting;
else
dmaInterface->doDMA(Read, rxDmaAddr, rxDmaLen, curTick,
- &rxDmaReadEvent);
+ &rxDmaReadEvent, true);
return true;
}
@@ -1251,7 +1251,7 @@ NSGigE::doRxDmaWrite()
rxDmaState = dmaWriteWaiting;
else
dmaInterface->doDMA(WriteInvalidate, rxDmaAddr, rxDmaLen, curTick,
- &rxDmaWriteEvent);
+ &rxDmaWriteEvent, true);
return true;
}
@@ -1651,7 +1651,7 @@ NSGigE::doTxDmaRead()
txDmaState = dmaReadWaiting;
else
dmaInterface->doDMA(Read, txDmaAddr, txDmaLen, curTick,
- &txDmaReadEvent);
+ &txDmaReadEvent, true);
return true;
}
@@ -1703,7 +1703,7 @@ NSGigE::doTxDmaWrite()
txDmaState = dmaWriteWaiting;
else
dmaInterface->doDMA(WriteInvalidate, txDmaAddr, txDmaLen, curTick,
- &txDmaWriteEvent);
+ &txDmaWriteEvent, true);
return true;
}