summaryrefslogtreecommitdiff
path: root/mem/port.cc
diff options
context:
space:
mode:
authorRon Dreslinski <rdreslin@umich.edu>2006-04-07 18:16:11 -0400
committerRon Dreslinski <rdreslin@umich.edu>2006-04-07 18:16:11 -0400
commitae1a95ed9c9aa2b3c97272570575345dc3c37799 (patch)
tree2d83df1ac20e0fdff565d545844dd7cfc283c774 /mem/port.cc
parent2609ed2a7cf736834cafcf0b07465c45dfb567e3 (diff)
parent9e3d79694ca9e204bcbfa9c197db17b581dc7a29 (diff)
downloadgem5-ae1a95ed9c9aa2b3c97272570575345dc3c37799.tar.xz
Merge zizzer:/z/m5/Bitkeeper/newmem
into zazzer.eecs.umich.edu:/z/rdreslin/m5bk/newmem --HG-- extra : convert_revision : 85406b562373f7d768a44a8c327055cb02d3f6c5
Diffstat (limited to 'mem/port.cc')
-rw-r--r--mem/port.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/mem/port.cc b/mem/port.cc
index fb4f3b4e0..d19d8146c 100644
--- a/mem/port.cc
+++ b/mem/port.cc
@@ -36,15 +36,15 @@
void
Port::blobHelper(Addr addr, uint8_t *p, int size, Command cmd)
{
- Request req;
+ Request req(false);
Packet pkt;
pkt.req = &req;
pkt.cmd = cmd;
for (ChunkGenerator gen(addr, size, peerBlockSize());
!gen.done(); gen.next()) {
- pkt.addr = req.paddr = gen.addr();
- pkt.size = req.size = gen.size();
+ req.setPaddr(pkt.addr = gen.addr());
+ req.setSize(pkt.size = gen.size());
pkt.data = p;
sendFunctional(pkt);
p += gen.size();