diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2006-04-07 18:16:11 -0400 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2006-04-07 18:16:11 -0400 |
commit | ae1a95ed9c9aa2b3c97272570575345dc3c37799 (patch) | |
tree | 2d83df1ac20e0fdff565d545844dd7cfc283c774 /mem/port.cc | |
parent | 2609ed2a7cf736834cafcf0b07465c45dfb567e3 (diff) | |
parent | 9e3d79694ca9e204bcbfa9c197db17b581dc7a29 (diff) | |
download | gem5-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.cc | 6 |
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(); |